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

Need help w/ Phil's 4-level vertical flyout

 
Reply
   X-Cart forums > X-Cart 4 > Third Party Add-Ons for X-Cart 4
 
Thread Tools
  #1  
Old 02-06-2007, 08:40 AM
 
LisaB LisaB is offline
 

Advanced Member
  
Join Date: Jan 2007
Posts: 74
 

Default Need help w/ Phil's 4-level vertical flyout

Hi!

Based on recommendations I read in this forum, I just "returned" my bloaty Fancy Categories and bought Phil's (UK) 4-level vertical flyout menu.

The problem is that I can't figure out how to add a "heading" to the menu (ie. "Categories").

Can someone help me figure this out?

Thank you!
__________________
XCart Version 4.1.6
PHP 4.4.4
MySQL 4.1.21-standard
Reply With Quote
  #2  
Old 02-06-2007, 08:41 AM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default Re: Need help w/ Phil's 4-level vertical flyout

Moving to Third Party Add-Ons
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #3  
Old 02-06-2007, 08:50 AM
 
LisaB LisaB is offline
 

Advanced Member
  
Join Date: Jan 2007
Posts: 74
 

Default Re: Need help w/ Phil's 4-level vertical flyout

Thank you. I'm sorry, I put it in the wrong forum.
__________________
XCart Version 4.1.6
PHP 4.4.4
MySQL 4.1.21-standard
Reply With Quote
  #4  
Old 02-06-2007, 09:08 AM
 
PhilJ PhilJ is offline
 

X-Guru
  
Join Date: Nov 2002
Posts: 4,094
 

Default Re: Need help w/ Phil's 4-level vertical flyout

Wrap menu.tpl code around the menu...

Code:
{capture name=menu} THE MENU {/capture} {include file="menu.tpl" dingbats="dingbats_categorie.gif" menu_title=$lng.lbl_categories menu_content=$smarty.capture.menu cellpadding=$fc_cellpadding}

or...

skin1/skin1.css

Code:
.catheader { background-color: #FF6600; height: 16px; width: 100%; padding: 5px; color: #FFFFFF; font-weight: bold; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 12px; }

skin1/customer/home.tpl

Just above your menu include code...

Code:
<div class="catheader"><img src="{$ImagesDir}/dingbats_categorie.gif" align="absmiddle" border="0"/>&nbsp;{lng.lbl_categories}</div>

Or something along those lines....
__________________
xcartmods.co.uk
Reply With Quote
  #5  
Old 02-06-2007, 09:43 AM
 
LisaB LisaB is offline
 

Advanced Member
  
Join Date: Jan 2007
Posts: 74
 

Default Re: Need help w/ Phil's 4-level vertical flyout

Hi Phil! Thanks for your reply. I tried this and get the following error:

Smarty error: [in customer/home.tpl line 40]: syntax error: unrecognized tag: lng.lbl_categories (Smarty_Compiler.class.php, line 436)

The label *does* exist, I've double checked.
__________________
XCart Version 4.1.6
PHP 4.4.4
MySQL 4.1.21-standard
Reply With Quote
  #6  
Old 02-06-2007, 09:49 AM
 
PhilJ PhilJ is offline
 

X-Guru
  
Join Date: Nov 2002
Posts: 4,094
 

Default Re: Need help w/ Phil's 4-level vertical flyout

Try the updated code above
__________________
xcartmods.co.uk
Reply With Quote
  #7  
Old 02-06-2007, 09:59 AM
 
LisaB LisaB is offline
 

Advanced Member
  
Join Date: Jan 2007
Posts: 74
 

Default Re: Need help w/ Phil's 4-level vertical flyout

No, it's still doing it.
__________________
XCart Version 4.1.6
PHP 4.4.4
MySQL 4.1.21-standard
Reply With Quote
  #8  
Old 02-06-2007, 10:01 AM
 
LisaB LisaB is offline
 

Advanced Member
  
Join Date: Jan 2007
Posts: 74
 

Default Re: Need help w/ Phil's 4-level vertical flyout

Quote:
Originally Posted by PhilJ
Wrap menu.tpl code around the menu...

Code:
{capture name=menu} THE MENU {/capture} {include file="menu.tpl" dingbats="dingbats_categorie.gif" menu_title=$lng.lbl_categories menu_content=$smarty.capture.menu cellpadding=$fc_cellpadding}


Hi again, not sure what you mean by "wrap around the menu".
__________________
XCart Version 4.1.6
PHP 4.4.4
MySQL 4.1.21-standard
Reply With Quote
  #9  
Old 02-06-2007, 10:06 AM
 
PhilJ PhilJ is offline
 

X-Guru
  
Join Date: Nov 2002
Posts: 4,094
 

Default Re: Need help w/ Phil's 4-level vertical flyout

Try the second method then.
__________________
xcartmods.co.uk
Reply With Quote
  #10  
Old 02-06-2007, 10:08 AM
 
LisaB LisaB is offline
 

Advanced Member
  
Join Date: Jan 2007
Posts: 74
 

Default Re: Need help w/ Phil's 4-level vertical flyout

I did, and all I got was the box, without the label. That's why I was wondering about the first method, since the second didn't work. I really appreciate your help with this. Thank you.
__________________
XCart Version 4.1.6
PHP 4.4.4
MySQL 4.1.21-standard
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Third Party Add-Ons for X-Cart 4



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:31 AM.

   

 
X-Cart forums © 2001-2020