Forum Support

 
Advanced Search


[1]

Offline addrss
Free Member
Posts: 2
Posted on: December 20, 2016, 07:52:47 AM

1. If published at the same time two modules S5 Accordion Menu on the same page, then stop working both modules. How to fix it?
2. How to make, that link in logo will open in a new tab?
Logged

Offline mikek
Free Member
Posts: 28743 WWW
Posted on: December 20, 2016, 08:27:07 PM

Hello,

1. You cannot run two on the same page or the javascript will conflict. You can have two on the same site, but they can't be on the same page.

2. In the index.php file find:

<?php if ($s5_logo_type == "css") { ?>
                     <img alt="logo" src="<?php echo $s5_directory_path ?>/images/s5_logo.png" onclick="window.document.location.href='<?php echo $LiveSiteUrl; ?>'" />
                  <?php } ?>

Change it to:


<?php if ($s5_logo_type == "css") { ?>
<a href="" target="_blank">
                     <img alt="logo" src="<?php echo $s5_directory_path ?>/images/s5_logo.png" />
[/url]
                  <?php } ?>



In the href="" section enter any url you want.
Logged

Offline addrss
Free Member
Posts: 2
Posted on: December 21, 2016, 12:20:42 AM

Maybe it is better:

Code:
                        <?php if ($s5_logo_type == "css") { ?>
<a href="<?php echo $this->baseurl ?>" rel="nofollow">
                     <img alt="logo" src="<?php echo $s5_directory_path ?>/images/s5_logo.png" /></a>
                  <?php ?>
Logged
[1]

Jump to:  


Powered by SMF | SMF © 2013, Simple Machines
Joomla Bridge by JoomlaHacks.com
Page created in 0.018 seconds with 20 queries.
Need some help getting your site up and running? Be sure to check out our tutorials area, post on the forum or hire us
Send Us An Email
Please send us your questions and we will email you back as soon as we can. Product support questions should be posted in our support forums under the Help menu. Our staff will assist you from there.