Grow your CSS skills. Land your dream job.

drupal seconadry link problem

  • # April 27, 2009 at 1:40 am

    hi friends,

    this is my site url http://www.1dash1.com all things are working fine except my secondary link which is in content area in black color is highlighted on every page what i want is when user click on offerings(primary links) the secondary link got displayed otherwise it is not visible on any other page…
    i used
    <?php
    if (isset($secondary_links)) {
    ?>

    <?php
    print preg_replace(‘/<a (.*?)>(.*?)<\/a>/i’,’<a \1><span>\2</span></a>’,theme(‘links’, $secondary_links, array(‘class’ =>’links’, ‘id’ => ‘navlist’)));
    ?>

    <?php
    }
    ?>
    this code in my tpl file

    plz help me its really urjent w8ing for ur replies

Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.

*May or may not contain any actual "CSS" or "Tricks".