Closed (fixed)
Project:
Lost & found issues
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
21 Jul 2006 at 07:20 UTC
Updated:
21 Nov 2017 at 16:31 UTC
Jump to comment: Most recent
Is there a way to do this? I cannot find it anywhere!
The primary links are displayed by default as:
Link 1 | Link 2 | Link 3 | Link 4
I want to get them to be:
Link 1 Link 2 Link 3 Link 4
Even better still, I would like to know how to make the primary links an
Comments
Comment #1
unrev.org commentedIt was meant to say that I wanted to get the primary links to be displayed as an "ul".
Comment #2
rkerr commentedYou can try changing theme('links', $primary_links) to theme('item_list', $primary_links).
Or, I have seen someone else do this before:
Add
afterwards.
Then change the theme('links' .. ) call to be theme('links', $primary_links, '
and that should wrap the items properly.
Comment #3
logictude commentedIn case you didn't see http://drupal.org/node/44708. It's got a very specific example that should suit your needs.
Comment #4
rkerr commentedComment #5
(not verified) commentedComment #6
unrev.org commentedThanks for the feedback. The link was very helpful.
Comment #7
markhalliwell