| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Fancy Categories Horitontal Menu Quesion | |||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
![]() Can anyone tell me how i can use the xcart built in flyout menu for the categories for a horizontal version at all please ?
Ive got this for my menu <div id='cssmenu'> <ul> {assign var="loop_name" value="subcat`$parentid`"} {foreach from=$categories_menu_list item=c key=catid name=$loop_name} <li class="has-sub"> {strip} <a href="home.php?cat={$catid}" class="has-sub"> {$c.category|amp} {if $config.Flyout_Menus.icons_display_products_cnt eq 'Y' and $c.top_product_count gt 0} ({$c.top_product_count}) {/if} </a> {/strip} {if $c.childs and $c.subcategory_count gt 0 and ($config.Flyout_Menus.icons_levels_limit eq 0 or $config.Flyout_Menus.icons_levels_limit gt $level)} {include file="`$fc_skin_path`/subcategories.tpl" categories_menu_list=$c.childs parentid=$catid level=$level+1} {/if} </li> {/foreach} </ul> </div> And it works ok with my CSS i have in place but the drop down menu isnt appearing, id really appreciate any tips or help on this
__________________
X-Cart Version 4.55 |
|||||||
#2
|
|||||||||
|
|||||||||
![]() Here is some code I've been using for a client site.
horiz_menu.tpl Code:
Code:
__________________
Mike White - Now Accepting new clients and projects! Work with the best, get a US based development team for just $125 an hour. Call 1-502-773-6454, email mike at babymonkeystudios.com, or skype b8bym0nkey XcartGuru X-cart Tutorials | X-cart 5 Tutorials Check out the responsive template for X-cart. |
|||||||||
#3
|
|||||||
|
|||||||
![]() thanks for that mate, but when i apply the code to mine is seems blank
__________________
X-Cart Version 4.55 |
|||||||
#4
|
|||||||||
|
|||||||||
![]() Well, I saw some mistakes and removed those, also cleaned it up and removed a div or two.
I am just posting this as an example of how I accomplished this. Try turning off cacheing for flyout categories and see if that helps.
__________________
Mike White - Now Accepting new clients and projects! Work with the best, get a US based development team for just $125 an hour. Call 1-502-773-6454, email mike at babymonkeystudios.com, or skype b8bym0nkey XcartGuru X-cart Tutorials | X-cart 5 Tutorials Check out the responsive template for X-cart. |
|||||||||
![]() |
|
Thread Tools | Search this Thread |
|
|
|
|||
X-Cart forums © 2001-2020
|