Yes, I am a newbie to Drupal and PHP, but I'm been a Java/J2EE developer for a number of years now, so I can code and read API's.
I just took a Drupal Bootcamp course in Cambridge, MA, so at least I think my questions won't be completely out of whack.
In many themes ... it seems the Primary links are across the top somehow, with or without drop down menus ... And it seems there is minimal Menu navigation on left-sidebar.
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?
Thanks! Tom
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.
It's all about configuration. :)
Freddie
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
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
Great! Thanks very much!
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.
It's all about configuration. :)
Freddie