1. ziggy
  2. Sherlock Holmes
  3. Free Templates / Extensions
  4. Saturday, 13 April 2013
  5.  Subscribe via email
Hello again,

i have one more question about oxygen. Is it possible to open social media links in new tab in browser?

How can i do this?

Thanks a lot. Oxygen is the best template for Joomla 3 that I have seen.

Thanks again.

Mirek.
Accepted Answer Pending Moderation
0
Votes
Undo
Hi Mirek

In your templates header.php (../templates/j51_oxygen/php/layouts/header.php) replace the following..


        <div id="socialmedia">
<ul id="navigation">

<?php if($this->params->get('nav_rssfeed_sw') == '1') : ?>
<li class="nav_rssfeed"><a href="/<?php echo $this->params->get('nav_rssfeed'); ?>" title="RSS Feed"></a></li>
<?php endif; ?>
<?php if($this->params->get('nav_twitter_sw') == '1') : ?>
<li class="nav_twitter"><a href="/<?php echo $this->params->get('nav_twitter'); ?>" title="Twitter"></a></li>
<?php endif; ?>
<?php if($this->params->get('nav_facebook_sw') == '1') : ?>
<li class="nav_facebook"><a href="/<?php echo $this->params->get('nav_facebook'); ?>" title="Facebook"></a></li>
<?php endif; ?>
<?php if($this->params->get('nav_myspace_sw') == '1') : ?>
<li class="nav_myspace"><a href="/<?php echo $this->params->get('nav_myspace'); ?>" title="MySpace"></a></li>
<?php endif; ?>
<?php if($this->params->get('nav_blogger_sw') == '1') : ?>
<li class="nav_blogger"><a href="/<?php echo $this->params->get('nav_blogger'); ?>" title="Blogger"></a></li>
<?php endif; ?>
<?php if($this->params->get('nav_stumble_sw') == '1') : ?>
<li class="nav_stumble"><a href="/<?php echo $this->params->get('nav_stumble'); ?>" title="StumbleUpon"></a></li>
<?php endif; ?>
<?php if($this->params->get('nav_google_sw') == '1') : ?>
<li class="nav_google"><a href="/<?php echo $this->params->get('nav_google'); ?>" title="Google"></a></li>
<?php endif; ?>
<?php if($this->params->get('nav_flickr_sw') == '1') : ?>
<li class="nav_flickr"><a href="/<?php echo $this->params->get('nav_flickr'); ?>" title="Flickr"></a></li>
<?php endif; ?>
<?php if($this->params->get('nav_linkedin_sw') == '1') : ?>
<li class="nav_linkedin"><a href="/<?php echo $this->params->get('nav_linkedin'); ?>" title="LinkedIn"></a></li>
<?php endif; ?>
</ul>
</div>


With..


        <div id="socialmedia">
<ul id="navigation">

<?php if($this->params->get('nav_rssfeed_sw') == '1') : ?>
<li class="nav_rssfeed"><a href="/<?php echo $this->params->get('nav_rssfeed'); ?>" title="RSS Feed" target="_blank"></a></li>
<?php endif; ?>
<?php if($this->params->get('nav_twitter_sw') == '1') : ?>
<li class="nav_twitter"><a href="/<?php echo $this->params->get('nav_twitter'); ?>" title="Twitter" target="_blank"></a></li>
<?php endif; ?>
<?php if($this->params->get('nav_facebook_sw') == '1') : ?>
<li class="nav_facebook"><a href="/<?php echo $this->params->get('nav_facebook'); ?>" title="Facebook" target="_blank"></a></li>
<?php endif; ?>
<?php if($this->params->get('nav_myspace_sw') == '1') : ?>
<li class="nav_myspace"><a href="/<?php echo $this->params->get('nav_myspace'); ?>" title="MySpace" target="_blank"></a></li>
<?php endif; ?>
<?php if($this->params->get('nav_blogger_sw') == '1') : ?>
<li class="nav_blogger"><a href="/<?php echo $this->params->get('nav_blogger'); ?>" title="Blogger" target="_blank"></a></li>
<?php endif; ?>
<?php if($this->params->get('nav_stumble_sw') == '1') : ?>
<li class="nav_stumble"><a href="/<?php echo $this->params->get('nav_stumble'); ?>" title="StumbleUpon" target="_blank"></a></li>
<?php endif; ?>
<?php if($this->params->get('nav_google_sw') == '1') : ?>
<li class="nav_google"><a href="/<?php echo $this->params->get('nav_google'); ?>" title="Google" target="_blank"></a></li>
<?php endif; ?>
<?php if($this->params->get('nav_flickr_sw') == '1') : ?>
<li class="nav_flickr"><a href="/<?php echo $this->params->get('nav_flickr'); ?>" title="Flickr" target="_blank"></a></li>
<?php endif; ?>
<?php if($this->params->get('nav_linkedin_sw') == '1') : ?>
<li class="nav_linkedin"><a href="/<?php echo $this->params->get('nav_linkedin'); ?>" title="LinkedIn" target="_blank"></a></li>
<?php endif; ?>
</ul>
</div>


CiarĂ¡n
  1. more than a month ago
  2. Free Templates / Extensions
  3. # 1
Accepted Answer Pending Moderation
0
Votes
Undo
Thanks, works perfectly.

Thanks again.

Oxygen51 is great template.

Mirek.
  1. more than a month ago
  2. Free Templates / Extensions
  3. # 2
  • Page :
  • 1


There are no replies made for this post yet.
Be one of the first to reply to this post!

Join Our Newsletter

* indicates required
We respect your privacy and do not tolerate spam and will never sell, rent, lease or give away your information (name, email, number, etc.) to any third party. Nor will we send you unsolicited email.
Joomla51 - Mullaghmore, Co. Sligo, Ireland
Joomla51.com is not affiliated with or endorsed by the Joomla! Project or Open Source Matters.
The Joomla! name and logo is used under a limited license granted by
Open Source Matters
the trademark holder in the United States and other countries.

We use cookies on our website. Some of them are essential for the operation of the site, while others help us to improve this site and the user experience (tracking cookies). You can decide for yourself whether you want to allow cookies or not. Please note that if you reject them, you may not be able to use all the functionalities of the site.

Ok