准备在Drupalcon Denver上介绍Drupal中国社区
我为明年3月Drupalcon Denver准备的演讲,希望大家支持。
http://denver2012.drupal.org/program/sessions/drupal-community-china
D7 Form 处理execute_handlers的逻辑错误以及解决办法
问题:
当通过表单HOOK向表单#submit项中添加新的处理函数时,该函数无法获得$node的完整数据(包含$node_id)?
而事实上,由于在全局中$form_state都是引用的,每个表单默认的#submit项为第一个处理函数,也就是说该函
数处理完成后,根据处理流程,接下来#submit项添加的处理函数应该可以获得上一个函数执行后的结果。
而实际情况并非如此,排在#submit项第一个后面的函数会先开始执行,而且不是由form.inc来控制的,而是在
node.page.inc中,由node_form_submit();函数来执行,导致顺序颠倒,后面的函数失去意义。且该执行流程逻
辑错误。所有#submit指定项都应该由form_execute_handlers();来操作执行,而不是node_form_submit();
form_execute_handlers();判断需要执行的$handlers部分时,逻辑错误.
if (isset($form_state[$type . '_handlers'])) {
$handlers = $form_state[$type . '_handlers'];
}
// Otherwise, check for a form-level handler.
Shanghai Group Admin
I would like to request the Shanghai Group Admin access in order to re-organize the group layout and kill spams. The current group layout features the job opening in the center, but I'd like to make it less prominent; instead, we will put group discussion and meetups in the center areas.
I have requested the access from Francis Pilon, manager admin listed on this group. But, he wanted me to send the request to hunvreus. Please see the emails between Francis and me:
<
blockquote>
Read moreVisiting Shanghai soon, hoping to meet up
Hello everyone, I'm a Drupal developer from New York. Rather than formally introduce myself, you can look at my profile for more information about me :)
Mid-May and June I'll be visiting China. I'll mostly be in the Beijing area, but I'll be visiting Shanghai at some point, and while there I'd like to meet some fellow Drupalers! I'm also interested in the job scene out there...
I'm more interested in finding Beijing Drupalers but they appear harder to pin down... http://drupalchina.org/ is currently down...
Thanks everyone, I look forward to hearing from you!
Read moreDrupal hosting for a Chinese site?
Hi,
I am looking for a web hosting service for a Drupal 7 dev and live environment for a chinese web site, so
preferably hosted somewhere in Asia, recommendations anyone?
Thanks,
Daniel
Could use some help from someone in town
Basically, I'm trying to add a hook form alter to a search for a real-estate site. basically, the form would be Location, # beds, # baths & Price From X amount to X amount. The Price is what I'm having trouble with. Never had to worry about ranges before. Anyone know how to handle this?
Read moreDrupal Shanghai IRC discussion channel
@group organizers: Please add a short note with group description that shanghai irc channel is available. everyone is encouraged to join and discuss some drupal!
Channel is : #drupal-shanghai
Q: What is IRC and how to i get there?
A: Please see this page for information how to get started: http://drupal.org/irc/setting-up
I encourage everyone to join. Especially Chinese speakers (seems only appropriate :-p), as personally i do not speak Chinese (yet) and will not be able to answer questions for newcomers.
Read moreAny of you able to match IP address to City in China with modules such as geouser?
Hey all of you in China...
I thought this might be the best way to start a discussion on our websites in China being able to find a user's location. I have seen many sites in China such as websites with classifieds, real-estate, etc. that automatically know that you are in Shanghai, Beijing, Guangzhou, etc. However, with Drupal, I have never been successful at doing so.
Read moreQQ group! 41851323 . welcome you join to this group
Could we have monthly or bimonthly Drupal Meetup in Shanghai?
I have a newcomer and fan of Drupal. I am wondering whether it is possible to have monthly or bimonthly Drupal Meetup in Shanghai, China?
Justin
Read moreXi'an Drupal Fun Group is live!
If you are in Xi’an and are interested in Drupal? The new Xi'an Drupal Fun Group is for you. Here we'll talk about the ins and outs of Drupal development on small teams: the tools we use, how we set up our workflows, dealing with clients, and more. Please help us spread the word and create a valuable resource for Xi'an Drupalistas.
Regards,
Puzhao Hu
Read moreRound the world
Noticed Dries is looking for places to meet the Drupal community and mentioned Beijing. It might be cool to try and convince him to come to Shanghai for a meetup?
Read moreFeedback for Unolens.com
I'm a drupal web developer located in shanghai and just release a beta version of http://www.unolens.com, kindly give us your opinion and critique to help us improve.
Thanks in advance.
Jason
Drupal Talk
I am living in Shanghai and looking to make some Drupal connections. Basically, looking to talk Drupal and extend my knowledge base. I know there are occasional meetups but if anybody feels like going for a coffee or beer and talking Drupal let me know.
Read moreDrupalCon Beijing ... A Wildcard
Ok it's time to come out of shell: we are on the verge of securing “Beijing IT Developer Conference Week”.
It will provide free-of-cost to following:
1. A 2,000-3,000 square meter, conference venue, with main pavilion and partitioned classrooms
2. Linguistic support, with instantaneous translations and headsets
3. Sound/video equipment, personnel and recording
4. Security/attendants
5. Internet connection
Caveats:
1. Timing has to be either April, or July of 2010
亚太DrupalCon会议组织者邀请您们来参加
我们很兴奋地宣布成立亚太DrupalCon会议组织者小组。亚太DrupalCon会议组织者计划打好基础来促进在亚太地区召开Drupal国际会议(DrupalCon)。
亚太DrupalCon会议组织者欢迎Drupal使用者及社群参与,並需要大家提供意见和协助。DrupalCon会议工作繁重,只有通过大家的努力,才有可能实现完成。请您们参加亚太DrupalCon会议组织者小组,分享您们的看法和经验、志愿献出您们的时间、或者是自我提名或提名他人来负起遴选工作组的任务。
亚太DrupalCon会议组织者将较后宣布呼吁民众对第一届亚太DrupalCon会议的地点,提出建议及加以研究。我们也注意到要花很多的时间去调查研究各地点。亚太DrupalCon会议组织者遴选小组只能严格地考虑各地点,必须具有适合的会议地点、日期、会议管理公司、财政估算、可能参加会议人士以及有激励的当地小组成员,共同配合起来。
不过,首先须有尽多的亚太Drupal社群共同参与涉入。您们可以通过翻译及另外登载此通告在其他亚太Drupal使用者及社群有机会看到的网址。请勿忘了去 注意亚太DrupalCon会议组织者小组的任何翻译及转载,以便我们能够观察到进展情况,同时大家也能相互分享交流译文。
Read moreDrupalCon Asia-Pacific Organizers Invite You to Participate
We are excited to announce the DrupalCon Asia-Pacific Organisers group. DCAPO intends to lay foundations that will facilitate international Drupal Conferences (DrupalCons) in the Asia-Pacific region.
DCAPO welcomes and needs input and assistance from Drupal users and communities throughout the Asia-Pacific region. DrupalCons are a lot of work, and are only possible through the community's effort. Please join the DCAPO group to share your opinions and experience, volunteer your time, or nominate yourself or others for roles on the selection team.
DCAPO will later announce a call to the community to suggest and research locations for the first Asia-Pacific DrupalCon. Note that a lot of work goes into researching locations. The DCAPO selection team will only be able to seriously consider locations with suitable venues, dates and event management companies, financial estimates, potential audience and motivated local teams.
But first, as much of the Asia-Pacific Drupal community as possible needs to get involved. You can help by translating and reposting this announcement on other websites where Asia-Pacific Drupal users and communities are likely to find it. Don't forget to note any translations and reposts in the DCAPO group so that we can track progress and share translations with each other.
Read moreDrupal folks in Beijing?
Any Drupal folks living/working/visiting Beijing?
Does a Beijing Drupal User Group exist?
Any interest in such?
Cliff
Read moreGet a free Drupal/jQuery book
Manning Publications, the publisher of titles such as Drupal in Action
http://www.manning.com/gildesgame/
and jQuery in Action
http://www.manning.com/bibeault2/
have a user group review program. If you'd like a free copy of one of these books you can register here:
http://www.manning.com/ugprogram/
New Drupal Book : Drupal 6 Site Blueprints
<
blockquote>Bad news is always good news for the press. And so Vaughan Pyre has decided to take advantage of this and create a web site that will aggregate bad news and weird happenings from all over the world. The content of the site will be entirely derived from RSS feeds from several sources; each feed being automatically fetched and its items displayed as individual articles on the web site. Vaughan's intention is to create a lot of self-updating web sites which he intends to populate with Google ads for site users to click and click so that he can make a lot of money.
Read more












