Hi,

The SpreadFirefox theme and phpTemplate have been installed on the recommendation of someone from this forum in answer to a problem I was having creating link tabs at the top of the webpages and, sub-links on the left.

This is now done however, I have a few questions/problems:

1) What are Secondary links and where should they appear on a page?

2) When I try to upload a logo from file, nothing appears in the top left hand-corner. I have tried this numerous times on the configuration page just for the SpreadFirefox theme and also using the Global configuration page?

3) How can I create sub-links on the left of a page when someone clicks on a main link tab at the top?

Thanks.

Comments

lzfranc’s picture

There is an issue in SpreadFirefox theme. Secondary links don't run at this moment.

M.J’s picture

Are the secondary links those that appear at the bottom of the page?

Which other theme would allow me to have sub-links on the left when one of the primary link tabs was clicked?

lzfranc’s picture

Are the secondary links those that appear at the bottom of the page?

The first time I installed Drupal I tried several themes.

I remember secondary links was like a second line near of the primary links on top of pages. Maybe some theme shows secondary links on bottom of page.

About your second question, sorry, I don't understood it (on the left?).

ngstigator’s picture

I can verify that secondary links aren't even rendered as they do not show up in the source.

The problem is the logic in page.tpl.php line 53

    <?php if ($primary_links) : ?>
     <ul id="primary">
      <?php foreach (array_reverse($primary_links) as $link): ?>
       <li><?php print $link; ?></li>
      <?php endforeach; ?>
     </ul> 
   <?php elseif ($secondary_links) : ?>
     <ul id="secondary">
      <?php foreach (array_reverse($secondary_links) as $link): ?>
       <li><?php print $link; ?></li>
      <?php endforeach; ?>
     </ul>
    <?php endif; ?>

...which ignores the secondary links if there are primary links. I just replaced the "elseif" with an "if" and moved it somewhere else (otherwise the secondary links block out the primary links). Of course theming it was another issue altogether ;-)

Chris

mjm9787’s picture

I put my logo in the SpreadFireFox folder, then when I configured the theme for the new image I set the Path to custom logo =
/themes/spreadfirefox/logo.gif

I set this only on the spreadFireFox page

M.J’s picture

Thanks for the info on displaying the logo 'mjm9787' - it worked.

I am struggling to create sub-page links when the main links tabs are clicked at the top?