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)
-   -   Easy way to add an expandable site map? (https://forum.x-cart.com/showthread.php?t=15132)

cherkes 07-11-2005 04:51 PM

Easy way to add an expandable site map?
 
Does anyone know an easy way to add a site map to the left side of the xCart screen? Perhaps in place of the best seller list? I am trying to retro xcart to look similar to my existing site and would like links to the rest of my site to appear under the product box.

I'm okay with html but pretty green on PHP.

Thanks!

Carl

balinor 07-12-2005 03:58 AM

Here's the easy way:

Add a new template in the skin1 directory...call it site_map.tpl. Use this code in it:

Code:

{capture name=menu}

Link 1
Link 2
Link 3
Link 4

{/capture}
{ include file="menu.tpl" dingbats="dingbats_categorie.gif" menu_title=title menu_content=$smarty.capture.menu }


Replace the links with your links and replace the =title with the menu title of your choice.

Then call the template from customer/home.tpl wherever you want it by using this code:

{include file="site_map.tpl"}

It won't be 'expandable' but it will do the trick.

cherkes 07-12-2005 06:37 AM

Thank you
 
Excellent! Thank you very much. I'll try it out.

Carl


All times are GMT -8. The time now is 08:55 AM.

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