Support for SMF Tricks Themes & Mods

0 Members and 1 Guest are viewing this topic.

*
McDeil
Sniffer
Help with Novo theme
August 09, 2014, 07:39:24 AM
Thank you for providing Novo as a free theme, I really like it.
But I have a question about the links on the top, I configured these using the theme setup, but I can't figure out how to amend the the links so they open in a new browser page (target="_blank").

I've searched a few php pages but can't find where I should change the HTML, I'd be most grateful if someone could point me to the correct file to change.
Thanks






*
Diego Andrés
#1
Webmaster
Re: Help with Novo theme
August 10, 2014, 05:18:44 PM
Open index.template.php and search
Code: [Select]
<ul class="links floatleft">
Below you'll see the links. e.g. the link one is:
Code: [Select]
<li><a href="', empty($settings['link_top1_url']) ? '' : '' . $settings['link_top1_url'] . '', '">', empty($settings['link_top1']) ? $txt['link_top1'] : $settings['link_top1'], '</a></li>
Just replace <a with <a target="_blank"
e.g.
Code: [Select]
<li><a target="_blank" href="', empty($settings['link_top1_url']) ? '' : '' . $settings['link_top1_url'] . '', '">', empty($settings['link_top1']) ? $txt['link_top1'] : $settings['link_top1'], '</a></li>
*
McDeil
#2
Sniffer
Re: Help with Novo theme
August 11, 2014, 03:38:17 AM
Muchas gracias por su respuesta rapida!