Page 1 of 1

How to change button to the header n footer?

Posted: Thu Mar 29, 2012 12:48 am
by soennar
Dear Sir;
I would like to ask..
1. In Allegro..That have 5 button in header..
Home
My Account
login
Cart
Check Out

Could We Delete Some of them an Change It?
Example..
Delete My Account n Login.. I think that same purpose button with Check Out
Could we..

2. Could we add new button like button of product; testimonial; etc

3. Could we add buttons like a word n link it to our several page..

Sorry to my bad english..

Re: How to change button to the header n footer?

Posted: Thu Mar 29, 2012 5:10 am
by leo
Read this first:
viewtopic.php?f=22&t=474

Re: How to change button to the header n footer?

Posted: Tue Apr 03, 2012 3:43 pm
by soennar
Yess.. I have read that page.. but I still don't understand how to delete the login , or my account bottom...

Re: How to change button to the header n footer?

Posted: Wed Apr 04, 2012 10:05 am
by Brent
In catalog->template->default->module edit navigation.tpl
Find line :

Code: Select all

<a href="<?php echo $checkout; ?>"><?php echo $text_checkout; ?></a>
Comment it out. You could delete it, but it is best to comment out in case you want it active again.

Code: Select all

<!--<a href="<?php //echo $checkout; ?>"><?php //echo $text_checkout; ?></a>-->
As far as adding buttons, You need to have the supporting code in catalog->extension->module navigation.php.
This is where the code is created that is used in the navigation.tpl template file.
If required, you would also need to make entries in the language file catalog/language/english/extension/module/navigation.php.
You would then make an entry similar to what you commented out for your new button.

Re: How to change button to the header n footer?

Posted: Thu Apr 05, 2012 6:16 pm
by Hodge
Hello Sir,
I sucessfully created a new button in the bar however I just can not figure out why it drops under the other ones....
I believed the #bar css would be the answer but I tried and tried.....could You possibly help me resolve this issue ?
Thank You

Re: How to change button to the header n footer?

Posted: Thu Apr 05, 2012 9:50 pm
by leo
Change/increase the width of the #bar in the default.css files.