[themes] replace pipe characters in Primary links
navigation?
Richard Archer
drupal.org at juggernaut.com.au
Tue Dec 27 03:01:51 UTC 2005
At 3:42 PM -0800 26/12/05, Isaac Horton wrote:
>Im trying to remove the pipe characters from the primary links navigation.
>i realize that i could go into the core and change it there no problem.
In 4.7 you can have your theme call theme('menu_links', $links)
which will return the links in a <ul>. You can then apply styles
to that as required.
In 4.6 it's a bit harder... you need to iterate over the $links
array yourself and output the HTML you want. There are plenty
of examples of this in contrib themes. Argeebee does this:
http://cvs.drupal.org/viewcvs/drupal/contributions/themes/argeebee/page.tpl.php?rev=1.2&view=markup
...Richard.
More information about the themes
mailing list