Modify logo template link

September 2015 Joomla Template
GK User
Wed Mar 29, 2017 7:17 pm
Hello
I have the template saved twice and I use them within the same domain, to have two different pages.
I would like to change the link address of the logo.

I can do it and where?
regards
User avatar
Junior Boarder

Joshua M
Fri Mar 31, 2017 9:16 pm
Hi,
Please edit your technews/layouts/blocks/logo.php file and change
Code: Select all
<a href="<?php echo JURI::root(); ?>"

to other URL.
User avatar
Moderator

GK User
Sat Apr 01, 2017 10:16 am
Joshua M wrote:Hi,
Please edit your technews/layouts/blocks/logo.php file and change
Code: Select all
<a href="<?php echo JURI::root(); ?>"

to other URL.

Yes, but the logo.php is for the whole template.
I have duplicated the template and I have two different logos depending on the menu options assigned to each template. Now I would dust that the link, also be different. The problem is that it picks it up automatically, if you could put it in the template would be solved.
regards
User avatar
Junior Boarder

Joshua M
Mon Apr 03, 2017 10:27 pm
Try to use condition (depends on your menu IDs), it's described here: http://stackoverflow.com/questions/1144 ... -id-or-url
User avatar
Moderator

GK User
Tue Apr 04, 2017 7:06 am
Joshua M wrote:Try to use condition (depends on your menu IDs), it's described here: http://stackoverflow.com/questions/1144 ... -id-or-url


Hello,
This post I think is to have different menus.
I want to have different "logos" with different links.
I use the template twice on the same page, and it allows me to have two different logos and menus, but the logo link is always the same.
regards
User avatar
Junior Boarder

Joshua M
Tue Apr 04, 2017 3:37 pm
Could you send me a PM with your website backend and FTP access? Then I'll be able to check the issue.
User avatar
Moderator


cron
Remember me
Register New Account
If you are old Gavick user, click HERE for steps to retrieve your account.