English 中文(简体)
“破产方式”到izar步骤?
原标题:The "Drupal way" to Wizard Steps?

Im在Droupal从事一个多页形式的习俗模块的工作,我希望看到步骤。

步骤1 >

《商业规则》:

  • they always see all the steps, and the step they are on now
  • they can go back to any step they completed
  • but they can t skip ahead to a step, say step 2 if they didn t finish step 1

Q1 : What s the best/ most Drupal-correct or Drupal-intuitive way to implement this?

我只看一看一小点,发现:“Thimble

Q2 : Is this a good option ? It looks like they are using the hook_menu system here ( MENU_LOCAL_TASK ) - how would I prevent the user from skipping ahead to steps?

最佳回答

这样做的另一个途径是功能不一。 See See See

http://www.benjeavons.com/multi-step-forms-drupal-6-using-variable-functions (D6) http://growingventuresolutions.com/blog/drupal-7-multistep-forms-using-variable-functions (D7)

你们也可以使用黑色工具中的izar子,尽管我从未使用过这一方法。

问题回答

There is a module called webform which I believe provides this functionality out of the box. You could use a webform node to implement your multi step form, then handle the submission in your module.





相关问题
Drupal Multi-language: Simple strings not translated

I m adding additional languages to a Drupal site that I m building. Getting the translation of content working is fairly easy using the Internationalisation module. Yet, simple things such as date ...

Setting up a WYSIWYG editor for Drupal site users [closed]

Looking through the Drupal contrib modules, and after a few Google searches, it becomes evident that there are any number of choices and combos available to set up a WYSIWYG editor in Drupal. I m ...

Change size of user/password login box

I don t know how to change the size of the login username/password boxes on the drupal site that I m trying to build. I m stumbling through the theming, and don t know where to find the file that ...

How does Drupal provide an edit/review/publish model?

How does Drupal support a means to update and review a website before it is published? Does it only allow you to preview a page at a time before you publish it or is there a way to create a site ...

Term for rotating header

I m looking for terminology that describes this behavior: The header of a web-page contains a different image every time you visit it. Update: It is not an advertisement, but images related to the ...

Has anyone checked out Drupal 7? [closed]

Has anyone checked out a copy of Drupal 7 yet? What do people think? I m pretty excited about the PDO and all of the designers I work with a very excited about the new admin interface/structure. Do ...

热门标签