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)
-   -   Creating a side main menu (https://forum.x-cart.com/showthread.php?t=12921)

BornMunson 03-20-2005 02:36 PM

Creating a side main menu
 
I am trying to create a main menu on the left side of my shopping cart, where the Categories and Help menu is, which would have links to other parts of my site. Does anyone have a template for doing this or can anyone give me some instructions on setting something like this up?

Also I am trying to change the Page Title Format under SEO Options, so that the title bar will show up as Product Name :: Category Name, so that it will not display the Store Name in the title bar. Can anyone offer any advice on that as well?

BornMunson 03-20-2005 02:37 PM

I am running X-Cart 4.0.9

MythNReality 03-28-2005 08:11 PM

Hi Born,

I don't know why NO one has respond your question...I actually have the same, and have asked the tech support, here below is the response from the tech support. Although I am able to add two boxed but, still working on getting it the way I wanted...Hope this would help.

To implement this you should:
1. Create 2 new templates for these dialogs.
You can copy the existing templates with a new names and then edit
them.

2. Then you should include these new templates into the
skin1/customer/home.tpl.file.

For example:
1. Copy skin1/help.tpl to the skin1/dialog1.tpl and to the dilog2.tpl
2. Delete the content of these dialogs templates and add your
information.
3. Include these templates into the skin1/customer/home.tpl:

{include file= "dialog.tpl"}

These blocks will go in the same sequence as they are included into the
home.tpl file.
If you want the block to be displayed on the left side of the page you
should include them in this section:


<TABLE border="0" width="100%" cellpadding="0" cellspacing="0"
align="center">
<TR>
<TD width="6"></TD>
<TD width="150" valign="top">
<!-- for example, if you include your block here itll be displayed
before the categories are-->
{if $categories ne "" and ($active_modules.Fancy_Categories ne "" or
$config.General.root_categories eq "Y" or $subcategories ne "")}
{ include file="customer/categories.tpl" }


{/if}
{if $active_modules.Bestsellers ne "" and
$config.Modules.bestsellers_menu eq "Y"}
{ include file="modules/Bestsellers/menu_bestsellers.tpl" }
{/if}
{if $active_modules.Manufacturers ne "" and
$config.Modules.manufacturers_menu eq "Y"}
{ include file="modules/Manufacturers/menu_manufacturers.tpl" }
{/if}
{include file="customer/special.tpl"}
{ include file="help.tpl" }
[img]{$ImagesDir}/spacer.gif[/img]
</TD>
<TD width="20"> </TD>
<TD valign="top">

If you want them to be displayed on the right side you should include
the template in this section:



</TD>
<TD width="20"></TD>
<TD width="150" valign="top">
{if $active_modules.SnS_connector}
{include file="modules/SnS_connector/button.tpl"}



{/if}
{if $active_modules.Feature_Comparison ne "" && $comparison_products ne
''}
{ include file="modules/Feature_Comparison/product_list.tpl" }


{/if}
<!-- if you includes your template here itll be displayed before the
Your cart area.
{ include file="customer/menu_cart.tpl" }


{if $login eq "" }
{ include file="auth.tpl" }


{else}
{ include file="authbox.tpl" }


{/if}
{ include file="news.tpl" }
{if $active_modules.Interneka ne ""}


{ include file="modules/Interneka/menu_interneka.tpl" }
{/if}


Have fun playing around,
MythNReality
http://www.petadorn.com

BornMunson 03-28-2005 09:38 PM

Thanks for the reply. That should help me out a lot. I will give it a shot tonight.

mrbiggles 04-08-2005 03:12 AM

Thanks MythNReality

That is a very straight forward and easy to understand explanation. I now have the building blocks for my own custom menu.
I shall now go and create my masterpiece.

regards Adam


All times are GMT -8. The time now is 03:39 PM.

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