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.
Hi,
in a block I have created menus with php code.
Is there a way to add activemenu support with those hand made menus ? How ?
Thanks
Comments
Comment #1
Julien PHAM CreditAttribution: Julien PHAM commentedMmm I have read the README about how to add our own activemenus.
I have build some menus myself in php, but not with the drupal menu functions, just by using html code.
Is it still possible then to add activemenus?
Thanks
EDIT : here is the code of my block :
Comment #2
nedjoYes. You need to put your custom menu in a module and follow the steps in the README.