See the Mailing lists or Drupal Issue queue. There are also various working groups on groups.drupal.org

FAPI 3 - hook_validate and hook_submit parameters

After reviewing the code in the form.inc (of Drupal 6 - FAPI3) to understand the life cycle of the form retrieval, processing, validating(redisplaying with errors if not validated), submitting and finally redisplaying the form if it is a multi-step form, I almost understood the whole process except that the number of parameters passed to the form_id_validate and the form_id_submit functions.

To reiterate what I understood (correct me if I am wrong) when you call the drupal_get_form with some additional parameters ($param1, $param2) that you want to be passed to the form_id function and lets assume that there will be additional default parameters ($def1, $def2) that will be passed from within the hook_forms. This makes the function definitions as the following:

Form Retrieval Phase:
form_id(&$form_state, $def1, $def2, $param1, $param2, any other additional params from the path....)
module_form_alter (&$form, &$form_state, $form_id)
module_form_id_form_alter (&$form, &$form_state)

Form Validation Phase:
form_id_validate ($form, &$form_state)

Form Submitting Phase:
form_id_submit ($form, &$form_state)

Rss feed not working

Hi,

I've installed Drupal 6.1 and I'm trying to access the rss feed for my site either by /?=node/feed or /node/feed but I only get 'page not found' messages.
What am I missing? I've browsed around and can't seem to find the anwser. It's probably something silly...

Thanks in advance.

~Nda

Drop down menus in Drupal

I saw a showcase website with drop down menu options and was wondering if anyone knew what add on this was. Also does the add-on automatically generate the drop down menu options?

We are small town just outside of Arizona and are considering Drupal for our intranet. Any help would be greatly appreciated.

Thanks

Path_to_theme function problem in drupal6

I try to use path_to_theme function in drupal6, to show the image in my theme, but wen i use it always get strang problem, some page display wrong, like forum front page display empty page, but there have some containers and forums, when an enable the path_to_theme, use 'sites/all/themes/mytheme/" instead of it, the forum fornt page works, i don't know why get this error, it's a bug for drupal6?
i hope some body can help me about this.

Views and Taxonomy

Hi,

how to use taxonomy terms in the views 1.2 module?

I want to build views in drupal 6.x with views 1.2 that are dependent on the taxonomy terms.

I think that taxonomy has disappeared in the filter keywords since views 1.2...

Thanks!

disable blocks on edit/add page

hi,

how to disable blocks on node edit/add page? Let's say i dont want the left and right sidebar show up on the node edit/add page, how to do it?

I tried to remove the region variables from the page-add.tpl.php and page-edit.tpl.php. It visiually removed the blocks in the region.

However, as i tested, the backgroud still called the block functions and do the calculation, but just did not attach the output to the final page output. There might be significant performance implication.

Pages

Subscribe with RSS Subscribe to RSS - Deprecated - Drupal core