Shape 5

Joomla Templates => Basics - Club => : webass2 February 02, 2011, 05:37:55 AM



: Problem 404 with homepage URL on logo, index.php
: webass2 February 02, 2011, 05:37:55 AM
Hi,
I have encountered this problem also on the other template called Clarity.

I go to the inner pages, browse through the page a littlebit and click on the logo to get back to frontpage.

Then the ending /index.php is added to the url of the inner page, where I was browsing.

This seems to be a problem with rewrite, but it can be definitely solved also in the index.php of the template.
But how?
On the template clarity I deleted this code in the index.php in the div ID s5logo:
:
style="cursor:pointer;" onclick="window.document.location.href='index.php'"
But I would like to the logo-home-link to stay active...

Thanks. Andre


: Re: Problem 404 with homepage URL on logo, index.php
: mikek February 02, 2011, 09:11:34 AM
Hello,

Having it set to index.php should always take you back to the homepage, if it's not you can simply edit that code to your actual domain name:

style="cursor:pointer;" onclick="window.document.location.href='http://www.yoursite.com'"


: Re: Problem 404 with homepage URL on logo, index.php
: webass2 February 05, 2011, 06:38:44 AM
Great! Thank you. ;)


: Re: Problem 404 with homepage URL on logo, index.php
: webass2 February 07, 2011, 04:22:11 AM
HI,
I know, this is now about the clarity template, but I had the same problem there.

I changed the URL to the whole link like:
:
	<div id="s5_logo" style="cursor:pointer;" onclick="window.document.location.href='http://imhc.lisbert.de'"</div>	

and additionally, I looked up the forum, because missing background images, I added the link of the whole site to the background image used in the template configuration.
So, the background images showed up everwhere.

Then I encountered a day later, that browsers chrome and IE 8
showed up like this in the screenshot.

And I changed everything back again, but this weird problem stays.

Help soon please. Forum is used daily.


: Re: Problem 404 with homepage URL on logo, index.php
: webass2 February 07, 2011, 04:28:05 AM
Sorry, me stupid.

Problem solved, just a bracket missing at the end of the style.
 ;D