Fragment Identifiers in URLs allow for links to take users directly to the part of a page that is relevant.
In Drupal's configuration pages, there are often a lot of different configuration options and the options specific to a module are nested within a system configuration page. It would make Drupal more user friendly if configure links from the module list took people to the relevant section of a page.
At present, if I add a Fragment Identifier in a configure link in a .info file, such as:
configure=admin/config/people/accounts#edit-nocurrent-pass-settings
the link will render with the last path fragment missing. In this case it only gives me
http://example.com/admin/config/people
The expected behavior would be to take me to:
http://example.com/admin/config/people/accounts#edit-nocurrent-pass-sett...
I believe this is an issue with the l() being applied directly to the configure link. I am tempted to go in and provide a patch, but I'd like to hear from people as to whether they think making a patch for this would be a good idea first and if there was a definitive reason why configure links in .info files don't currently support Fragment Identifiers in Drupal.
Comments