Hello,
i've just started with drupal (4.6.3) and I'm making a few sites with it developing themes for each one on PHPTemplate engine. I am having problems with primary and secondary links. No matter how many links I create in the configure menu of my theme the $primary_links and $secondary_links arrays consist of a single element containing only the last link in the input forms.
It seems like the configuration menu for phptemplate themes keeps the information but I cannot get the full array into my $primary_links array in the theme's page.tpl.php file.
Same problem happens with the box_gray theme. This is either me being stupid not seeing something very obvoius or a serius problem...
Anyone experienced this kind of problem?
thank for any help!
mjs

Comments

pamphile’s picture

I was having that problem last night.

Then I discovered that the primart and secondary links of PHPtemplates are manipulated within the settings of the template, not in the normal website settings.
I went here -->
admin/themes/settings/bluemarine_phptemplate
or
admin/themes/settings/#new name of your phptemplate#

Hope that helps.
Marcel
Business Letters
Free Classifieds
YP.BZ - Yellow Page Dot Business

Pinolo@www.drupalitalia.org’s picture

You have to set distinct URLs for each link. I had the same problem because first I only entered the labels of the links. Then I tried inserting URLs, but I entered the same URL for each link. Then, I tried entering distinct URLs and all the items showed up.

FWIW I think this is a bug, since I should be able to enter duplicate links, if I want to.