How to change button to the header n footer?

General Support for technical Issues relating to AlegroCart
Post Reply
soennar
Posts: 10
Joined: Tue Mar 27, 2012 3:05 pm

How to change button to the header n footer?

Post by soennar » Thu Mar 29, 2012 12:48 am

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..

User avatar
leo
admin
Posts: 4320
Joined: Sun Dec 13, 2009 8:27 am
Location: Hungary

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

Post by leo » Thu Mar 29, 2012 5:10 am

Read this first:
viewtopic.php?f=22&t=474

soennar
Posts: 10
Joined: Tue Mar 27, 2012 3:05 pm

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

Post by soennar » Tue Apr 03, 2012 3:43 pm

Yess.. I have read that page.. but I still don't understand how to delete the login , or my account bottom...

User avatar
Brent
Site Admin
Posts: 4459
Joined: Sat Dec 12, 2009 3:35 pm
Location: Canada eh

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

Post by Brent » Wed Apr 04, 2012 10:05 am

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.

Hodge
Posts: 4
Joined: Thu Apr 05, 2012 6:09 pm

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

Post by Hodge » Thu Apr 05, 2012 6:16 pm

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

User avatar
leo
admin
Posts: 4320
Joined: Sun Dec 13, 2009 8:27 am
Location: Hungary

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

Post by leo » Thu Apr 05, 2012 9:50 pm

Change/increase the width of the #bar in the default.css files.

Post Reply