[support] Primary Links and Menu
Tom Holmes Jr.
tom at tomholmes.net
Wed Oct 17 18:29:48 UTC 2007
Thanks very much! That's what I was wondering .... I thought it
would be easy to do.
Thanks again!
Tom
Francis wrote:
> Fred Jones wrote:
>
>>> I'd really like to have my primary links on my left-sidebar ... so do I
>>> have to put that in a block?
>>> Is there a theme that already does that, or something simpler? Is
>>> there any PHP or CSS I need to manipulate?
>>>
>> Go to administer--site building--blocks
>>
>> If your theme has a 'left sidebar' you can assign the 'primary links'
>> menu to it.
>>
>>
>
> ...or in you theme_folder/page.tpl.php you will find something that
> looks like this:
>
> <?php if ($primary_links): ?>
> <div id="primary" class="clear-block">
> <?php print theme('links', $primary_links, array('class' => 'links
> primary-links')) ?>
> </div>
> <?php endif; ?>
>
> You simply have to position this block wherever you want in your
> template and style it away with css.
>
> fp
>
More information about the support
mailing list