Closed (fixed)
Project:
Drupal core
Component:
theme system
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
27 Mar 2005 at 19:52 UTC
Updated:
23 Nov 2005 at 17:00 UTC
wouldn't it be handy to have BEGIN/END-tags for {secondary_links} and {primary_links} in the xtemplate-syntax?
i'm working on a minimalist template and i'd like to wrap primary- and secondary-links in some div-tags so i can apply a style to it. the problem is, when i switch off the links in themes -> configure -> toggle display i still have the (now empty) div-tags in the page's sourcecode. this doesn't affect the rendering of the page (at least with firefox) however i think it's unnecessary and i'm not to sure, wheter this would cause displayproblems with ms internet explorer.
and after all, isn't it unvalid xhtml to include empty tags? (also not sure about that...)
Comments
Comment #1
Bèr Kessels commentedIn HEAD we render the links from the menus. The LI/UL generation was rewritten too. This issue is fixed in HEAD AFAIK.
Comment #2
(not verified) commented