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

4 Level SEO friendly Flyout Menus

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions
 
Thread Tools Search this Thread
  #21  
Old 11-29-2008, 08:20 AM
 
leannew leannew is offline
 

Member
  
Join Date: Sep 2006
Posts: 25
 

Default Re: 4 Level SEO friendly Flyout Menus

Hi,I have been using this fly out menu for about a year now and it works fine .The only problem I am having is I have lost the "CATEGORY" title bar at the top of the category list .Has anyone got a fix for this by any chance ?
__________________
leanne Winner
xcat version 4.0.19
Now trying 4.3.1
Reply With Quote
  #22  
Old 11-29-2008, 08:44 AM
  JWait's Avatar 
JWait JWait is offline
 

X-Man
  
Join Date: Nov 2005
Location: California
Posts: 2,440
 

Default Re: 4 Level SEO friendly Flyout Menus

Make sure you have...

{include file="menu.tpl" dingbats="dingbats_categorie.gif" menu_title=$lng.lbl_categories menu_content=$smarty.capture.menu cellpadding=$fc_cellpadding}

at the bottom of the skin1/menus/vert.tpl. The menu_title=$lng.lbl_categories part is what displays the title. Make sure it is not blank in your "Languages" section of admin.
__________________
Two Separate X-Cart Stores
Version 4.4.4 Gold - X-AOM - Vivid Dreams Aquamarine (modified) - Linux
Mods - Newest Products - View All -, and a few others. Numerous upgrades from 4.0.x series.
Integrated with Stone Edge Order Manager + POS

Version 4.1.12 Gold (fresh install) - X-AOM - Linux
Mods - XCSEO free
Reply With Quote
  #23  
Old 11-29-2008, 02:36 PM
 
alru111 alru111 is offline
 

eXpert
  
Join Date: Dec 2005
Posts: 244
 

Default Re: 4 Level SEO friendly Flyout Menus

can disappearance of the menu be delayed by means of JS?
__________________
X-Cart version 4.0.19
Reply With Quote
  #24  
Old 11-30-2008, 05:58 AM
 
leannew leannew is offline
 

Member
  
Join Date: Sep 2006
Posts: 25
 

Default Re: 4 Level SEO friendly Flyout Menus

Quote:
Originally Posted by JWait
Make sure you have...

{include file="menu.tpl" dingbats="dingbats_categorie.gif" menu_title=$lng.lbl_categories menu_content=$smarty.capture.menu cellpadding=$fc_cellpadding}
at the bottom of the skin1/menus/vert.tpl. The menu_title=$lng.lbl_categories part is what displays the title. Make sure it is not blank in your "Languages" section of admin.
Thanks for the quick response.Now if only I have a skin1/menus/vert.tpl.
The original 4 level flyout instructions did not specify to create one .I created skin1/menu/menu.tpl+ //menu.js+// menu. css.I already had skin1/menu.tpl and skin 1.menu_profile.tpl.
Languages is not blank
__________________
leanne Winner
xcat version 4.0.19
Now trying 4.3.1
Reply With Quote
  #25  
Old 11-30-2008, 07:28 AM
  JWait's Avatar 
JWait JWait is offline
 

X-Man
  
Join Date: Nov 2005
Location: California
Posts: 2,440
 

Default Re: 4 Level SEO friendly Flyout Menus

My bad. We are using the mod from http://www.xcartmods.co.uk.
How old is your version? I asked about this and found there was an updated one. The one we had on our x-cart 4.0.19 site had the folder named "v4menu". The new version had us name the folder "menus".
__________________
Two Separate X-Cart Stores
Version 4.4.4 Gold - X-AOM - Vivid Dreams Aquamarine (modified) - Linux
Mods - Newest Products - View All -, and a few others. Numerous upgrades from 4.0.x series.
Integrated with Stone Edge Order Manager + POS

Version 4.1.12 Gold (fresh install) - X-AOM - Linux
Mods - XCSEO free
Reply With Quote
  #26  
Old 11-30-2008, 08:05 PM
 
leannew leannew is offline
 

Member
  
Join Date: Sep 2006
Posts: 25
 

Default Re: 4 Level SEO friendly Flyout Menus

I am using 4.0.19.I am using the ALLTRIBES fly out menu as above .I do not "vmenu" or 'menus"
__________________
leanne Winner
xcat version 4.0.19
Now trying 4.3.1
Reply With Quote
  #27  
Old 01-11-2009, 07:03 PM
 
leannew leannew is offline
 

Member
  
Join Date: Sep 2006
Posts: 25
 

Default Re: 4 Level SEO friendly Flyout Menus

If anyone is interested I put this flyout inside the "pure css round corner menu ."This solved both problems of not having category title as in prevoius post and uniforming the design .
In menu/menu tpl
<div class="xrounded">
<b class="xtop"><b class="xb1"></b><b class="xb2 color_a">
</b><b class="xb3 color_a"></b><b class="xb4 color_a"></b></b>
<div class="xboxcontent">
<h1 class="color_a">Categories</h1>
<div><p>
{$menu_content}</p></div>
</div>
<ul id="navmenu">
{section name=l1_cat_num loop=$categories}
{if $categories[l1_cat_num].parentid eq 0}
<li><a href="home.php?cat={$categories[l1_cat_num].categoryid}" alt="{$categories[l1_cat_num].category}">{$categories[l1_cat_num].category}{if $categories[l1_cat_num].subcategory_count gt 0}+</a>{else}</a></li>{/if}
{if $categories[l1_cat_num].subcategory_count gt 0}
<ul>
{section name=l2_cat_num loop=$allcategories}
{if $allcategories[l2_cat_num].parentid eq $categories[l1_cat_num].categoryid}
<li><a href="home.php?cat={$allcategories[l2_cat_num].categoryid}" alt="{$allcategories[l2_cat_num].category}">{$allcategories[l2_cat_num].category}{if $allcategories[l2_cat_num].subcategory_count gt 0}+</a>{else}</a></li>{/if}
{if $allcategories[l2_cat_num].subcategory_count gt 0}
<ul>
{section name=l3_cat_num loop=$allcategories}
{if $allcategories[l3_cat_num].parentid eq $allcategories[l2_cat_num].categoryid}
<li><a href="home.php?cat={$allcategories[l3_cat_num].categoryid}" alt="{$allcategories[l3_cat_num].category}">{$allcategories[l3_cat_num].category}{if $allcategories[l3_cat_num].subcategory_count gt 0}+</a>{else}</a></li>{/if}
{if $allcategories[l3_cat_num].subcategory_count gt 0}
<ul>
{section name=l4_cat_num loop=$allcategories}
{if $allcategories[l4_cat_num].parentid eq $allcategories[l3_cat_num].categoryid}
<li><a href="home.php?cat={$allcategories[l4_cat_num].categoryid}" alt="{$allcategories[l4_cat_num].category}">{$allcategories[l4_cat_num].category}</a></li>
{/if}{/section}</ul></li>
{/if}{/if}{/section}</ul></li>
{/if}{/if}{/section}</ul></li>
{/if}{/if}{/section}</ul>
<b class="xbottom"><b class="xb4"></b><b class="xb3"></b>
<b class="xb2"></b><b class="xb1"></b></b>
</div>
I also adjusted the width in skin 1 css
__________________
leanne Winner
xcat version 4.0.19
Now trying 4.3.1
Reply With Quote
  #28  
Old 07-09-2009, 12:57 PM
  mashing's Avatar 
mashing mashing is offline
 

Newbie
  
Join Date: May 2007
Location: Los Angeles, CA
Posts: 8
 

Default Re: 4 Level SEO friendly Flyout Menus

Anybody else having an issue with the v4menu in IE 8?
__________________
X-Cart 4.1.10
PHP 5.2.6
MySQL 5.0.27
Linux
Libcurl 7.15.5
Reply With Quote
  #29  
Old 07-09-2009, 01:18 PM
  mashing's Avatar 
mashing mashing is offline
 

Newbie
  
Join Date: May 2007
Location: Los Angeles, CA
Posts: 8
 

Default Re: 4 Level SEO friendly Flyout Menus

... never mind, figured it out. Just change all of the [if IE 7] to [if gte IE 7].
__________________
X-Cart 4.1.10
PHP 5.2.6
MySQL 5.0.27
Linux
Libcurl 7.15.5
Reply With Quote
  #30  
Old 08-14-2009, 11:25 AM
 
MrHeeltoe MrHeeltoe is offline
 

eXpert
  
Join Date: Jan 2006
Posts: 206
 

Default Re: 4 Level SEO friendly Flyout Menus

Installed and working on my 4.0.18 cart, but why doesn't is fly out for all cats? I modded the code to only fly out only one level, but it seems to only want to do it for some of them not all of them.

Quote:
Originally Posted by 0




<ul id="navmenu">
{section name=l1_cat_num loop=$categories}
{if $categories[l1_cat_num].parentid eq 0}
<li><a href="home.php?cat={$categories[l1_cat_num].categoryid}" alt="{$categories[l1_cat_num].category}">{$categories[l1_cat_num].category}{if $categories[l1_cat_num].subcategory_count gt 0}</a>{else}</a></li>{/if}
{if $categories[l1_cat_num].subcategory_count gt 0}
<ul>
{section name=l2_cat_num loop=$allcategories}
{if $allcategories[l2_cat_num].parentid eq $categories[l1_cat_num].categoryid}
<li><a href="home.php?cat={$allcategories[l2_cat_num].categoryid}" alt="{$allcategories[l2_cat_num].category}">{$allcategories[l2_cat_num].category}{if $allcategories[l2_cat_num].subcategory_count gt 0}</a>{else}</a></li>{/if}
{if $allcategories[l2_cat_num].subcategory_count gt 0}

{/if}{/if}{/section}</ul></li>
{/if}{/if}{/section}</ul>
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 12:10 AM.

   

 
X-Cart forums © 2001-2020