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)
-   -   JavaScript menu (https://forum.x-cart.com/showthread.php?t=3435)

barabbas 07-02-2003 10:45 PM

JavaScript menu
 
im using x-cart 3.4.2. im wondering how to remove the javascript menu i have in my categories.tpl at www.mayhemcomputers.com.au .

i decided to change to a text menu so i did that and removed the code the included the java menu however the menu still loads and is covering up my banner. i have no idea why or how to fix it, i hope you guys can help

heres my old categoreis.tpl
(uses javascript menu)
Quote:


{* $Id: categories.tpl,v 1.18 2003/02/25 08:58:46 olga Exp $ *}

<TABLE border=0 cellPadding=2 cellSpacing=0 width=100%>

<TR>

<TD class=HeadBox background="{$ImagesDir}/leftheading.gif" style="background-repeat: repeat-x">
[img]{$ImagesDir}/dingbats_categorie.gif[/img]
<TD class=VertMenuTitle height=26 valign=center width="80%" background="{$ImagesDir}/leftheading.gif" style="background-repeat: repeat-x">
[b]<font color="ffffff">Categories</font></TD>



<tr><td colspan=2>



<a href="/">[b]&nbspHome
</a>
&nbspContact Details

</font>

<HR>
<div id="MayhemMenu" style="position: relative;width:100%;height:115;"></div>

</td></tr>

</TABLE>





and heres the categories.tpl im using now
Quote:

{* $Id: categories.tpl,v 1.18 2003/02/25 08:58:46 olga Exp $ *}

<TABLE border=0 cellPadding=2 cellSpacing=0 width=100%>

<TR>

<TD class=HeadBox background="{$ImagesDir}/leftheading.gif" style="background-repeat: repeat-x">
[img]{$ImagesDir}/dingbats_categorie.gif[/img]
<TD class=VertMenuTitle height=26 valign=center width="80%" background="{$ImagesDir}/leftheading.gif" style="background-repeat: repeat-x">
[b]<font color="ffffff">Categories</font></TD>



<tr><td colspan=2>

<a href="/">[b]&nbspHome
</a>
&nbspContact Details

</font>



<HR>


{if $config.General.root_categories eq "Y"}
{section name=cat_num loop=$categories}
{ $categories[cat_num].category|escape }

{if $cat eq $categories[cat_num].categoryid}
{section name=subcat_num loop=$subcategories}
{ $subcategories[subcat_num].category|escape }

{/section}
{/if}
{/section}
{/if}



</td></tr>

</TABLE>






thanks

funkydunk 07-03-2003 12:44 PM

think your system has cached the old version.

run cleanup.php to clear out the templates_c directory.

hth

barabbas 07-03-2003 07:13 PM

Quote:

The compiled templates cache ("templates_c" directory) has been cleaned up.

that didnt fix it :( any other ideas?

thanks for the reply though

barabbas 07-15-2003 07:33 PM

bump - i need this fixed asap :(

funkydunk 07-15-2003 10:01 PM

Your old file is the one that is being used - try renaming the templates_c directory to templates_c_1

This will force the system to recreate your templates cache.

First, double check that the new file is loaded up to the server.

nice site btw :D

Jonny 07-23-2003 07:59 AM

have you removed the call to the javascript files in your home.tpl ?

the ones after the <BODY> tag?

Jonny.


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

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