X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Third Party Add-Ons for X-Cart 4 (https://forum.x-cart.com/forumdisplay.php?f=45)
-   -   Need help w/ Phil's 4-level vertical flyout (https://forum.x-cart.com/showthread.php?t=28613)

LisaB 02-06-2007 08:40 AM

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! :)

balinor 02-06-2007 08:41 AM

Re: Need help w/ Phil's 4-level vertical flyout
 
Moving to Third Party Add-Ons

LisaB 02-06-2007 08:50 AM

Re: Need help w/ Phil's 4-level vertical flyout
 
Thank you. I'm sorry, I put it in the wrong forum.

PhilJ 02-06-2007 09:08 AM

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....

LisaB 02-06-2007 09:43 AM

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.

PhilJ 02-06-2007 09:49 AM

Re: Need help w/ Phil's 4-level vertical flyout
 
Try the updated code above

LisaB 02-06-2007 09:59 AM

Re: Need help w/ Phil's 4-level vertical flyout
 
No, it's still doing it. :(

LisaB 02-06-2007 10:01 AM

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".

PhilJ 02-06-2007 10:06 AM

Re: Need help w/ Phil's 4-level vertical flyout
 
Try the second method then.

LisaB 02-06-2007 10:08 AM

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.


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

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