By arthurhanlon on
Well I've finally jumped in and started my first template after a long time reading...reading and more reading and, coming from a Joomla background, I just can't get my head around what the Primary and Secondary links are in Drupal. Are they module positions? And am I right in thinking that you could technically create another level called "3rd Tier Links"? Or, Have I got it drastically wrong :s
Thanks in advance,
Arthur
Oh, and BTW, am LOVING Drupal 7 so far, am thinking of switching all my Joomla sites over to Drupal when 7 becomes stable.
Comments
The primary and secondary
The primary and secondary links links are list of menus which will coonect to a node or page
yes you can create n mum of menus on sitebuilding-> menus->add new menu
Cheers
Prasath
More specifically, Primary
More specifically, Primary Links would be considered the main navigation for your site. Secondary Links would be whatever you deem it to be, you can link any number of pages. Most themes have primary and secondary links already outputted and styled.
Cheers for the help guys BUT,
Cheers for the help guys BUT, I still don't fully understand.
So if I create menus, they must be children of either the Primary Links or the Secondary Links and in order for these menus to show in the template I have to use
<?php print theme('links', $secondary_links); ?>OR
<?php print theme('links', $primary_links); ?>to display them?
I can't then create another menu say, $third_menu and use the same syntax to get that to display?
I think I'm confusing blocks with menus but I'm still not fully grasping the concept so apologies for being a little dense and, damn that Joomla ;)
Arthur
Ahhh, when you create menus
Ahhh, when you create menus they are defined as blocks and Primary and Secondary links are just blocks too.
If that is indeed the case, why would we need the following:
<?php print theme('links', $secondary_links); ?>Why can't we just create menus and assign their blocks to regions in the template?
Arthur