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

4 Level SEO friendly Flyout Menus - 4.1.x compatible

 
Reply
   X-Cart forums > X-Cart 4 > Changing and adding new features
 
Thread Tools Search this Thread
  #21  
Old 07-25-2008, 01:46 PM
  2coolbaby's Avatar 
2coolbaby 2coolbaby is offline
 

eXpert
  
Join Date: Sep 2004
Location: TN moving to FL
Posts: 265
 

Default Re: 4 Level SEO friendly Flyout Menus - 4.1.x compatible

Does anyone know how I can get rid of that ugly plus sign that is before any categories that have a subcategory? Probably something simple, but I can't figure it out.
__________________
Mary Lee
-------------------
Dinner and a Murder Mystery Games
http://www.dinnerandamurder.com

x-cart version 4.7.5 / Mac OS 10.10.5 and Windows 8/10 sometimes - Ideal Responsive Template
Reply With Quote
  #22  
Old 07-26-2008, 04:54 AM
 
konadnailart konadnailart is offline
 

Member
  
Join Date: Mar 2005
Posts: 27
 

Default Re: 4 Level SEO friendly Flyout Menus - 4.1.x compatible

goto menu.tpl

look for this line

{assign var=subcatSymbol value='<b id="floatingBold">+</b>'}

just remove the +

This mod works great on 4.1.9

Amost bought a the mod.

Thanks
__________________
Xcart 4.1.9, AOM, One Page Checkout, Buy Together, Smart Search, On Sale, XC SEO Pro, Preordered/Backordered, Reward Points (Unresolve Issue), Marketing Manager Pro V3, RubyMod Currency, GeoIP.
Reply With Quote
  #23  
Old 08-22-2008, 10:33 AM
 
rick2003 rick2003 is offline
 

Member
  
Join Date: Jan 2008
Posts: 20
 

Default Re: 4 Level SEO friendly Flyout Menus - 4.1.x compatible

within the product.tpl, when i review the product, the subcategory will not show any more, please help. Here is the code for menu.tpl

followed exactly the instruction in first page.

website: www.lywoo.com, please click on a product, you will see that the flyout menu is not working anymore. 4.1.9 version xcart

Quote:
{capture name=menu}
<ul id="navmenu">
{assign var=counter value=0}
{foreach from=$categories item=level_one_cat name="Root"}
{assign var=counter value=$counter+1}
{if $level_one_cat.parentid eq 0 and $level_one_cat.avail eq "Y"}
<li><a href="/home.php?cat={$level_one_cat.categoryid}" alt="{$level_one_cat.category}">{$level_one_cat.ca tegory}{if $level_one_cat.subcategory_count gt 0}{/if}</a>
{if $level_one_cat.subcategory_count gt 0}
<ul id="navmenu1">
{foreach from=$allcategories item=level_two_cat name="Level_Two"}
{assign var=counter value=$counter+1}
{if $level_two_cat.parentid eq $level_one_cat.categoryid}
<li><a href="/home.php?cat={$level_two_cat.categoryid}" alt="{$level_two_cat.category}">{$level_two_cat.ca tegory}{if $level_two_cat.subcategory_count gt 0}{/if}</a>
{if $level_two_cat.subcategory_count gt 0}
<ul>
{foreach from=$allcategories item=level_three_cat name="Level_Three"}
{assign var=counter value=$counter+1}
{if $level_three_cat.parentid eq $level_two_cat.categoryid}
<li><a href="/home.php?cat={$level_three_cat.categoryid}" alt="{$level_three_cat.category}">{$level_three_ca t.category}{if $level_three_cat.subcategory_count gt 0}{/if}</a>
{if $level_three_cat.subcategory_count gt 0}
<ul>
{foreach from=$allcategories item=level_four_cat name="Level_Four"}
{assign var=counter value=$counter+1}
{if $level_four_cat.parentid eq $level_three_cat.categoryid}
<li><a href="/home.php?cat={$level_four_cat.categoryid}" alt="{$level_four_cat.category}">{$level_four_cat. category}</a></li>
{/if}
{/foreach}
</ul>
{/if}
</li>
{/if}
{/foreach}
</ul>
{/if}
</li>
{/if}
{/foreach}
</ul>
{/if}
</li>
{/if}
{/foreach}
</ul>
{/capture}
{ include file="menu.tpl" dingbats="dingbats_categorie.gif" menu_title=$lng.lbl_categories menu_content=$smarty.capture.menu cellpadding=$fc_cellpadding}
__________________
Version 4.1.9
Highly Modified X-cart

www.lywoo.com
Reply With Quote
  #24  
Old 09-16-2008, 03:24 AM
 
autobulbs autobulbs is offline
 

Advanced Member
  
Join Date: Feb 2007
Location: Southampton, UK
Posts: 68
 

Default Re: 4 Level SEO friendly Flyout Menus - 4.1.x compatible

I assume you've done this:

open /home.php.
Find:
Code:
define('OFFERS_DONT_SHOW_NEW',1); require "./auth.php";

After, add:
Code:
/* Makes fly-out menus show all levels properly */ define("GET_ALL_CATEGORIES", true);

Now do the same for manufacturers.php and product.php
__________________
Autobulbs Direct Ltd
X-Cart Version: 4.2.2
eWay Designs - Custom X-Cart Templates / CMS Websites / Bespoke web applications
Reply With Quote
  #25  
Old 09-16-2008, 05:05 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 - 4.1.x compatible

Since there appears to several variations with this mod is there a recommendation for which to use with the latest version (4.1.11, and also 4.1.10) of X-cart? Right now I am using the 4-level vertical flyout menu from xcartmods.co.uk but it doesn't validate for XHTML 1.0 Transitional.
__________________
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 09-16-2008, 05:56 AM
  PhilJ's Avatar 
PhilJ PhilJ is offline
 

X-Guru
  
Join Date: Nov 2002
Location: UK
Posts: 3,696
 

Default Re: 4 Level SEO friendly Flyout Menus - 4.1.x compatible

@ JWait, it should validate, unless you are using an older version of the mod.
Reply With Quote
  #27  
Old 09-16-2008, 07:39 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 - 4.1.x compatible

The errors I get are...
Code:
# Error Line 201, Column 4: end tag for "ul" which is not finished. </ul> ✉ Most likely, you nested tags and closed them in the wrong order. For example <p><em>...</p> is not acceptable, as <em> must be closed before <p>. Acceptable nesting is: <p><em>...</em></p> Another possibility is that you used an element which requires a child element that you did not include. Hence the parent element is "not finished", not complete. For instance, in HTML the <head> element must contain a <title> child element, lists (ul, ol, dl) require list items (li, or dt, dd), and so on.

I think it has to do with the fact that the tags are nested (and are unclosed) which isn't allowed for XHTML 1.0 Transitional from what I understand. The instructions said something about using HTML 4.01 Transitional (with a loose.dtd) but that doesn't validate with the rest of the page.
The version I have probably is an older version as I wasn't even aware there is a newer one.
__________________
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
  #28  
Old 11-03-2008, 06:37 AM
 
jhug jhug is offline
 

Advanced Member
  
Join Date: Nov 2004
Posts: 31
 

Default Having a strange issue with this mod

I have 3 root level categories that are not showing up when I use this modification in 4.1.9. All three categories have category ids in the 100s (179, 184, 194). This is the only commonality between the categories that I can see. I have tried switching the sort order thinking it might be limiting the number of root categories it was showing to 10, but that does not help. All of the subcategories do show up for the root categories that work (even those with category ids in the 100s (e.g. 172) ).

The only other similarity is that these 3 categories do not have any subcategories. However, I added fake subcategories and products into those subcategories, cleared the template cache, cleared the browser cache and still the root level categories did not appear.

Any thoughts?
__________________
4.1.9 x-cart
4.4.4 in dev
Reply With Quote
  #29  
Old 11-14-2008, 12:56 PM
 
stizz stizz is offline
 

Advanced Member
  
Join Date: Mar 2008
Posts: 51
 

Default Re: 4 Level SEO friendly Flyout Menus - 4.1.x compatible

Hey dudes,
We've added the 4 level flyout menus and it works fine! Thanks. Now we would like to change the vertical flyout menu into a horizontal flyout menu... We really don't have a clue where to start . Is there anyone who knows what we should change????

Thanks in advance!
Greetings from cold rainy Holland!

Peter & Yorick
__________________
http://www.stizz.nl X-Cart version 4.1.9 & 4.5.
Reply With Quote
  #30  
Old 11-15-2008, 07:35 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 - 4.1.x compatible

http://www.xcartmods.co.uk/x-cart-4-level-horizontal-dropdown-category-menu-v4x-x-cart-mods-pr-6.html
__________________
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
Reply
   X-Cart forums > X-Cart 4 > Changing and adding new features


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 04:08 AM.

   

 
X-Cart forums © 2001-2020