Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
By RobCair on
Dear Drupal Users
Is it possible to hide all navigation objects amnd menus using php code on my page? If possible, I would rather do this than using the Administer/Blocks option.
With Thanks
Rob
Comments
on one specific page ? or
on one specific page ? or all pages ? please clarify.
If on all pages, you may just be able to remove the regions in template.php , or design a template.php with no side bar regions.
Specific pages only
It would be for a group of pages that I am using to interface to a members' database. The members ID in the database is the same as the Drupal user ID. I want to keep the interface in Drupal so that I can pass the user ID securely across to the database query.