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

About Drupal call back mapping

Please someone can explain about Drupal call back mapping with good example, now I am a little bit confused about it.

Thanks in advance

Views

Hi there!

I would like to have a list, which is given from me and that the user can filter the list without seeing terms where no articles were written to. I thought the module views would be able to do this, but now I am getting no further. It would be cool to do this via the views module but another solutions would be also great.

Example: fixed in the menu are: fruit, apple & cherry

Fruit

-apple
(Article)
(Article)
(Article)

-cherry

status of hook_submit() in drupal 6

Can anybody explain why hook_submit() is no longer called by the node module during form submission? I.e down at the bottom of node_submit(), the following code used to be there:

node_invoke($node, 'submit');

but it looks like it was removed back in May. Since it was removed so long ago I'm assuming it wasn't just a mistake; is there a new best practice for handling what used to be handled by hook_submit()?

Developer releases -- release early, release often

Proposal: the current core development cycle is releasing a stable (for example Drupal 5), opening up HEAD, hacking for N months and then releasing the next stable (Drupal 6) meanwhile 5.1, 5.2 etc gets released for bugfix. I propose that during the hacking period we do developer releases from time to time, maybe every two weeks, once there is something new that somewhat works. So there will be occassionally Drupal 6.x bugfix releases and more often Drupal 7.x unstable releases.

A few scenarios that might happen:

  • Someone grabs a contrib module and try to update it. Currently it seems like a waste and impossible because HEAD is always changing. It still will be a waste somewhat because surely Drupal 8 (stable) and Drupal 7.3 (developer release) will be different API wise but not all effort is wasted and if some API does not work out for you, here is the chance to voice your concerns. The next "multistep node form" problem maybe won't need three releases to make easy...
  • A consultant might want to do this because then she has a competitive edge -- honestly can tell her clients that she is already getting ready for Drupal 8. Currently noone can say that unless she is actually patching HEAD.

Customized search - retrieving hook_form_altered checkboxes in 'search' $op

I'll preface this by saying that I've looked at the fastsearch module and it seems to say that the search module is a requirement, that it's not installed, and the search module doesn't appear for me on the administer modules to add it - though all the search functionality is there in the site.

So I'm currently writing a customized search that will filter out search results (in this case anecdotes) depending on checkboxes. I've altered the search form to add 2 checkboxes... one to show PG-13 content, the other to show R. By default I'm looking to to show only PG rated anecdotes.

function pgsearch_form_alter($form_id, &$form) {
if ($form_id == 'search_block_form' || $form_id == 'search_theme_form' || $form_id == 'search_form') {
$options = array(
'PG13' => t('Show PG-13'),
'R' => t('Show R') );
$form['boxes'] = array(
'#title' => t('Filters'),
'#type' => 'checkboxes',
'#description' => (t('Please check to add to your search.')),
'#options' => $options,
'#weight' => 25
);
}
}

pagetitle/h1 SEO

Hi, I have a problem with SEO. The page title (h1-tag) and the page titlebar being the same. Since google is really into having some of the keywords in the page titlebar but doing this it would look really ridiculous having them stacked in the h1 tag. And I dont really care for using the global pagetitle for this since I dont want all my important keywords on all pages since they are not relevant for every page.

Pages

Subscribe with RSS Subscribe to RSS - Deprecated - Drupal core