Novo

Started by Diego Andrés, February 02, 2014, 05:52:09 PM

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

Diego Andrés

Link to the theme


Free & Premium Responsive Themes for SMF




Novo
Developed by Diego Andrés

Features
  • Custom Links
  • Logo URL


Demo Online
GitHub
Last Edit: July 05, 2023, 08:31:34 PM by Diego Andrés

McDeil

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

Open index.template.php and search
<ul class="links floatleft">

Below you'll see the links. e.g. the link one is:
<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.
<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

Muchas gracias por su respuesta rapida!