How do I change the link on my logo?

Joomla template which allow you to present sport news in amazing and professional way.
GK User
Thu Apr 07, 2011 12:52 am
Hi,
By default joomla logo is linked to homepage. My joomla instalation is in a subdirectory and my homepage (HTML) in the main directory. How can I link my logo to my homepage.
Thanks
User avatar
Fresh Boarder

Konrad M
Thu Apr 07, 2011 5:31 am
Hi
You need to go to template folder and edit index.php
Find this one
Code: Select all
<a id="logo<?php echo ($logo_as_image) ? '' : '_styled'; ?>" href="./">
               <?php if($logo_as_image) : ?>
               <img src="<?php echo $this->baseurl; ?>/templates/<?php echo $this->template?>/images/style1/logo.png" alt="Logo" />
               <?php endif; ?>
            </a>

and edit attribute href
User avatar

GK User
Thu Apr 07, 2011 10:38 am
Hi Konrad,
Thanks a lot for your fast reaction. Unfortunately I couldn't find that line in my index.php.
I tryed to paste your code at the end of the index.php document, but than I get "Parse error: syntax error, unexpected '<' in ............"
Thanks again
User avatar
Fresh Boarder

Konrad M
Thu Apr 07, 2011 2:42 pm
Hi
Can you send me to [email protected] access to ftp I will check your index.php and try to find it.
User avatar

GK User
Thu Aug 18, 2011 4:04 pm
How did you do this? I am looking to change it also!
User avatar
Junior Boarder


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