Page 1 of 1
Navigation Button
Posted: Thu Jun 16, 2011 1:06 am
by mike24williams
hello all,
My client wants to add a navigation button to the header. Next to the Home button. He wants to link back to his site.
The shopping cart is an addition to his site and there is no clear way of navigating back other than the browser navigation.
Is this possible with out causing too much pain.
Best Regards
Mike
Re: Navigation Button
Posted: Thu Jun 16, 2011 1:45 am
by leo
Yes, it is possible. We will write a short FAQ soon.
Re: Navigation Button
Posted: Thu Jun 16, 2011 6:30 am
by leo
The easiest way is:
1. open /catalog/language/english/extension/navigation.php and add e.g.
Code: Select all
$_['text_myhomepage'] = 'My Home Page';
below
2. open /catalog/template/default/module/navigation.tpl and add
Code: Select all
<a href="http://www.mysite.com"><?php echo $text_myhomepage; ?></a>
below
Code: Select all
<a href="<?php echo $checkout; ?>"><?php echo $text_checkout; ?></a>
3. open /catalog/extension/module/navigation.php and add
Code: Select all
$view->set('text_myhomepage', $language->get('text_myhomepage'));
below
Code: Select all
$view->set('text_checkout', $language->get('text_checkout'));
4. change the width of #bar in the default css files or what else is needed.
Re: Navigation Button
Posted: Sun Jun 19, 2011 10:22 pm
by mike24williams
Hi Leo,
I will give it a go today.
Thanks for your reply
Mike
Re: Navigation Button
Posted: Mon Jun 20, 2011 10:54 pm
by mike24williams
Thanks Leo,
That worked like a dream.
Regards
Mike
Re: Navigation Button
Posted: Tue Nov 22, 2011 3:53 pm
by danialpaul1
I live for my dream, I wish to become super internet marketer !