Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

Creating a side main menu

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 03-20-2005, 02:36 PM
 
BornMunson BornMunson is offline
 

Advanced Member
  
Join Date: Jan 2005
Posts: 46
 

Default 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?
__________________
X-Cart 4.7.3
Reply With Quote
  #2  
Old 03-20-2005, 02:37 PM
 
BornMunson BornMunson is offline
 

Advanced Member
  
Join Date: Jan 2005
Posts: 46
 

Default

I am running X-Cart 4.0.9
__________________
X-Cart 4.7.3
Reply With Quote
  #3  
Old 03-28-2005, 08:11 PM
  MythNReality's Avatar 
MythNReality MythNReality is offline
 

X-Adept
  
Join Date: Mar 2005
Location: S. Cali
Posts: 403
 

Default

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
__________________
_____________
Capture Your Mini-Me Look!

- X-CART Gold (Current Version) V4.6
- Reboot
- CDSEO
Reply With Quote
  #4  
Old 03-28-2005, 09:38 PM
 
BornMunson BornMunson is offline
 

Advanced Member
  
Join Date: Jan 2005
Posts: 46
 

Default

Thanks for the reply. That should help me out a lot. I will give it a shot tonight.
__________________
X-Cart 4.7.3
Reply With Quote
  #5  
Old 04-08-2005, 03:12 AM
 
mrbiggles mrbiggles is offline
 

Senior Member
  
Join Date: Jan 2005
Location: Adelaide , South Australia
Posts: 107
 

Default

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
__________________
www.creydall.com
X-Cart version 4.0.11
PHP 4.3.9 MySQL 4.0.22
Apache/1.3.33
Perl 5.008004
Adam
Adelaide South Australia
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


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

   

 
X-Cart forums © 2001-2020