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

JavaScript menu

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 07-02-2003, 10:45 PM
 
barabbas barabbas is offline
 

Advanced Member
  
Join Date: Feb 2003
Posts: 52
 

Default 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
Reply With Quote
  #2  
Old 07-03-2003, 12:44 PM
 
funkydunk funkydunk is offline
 

X-Man
  
Join Date: Oct 2002
Location: Cambridge, UK
Posts: 2,210
 

Default

think your system has cached the old version.

run cleanup.php to clear out the templates_c directory.

hth
__________________
ex x-cart guru
Reply With Quote
  #3  
Old 07-03-2003, 07:13 PM
 
barabbas barabbas is offline
 

Advanced Member
  
Join Date: Feb 2003
Posts: 52
 

Default

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

that didnt fix it any other ideas?

thanks for the reply though
Reply With Quote
  #4  
Old 07-15-2003, 07:33 PM
 
barabbas barabbas is offline
 

Advanced Member
  
Join Date: Feb 2003
Posts: 52
 

Default

bump - i need this fixed asap
Reply With Quote
  #5  
Old 07-15-2003, 10:01 PM
 
funkydunk funkydunk is offline
 

X-Man
  
Join Date: Oct 2002
Location: Cambridge, UK
Posts: 2,210
 

Default

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
__________________
ex x-cart guru
Reply With Quote
  #6  
Old 07-23-2003, 07:59 AM
 
Jonny Jonny is offline
 

Advanced Member
  
Join Date: Sep 2002
Posts: 67
 

Default

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

the ones after the <BODY> tag?

Jonny.
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:37 PM.

   

 
X-Cart forums © 2001-2020