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

Change Menu Side

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 01-13-2003, 11:12 AM
 
Kanyon71 Kanyon71 is offline
 

Senior Member
  
Join Date: Oct 2002
Location: Lutz, FL
Posts: 128
 

Default Change Menu Side

I am not sure what to search for but I need to change a menu from the right hand side to the left hand side. How can I do this without overwriting the files that already exist. I have made many changes to the menus and such and do not want to lose them or have to redo these changes.
__________________
Kanyon71
http://www.web-wizards.com
For hosting solutions that fully support X-Cart!
Mention the forums for a discounted package!
Reply With Quote
  #2  
Old 01-13-2003, 11:49 AM
  B00MER's Avatar 
B00MER B00MER is offline
 

X-Guru
  
Join Date: Sep 2002
Location: Keller, TX (Cart-Lab.com)
Posts: 3,165
 

Default

skin1/customer/home.tpl, re-arrange your table
__________________
Cart-Lab - 100+ Social Bookmarks for X-Cart.
Reply With Quote
  #3  
Old 01-13-2003, 12:07 PM
 
Kanyon71 Kanyon71 is offline
 

Senior Member
  
Join Date: Oct 2002
Location: Lutz, FL
Posts: 128
 

Default

Any idea on what home.tpl file I could compare against to see what I need to move where?
__________________
Kanyon71
http://www.web-wizards.com
For hosting solutions that fully support X-Cart!
Mention the forums for a discounted package!
Reply With Quote
  #4  
Old 01-13-2003, 02:45 PM
  shan's Avatar 
shan shan is offline
 

X-Guru
  
Join Date: Sep 2002
Location: Birmingham, UK
Posts: 6,163
 

Default

all the menu tpl files are added via include statements. just grab the code and cut and paste over to the other side
__________________
Looking for a reliable X-cart host ?
You wont go wrong with either of these.

EWD Hosting
Hands On Hosting
Reply With Quote
  #5  
Old 01-14-2003, 06:25 PM
 
Kanyon71 Kanyon71 is offline
 

Senior Member
  
Join Date: Oct 2002
Location: Lutz, FL
Posts: 128
 

Default

Ok for the life of me I cannot figure out where it's suppse to go I got the menu to switch sides at one point but the other peice was pushed down to the bottom then. I cannot figure out how to get them side by side from menu on right conttent on left to menu on left content on right.

Thanks
__________________
Kanyon71
http://www.web-wizards.com
For hosting solutions that fully support X-Cart!
Mention the forums for a discounted package!
Reply With Quote
  #6  
Old 01-14-2003, 11:20 PM
 
John7 John7 is offline
 

Senior Member
  
Join Date: Jan 2003
Posts: 136
 

Default

Change the cell properties to align to the top.
Reply With Quote
  #7  
Old 01-19-2003, 01:15 PM
 
Kanyon71 Kanyon71 is offline
 

Senior Member
  
Join Date: Oct 2002
Location: Lutz, FL
Posts: 128
 

Default

Ok I have tried and cannot figure out how to switch the side on this thing. I need to move the menu from the right to left here is the code if someone can show me what to change.

Code:
{* $Id: home.tpl,v 1.2.2.1 2002/10/03 10:21:19 zorg Exp $ *} { config_load file="$skin_config" } <html> <head> <title>{$lng.txt_site_title} {if $main eq "catalog"} {$lng.txt_subtitle_home} {elseif $main eq "help"} {$lng.txt_subtitle_help} {elseif $main eq "cart"} {$lng.txt_subtitle_cart} {elseif $main eq "checkout"} {$lng.txt_subtitle_checkout} {elseif $main eq "order_message"} {$lng.txt_subtitle_thankyou} {/if} </title> { include file="meta.tpl" } <link rel="stylesheet" href="{$SkinDir}/{#CSSFile#}"> </head> <body class="background"> { include file="rectangle_top.tpl" } { include file="head.tpl" } <table border=0 width=70% cellpadding=0 cellspacing=0 align="center"> <tr> <td width=20></td> <td valign=top> {include file="customer/home_main.tpl"} <td width=20></td> <td class=TableRight width=175 valign=top> { include file="mooses.tpl" } { include file="customer/categories.tpl" } { include file="customer/menu_cart.tpl" } {if $active_modules.Bestsellers ne "" and $config.Modules.bestsellers_menu eq "Y"} { include file="modules/Bestsellers/menu_bestsellers.tpl" } {/if} {if $active_modules.Gift_Certificates ne ""} { include file="modules/Gift_Certificates/gc_menu.tpl" } {/if} {if $login eq "" } { include file="auth.tpl" } {else} { include file="menu_profile.tpl" } {/if} { include file="help.tpl" } <table border=0 cellPadding=5 cellSpacing=0 width=100%> <TR> <TD class=MenuTitleLine height=26 valign=center width="100%" ><FONT class=TableLeftTitles>{$lng.lbl_about_our_site}</FONT> </TD> </TR> <tr><td colspan=2 class="TableLeftElements"> About us </td></tr> </table> <table border=0 cellPadding=5 cellSpacing=0 width=100%> <TR> <TD class=MenuTitleLine height=26 valign=center width="100%" ><FONT class=TableLeftTitles>Home</FONT> </TD> </TR> <tr><td colspan=2 class="TableLeftElements"> Home </td></tr> </table> {if $login eq "" } { include file="news.tpl" } {else} { include file="authbox.tpl" } {/if} { include file="testimonials.tpl"} More Testimonials { include file="mainlinks.tpl"} { include file="poweredby.tpl"} </td> <tr> <td></td> <td>{ include file="copyright.tpl" }</td> <td></td> <td></td> <td></td> </tr> </table> { include file="rectangle_bottom.tpl" } </body> </html>

Thanks,
Kanyon71
__________________
Kanyon71
http://www.web-wizards.com
For hosting solutions that fully support X-Cart!
Mention the forums for a discounted package!
Reply With Quote
  #8  
Old 01-19-2003, 01:24 PM
  shan's Avatar 
shan shan is offline
 

X-Guru
  
Join Date: Sep 2002
Location: Birmingham, UK
Posts: 6,163
 

Default

Is this what your after ?

I just moved everything that you had in a column on the right into a new column over on the left .....

Code:
{* $Id: home.tpl,v 1.2.2.1 2002/10/03 10:21:19 zorg Exp $ *} { config_load file="$skin_config" } <html> <head> <title>{$lng.txt_site_title} {if $main eq "catalog"} {$lng.txt_subtitle_home} {elseif $main eq "help"} {$lng.txt_subtitle_help} {elseif $main eq "cart"} {$lng.txt_subtitle_cart} {elseif $main eq "checkout"} {$lng.txt_subtitle_checkout} {elseif $main eq "order_message"} {$lng.txt_subtitle_thankyou} {/if} </title> { include file="meta.tpl" } <link rel="stylesheet" href="{$SkinDir}/{#CSSFile#}"> </head> <body class="background"> { include file="rectangle_top.tpl" } { include file="head.tpl" } <table border=0 width=70% cellpadding=0 cellspacing=0 align="center"> <tr> <td class=TableRight width=175 valign=top> { include file="mooses.tpl" } { include file="customer/categories.tpl" } { include file="customer/menu_cart.tpl" } {if $active_modules.Bestsellers ne "" and $config.Modules.bestsellers_menu eq "Y"} { include file="modules/Bestsellers/menu_bestsellers.tpl" } {/if} {if $active_modules.Gift_Certificates ne ""} { include file="modules/Gift_Certificates/gc_menu.tpl" } {/if} {if $login eq "" } { include file="auth.tpl" } {else} { include file="menu_profile.tpl" } {/if} { include file="help.tpl" } <table border=0 cellpadding=5 cellspacing=0 width=100%> <tr> <td class=MenuTitleLine height=26 valign=center width="100%" ><font class=TableLeftTitles>{$lng.lbl_about_our_site}</font> </td> </tr> <tr> <td colspan=2 class="TableLeftElements"> <a href="home.php?mode=about_us">About us</a> </td> </tr> </table> <table border=0 cellpadding=5 cellspacing=0 width=100%> <tr> <td class=MenuTitleLine height=26 valign=center width="100%" ><font class=TableLeftTitles>Home</font> </td> </tr> <tr> <td colspan=2 class="TableLeftElements"> Home </td> </tr> </table> {if $login eq "" } { include file="news.tpl" } {else} { include file="authbox.tpl" } {/if} { include file="testimonials.tpl"} More Testimonials { include file="mainlinks.tpl"} { include file="poweredby.tpl"} </td> <td width=20></td> <td valign=top> {include file="customer/home_main.tpl"} <tr> <td></td> <td></td> <td>{ include file="copyright.tpl" }</td> </tr> </table> { include file="rectangle_bottom.tpl" } </body> </html>
__________________
Looking for a reliable X-cart host ?
You wont go wrong with either of these.

EWD Hosting
Hands On Hosting
Reply With Quote
  #9  
Old 01-19-2003, 02:13 PM
 
Kanyon71 Kanyon71 is offline
 

Senior Member
  
Join Date: Oct 2002
Location: Lutz, FL
Posts: 128
 

Default

Shan,

Awesome thank you VERY much. If there is ANYTHING I can do for you please let me know. I own a small hosting company and would be more then willing to help in any way I can. You have helped me multiple times with this stuff and I never forget someone who helps me.
__________________
Kanyon71
http://www.web-wizards.com
For hosting solutions that fully support X-Cart!
Mention the forums for a discounted package!
Reply With Quote
  #10  
Old 01-19-2003, 02:17 PM
  shan's Avatar 
shan shan is offline
 

X-Guru
  
Join Date: Sep 2002
Location: Birmingham, UK
Posts: 6,163
 

Default

Its not a problem, Im glad to help.

people have helped me no end in the past and its good to give a bit back when u can.

You can always forward a bit of work my way if anything crops up.

Im always on the look out for new projects.

Gimme a shout off forum and let me know what your up to
__________________
Looking for a reliable X-cart host ?
You wont go wrong with either of these.

EWD Hosting
Hands On Hosting
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 02:58 AM.

   

 
X-Cart forums © 2001-2020