1. ziggy
  2. Sherlock Holmes
  3. Free Templates / Extensions
  4. Monday, 07 January 2013
  5.  Subscribe via email
I do have the free template J51 Oxygen.
I'd love to open a new window if you click on the Social Media Buttons.
Reason is that I would like to have the possibility to look further at the same page and afterwards I can have look at the Social pages.

Does anyone know how to change that, I do have experience in programming a little bit.

Who can help me please?

Thanks a lot!
Accepted Answer Pending Moderation
0
Votes
Undo
This should do it... 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
Great, it works!
Thanks a lot.
  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