[support] How to have different Primary Links on differentsections

Laura Scott laura at pingv.com
Tue Dec 5 19:33:21 UTC 2006


On Dec 5, 2006, at 9:48 AM, Jody Cleveland wrote:

> Hello,
>
>> Perhaps the easiest way: Primary links are just menus. Each menu has
>> its own block. Display the block in the theme zone you want (or
>> define your own) and then have the blocks display according to path
>> or php test. With css, you can get the menus to display properly.
>
> Ok, I have a menu called teenzone. Under administer > blocks, I have
> that menu enabled. If I set it to show in the left sidebar only on  
> pages
> teens/ teens/* it shows fine on the left side. If I set it to  
> header, it
> isn't visible anywhere. Also, I'm not seeing anywhere I can 'turn off'
> primary links for that section. I see it listed under blocks, but it's
> disabled. But, it still shows up. Is there something else I need to  
> do?

You will need to edit your page.tpl.php file in your theme. As for  
why blocks don't show up at all in your $header area probably relates  
to your theme as well. What theme are you using? Is it a 4.7 theme?  
The availability of zones to put your blocks was a new feature in  
4.7, so if you have a legacy theme from 4.6 days, it might be missing  
some necessary code.

More here: http://drupal.org/phptemplate

Laura





More information about the support mailing list