Post by kristoz » Fri Sep 07, 2012 10:49 pm

I have in headers self maded some links

Example: News / Speciacls

But if you click on news it will show my site news page, but I would like to change this that if you will click on that it will go to another site..

I know that I need to edit this line in header.php

Code: Select all

$this->data['news'] = $this->url->link('information/news');
This means that if you click it it will go

Code: Select all

http://www.yoursite.com/index.php?route=information/news
I tried this code

Code: Select all

$this->data['news'] = $this->url->link('http://www.opencart.com/');
If I click it , it will go :

Code: Select all

http://www.yoursite.com/index.php?route=http://www.opencart.com/
How can I do that when I click to this news and then instead of this

Code: Select all

http://www.yoursite.com/index.php?route=http://www.opencart.com/ 
it will go just like that:

Code: Select all

http://www.opencart.com/
I hope that someone understands what I mean :)

New member

Posts

Joined
Sun Sep 25, 2011 9:53 pm

Post by ADD Creative » Sat Sep 08, 2012 1:52 am

I would edit the header.tpl file and just add an <a href="http://othersite.com">Text</a> tag.

www.add-creative.co.uk


Active Member

Posts

Joined
Sat Jan 14, 2012 1:02 am
Location - United Kingdom

Post by kristoz » Sat Sep 08, 2012 2:53 am

Yes, but my store is multilingual... is it doable?

New member

Posts

Joined
Sun Sep 25, 2011 9:53 pm

Post by kristoz » Sat Sep 08, 2012 3:10 am

Got it! Thanx alot!

New member

Posts

Joined
Sun Sep 25, 2011 9:53 pm
Who is online

Users browsing this forum: No registered users and 86 guests