Download & Extend

inserting text into secondary link bar

Project:Marinelli
Version:6.x-2.95
Component:Miscellaneous
Category:support request
Priority:normal
Assigned:Unassigned
Status:active

Issue Summary

Hi there, I'm trying to add a small piece of text to the secondary links bar in the Marinelli theme. the page.tpl.php appropriate code looks like this currently:

<?php if (($secondary_links)) : ?>
      <?php print '<div id="submenu">' ?>
          <?php print theme('links', $secondary_links, array('class' => 'links secondary-links')) ?>
          <?php print '</div><div class="stopfloat"></div>' ?>
        <?php endif; ?>

I thought I could do something as easy as:

<?php if (($secondary_links)) : ?>
      <?php print '<div id="submenu">' ?>
          <?php print t('Quicklinks >') . theme('links', $secondary_links, array('class' => 'links secondary-links')) ?>
        <?php endif; ?>

but it renders the 'Quicklinks' text above the link items as in the image attached.

is there another way to do this and get the 'Quicklinks' in line with the menu items?

Thank you in advance!

AttachmentSize
Picture 1.png124.06 KB
nobody click here