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)
-   -   Change Menu Side (https://forum.x-cart.com/showthread.php?t=1170)

Kanyon71 01-13-2003 11:12 AM

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.

B00MER 01-13-2003 11:49 AM

skin1/customer/home.tpl, re-arrange your table :D

Kanyon71 01-13-2003 12:07 PM

Any idea on what home.tpl file I could compare against to see what I need to move where?

shan 01-13-2003 02:45 PM

all the menu tpl files are added via include statements. just grab the code and cut and paste over to the other side

Kanyon71 01-14-2003 06:25 PM

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

John7 01-14-2003 11:20 PM

Change the cell properties to align to the top.

Kanyon71 01-19-2003 01:15 PM

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

shan 01-19-2003 01:24 PM

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>


Kanyon71 01-19-2003 02:13 PM

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.

shan 01-19-2003 02:17 PM

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


All times are GMT -8. The time now is 03:07 AM.

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