Still on Drupal 7? Security support for Drupal 7 ended on 5 January 2025. Please visit our Drupal 7 End of Life resources page to review all of your options.
Is it possible to display the $breadcrumb variable from within a block? I have tried using the variable '$breadcrumb' in an existing block but nothing shows up. I guess this only works when called from page.tpl.php?
I am the webmaster of an interactive news portal where aggregator2 is an integral module. I am trying to make the transition from Drupal 4.6.5 to 4.7 (the themes are so much better) but I can't until aggregator2 works with 4.7. There is not currently an official 4.7 version of aggregator2 released but the cvs version does have some edits to make it ready for 4.7. Right now, the agggregator2 module works well but it is not generating blocks with the titles of the feed items. Does anyone know how to fix this? Thanks!
I have a simple question. In fact it is so simple that I am very surprised not to have found the answer anywhere in the forums. I just need to know how to get the result of a form_select when multiple selections are allowed.
Normally the answer would be $node->name_of_my_form_element but that doesn't make sense in this case because there must be multiple values. I tried $node->name_of_my_form_element[$i] as well, and this does not yield results.
I'm very new to module dev in Drupal. I've used hook_form to create my custom fields and one button. I need the button to execute a function defined in the module when it's clicked. Can someone show me how to do this?
How can I give a role the rights to edit every node of a node type without enabling 'administer nodes' in access control? My intent is to allow some roles administrative rights over specific node types (ie: a flexinode type) without giving them universal node editing rights. Out of the box Drupal only allows a role without 'administer nodes' rights to edit its own nodes rather than all nodes of a type.