Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • mikel2004 Friend
    #195950

    Hi!

    Can I add target=”_blank” for the twitter icon in secnav-4 position?

    I have this code in /tpls/blocks/mainnav.php file:

    <!– TWITTER –>
    <?php if ($this->countModules(‘secnav-4’)) : ?>
    <li class=”dropdown nav-twitter”>
    <a data-toggle=”dropdown” href=”http://twitter.com/comunidadzoom” class=” dropdown-toggle”>
    <i class=”icon-twitter”></i>
    </a>
    </li>
    <?php endif ?>
    <!– //TWITTER –>

    Thanks!

    Nazario A Friend
    #527451

    You can add target=”_blank” as follows:

    <!-- TWITTER -->
    <?php if ($this->countModules('secnav-4')) : ?>
    <li class="dropdown nav-twitter">
    <a data-toggle="dropdown" href="http://twitter.com/comunidadzoom" class=" dropdown-toggle" target="_blank">
    <i class="icon-twitter"></i>
    </a>
    </li>
    <?php endif ?>
    <!-- //TWITTER -->

    Hope this helps.

    mikel2004 Friend
    #527516

    Nop… donĀ“t work.

    Any other idea?

    Thanks!

    Nazario A Friend
    #527608

    Please clear cache of your site and your browser then try it again.

    mikel2004 Friend
    #527663

    I do it, but nothing change.

    Look the site:
    http://veintiuno.czoom.co/

    Nazario A Friend
    #527992

    @ mikel2004,

    Please try to remove the code in red as follows:

    <!-- TWITTER -->
    <?php if ($this->countModules('secnav-4')) : ?>
    <li class="dropdown nav-twitter">
    <a data-toggle="dropdown" href="http://twitter.com/comunidadzoom" class=" dropdown-toggle" target="_blank">
    <i class="icon-twitter"></i>
    </a>
    </li>
    <?php endif ?>
    <!-- //TWITTER -->

    Hope this helps.

    mikel2004 Friend
    #528134

    Yes!!
    It’s works!
    Great!!

    Thank you!

Viewing 7 posts - 1 through 7 (of 7 total)

This topic contains 7 replies, has 2 voices, and was last updated by  mikel2004 10 years, 8 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum