[support] Primary Links and Menu
Francis
francis.pilon at gmail.com
Wed Oct 17 16:47:32 UTC 2007
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