Do not link to the page we are currently on
Is this a generally accepted concept that links on a page should never go to that page itself?
Found this: "No link in a menu should simply reload the page itself"
http://www.webmasterworld.com/forum21/3705.htm
How to do it:
Menu System - Drupal API
http://api.drupal.org/api/group/menu/7
theme_menu_link
http://api.drupal.org/api/function/theme_menu_link/7
No good. And a little bit extra of a dead end because, being a theme function that is actually called by theme('menu_link')
(so that themename_menu_link
can potentially intercept it) rather than theme_menu_link
means that API module (which powers api.drupal.org) cannot do its usual magic of telling us where in Drupal this function is used.
We could search for it in the code ourselves, but let's take
Comments
Post new comment