newbie help with theme() call

dkashen - September 25, 2006 - 21:22

Hi,

I'm hacking around the Fern theme and teaching myself some Drupal and PHP.
This code excerpt shows the headings print

      <?php if ($site_slogan) { ?><div class='site-slogan'><?php print $site_slogan ?></div><?php } ?>
    </div>
    <div id="menu">
      <?php if (isset($secondary_links)) { ?>
<div id="secondary">
<div <br> </div>
<div <br> </div>
<div <br> </div>
<?php print theme('links',$secondary_links) ?>
</div>

I put the 3 lines of " " to push the 2ndary links
below the primary but the 2ndary links are still right justified.

The words SECONDARY and JUSTIFIED both have non technical meaning that
often crop up in Drupal discussions, and have made a forum search
nearly useless. Some newbie questions:

where is theme() documented ?

If it doesn't have a left/right justification option,
can someone point be to a simple way to get left justification of $secondary_links ?

Thank you,

Possibly looking in the wrong place

alanburke - September 25, 2006 - 22:38

I'm not familiar with the theme but its likely that the layout is handled by CSS code, and it's this you need to change.

 
 

Drupal is a registered trademark of Dries Buytaert.