By jakeg on
At the top of my site ( http://beta2.postcarbon.org/ ) you'll see some drop-down links. At the moment these links are hand-written into page.tpl.php (PHPTemplate) rather than using Drupal's primary links.
I can't use Drupal's primary links because I need the grouping of the links in their two-level hierarchy (one set of parent links, each with their own children).
Does anyone have a suggestion or know of a module which will enable me to use Drupal's CMS to enable site admins to change the links, rather than me having to upload a new page.tpl.php each time a link changes?
Jake.
Comments
bump
bump, and url is www.postcarbon.org now not beta2.
check out the primary links module
http://cvs.drupal.org/viewcvs/drupal/contributions/modules/primary_links/
--
The future is so Bryght, I have to wear shades.
this looks very hopeful
this looks very hopeful indeed, thanks. Any update on when the patch to the phptemplate engine and the module itself will make core or some better situation than having to patch the core phptemplate engine and then install the module?
it'll be in some time before 4.7
Drupal 4.6 will remain unpatched.
--
The future is so Bryght, I have to wear shades.
Taxonomy
You could use Drupal's taxonomy (create a vocabulary named something like 'primary links', do whatever nesting you need and then reference this vocabulary's terms from the page.tpl.php)
thanks hellata. I'm trying
thanks hellata. I'm trying adrian's suggestion first and if that doesn't work i'll give yours a go too.
Ok how did you make your
Ok how did you make your menus. I have installed the primary links module, but I am not sure how to use it. Once I have installed the module the only thing I can find about the primary links module is under menus. How do you reference the vocabulary's terms in your page.tpl.php.
Sorry for bugging you with such newbie questions.
BTW. I like the look of your site.