X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   Adding static pages in website header. (https://forum.x-cart.com/showthread.php?t=49899)

ArthurCatigbe 09-26-2009 08:35 PM

Adding static pages in website header.
 
Hey everyone.

I'm wondering if it's possible to mod the header of the default lucid skin (where the search bar is) to include static pages such as "About Us", "Contact Us" etc.

Any help would be greatly appreciated.

JWait 09-28-2009 05:49 AM

Re: Adding static pages in website header.
 
You need to move the "speed bar" which is part of customer/top_menu.tpl to the area of head.tpl right after where search.tpl is called.

What I usually do is add the include of search.tpl to top_menu.tpl and replace the call to search.tpl in head.tpl with top_menu.tpl. Included in top_menu.tpl is the part that displays your phone numbers. If you don't want them, or want them someplace else, just comment them out.

This gets confusing real quick, especially if you are new to it. Just take a look at the "speed bar" section of skin1/customer/top_menu.tpl, and you should be able to figure out what it is doing. Then just replicate it where you want it to be.

And absolutely make backups of everything, and don't use the "edit files" portion of x-cart to make your modifications or you will "lose" everything every time you make a change.


All times are GMT -8. The time now is 05:25 PM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.