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 skat on
Hi,
I would like that the links "create new account" have a nofollow attribute, How can i do that?
Thank you very much!
Comments
You can use Theme Developer
You can use Theme Developer module to check which preprocess function and which theme were used to render that link. After that you can override one of those to do that.
--
JAnez
Without using Theme
Without using Theme developer, is there any other possibility??
Thanks!
Preprocess
Preprocess theme_menu_item_link() does that and candidates for theme are theme_menu_local_task and theme_menu_local_tasks AFAIK.
--
JAnez