ADDON: CS2 Accordion Menu FREE

Hi



I’m using Version: 2.0.11

Is anyone using this mod having an issue with 2.1.1 and SEO url’s? None of the menu items use the SEO url’s since I went to 2.1.

The SEO urls have changed significantly in 2.1.1 and are now using the fn_url functionality. All href links will need to be changed to the new format which is:



OPEN …/skins/basic/customer/addons/accordion_menu/views/categories/components/categories_accordion.tpl



FIND:


{$subcategory.category}
REPLACE WITH:


{$subcategory.category}
*Note all href links will need this new format to work with SEO correctly.

Thanks Sno that worked just needed to add a } after the |fn_url in your Replace with code.

[quote name=‘whiplash13’]Thanks Sno that worked just needed to add a } after the |fn_url in your Replace with code.[/quote]

Oops, fixed in first post - Sno

It’s still not working for me on 2.1





{strip}
{foreach from=$categories item="category" name=$category.category_id}

{$subcategory.category}



{if $category.subcategories}

    {foreach from=$category.subcategories item="subcategory" name=$subcategory.parent_id}
  • {$subcategory.category}

  • {if $subcategory.subcategories}

      {foreach from=$subcategory.subcategories item="subcategory" name=$subcategory.parent_id}
    • {$subcategory.category}

    • {/foreach}

    {/if}
    {/foreach}

{/if}
{/foreach}
{/strip}



thats my code in categories_accordian.tpl in the base

any help please!!

my products are seo friendly but not the categories.

thanks tim

HI baballuci,



I upload the addon, and after installing the addon. when I click on Accordion Menu I am getting the message

“Access denied” and a blank page. Also when I click on Design > Blocks >

I am getting the same page.



I deactivated the addon. Is there something missing.



I am using the latest version of cs-cart.

Thanks.

Yeah, I’m getting access denied too,



I have it working perfect on 2.1.3 but on 2.1.2 it comes up access denied



Am using identical files

Hey love the addon. Is there any way of making this menu dynamic at all so that the category and sub category are selected a certain color and all the rest are the same color?



Any suggestions would be greatfully received.



Cheers

Tim

Tested on version 2.1.4, works great!

Thanks

Here is a copy of file categories_accordion.tpl

File Locate in



/public_html/skins/YOUR SKINS/customer/addons/accordion_menu/views/categories/components



This new version works good







{strip}
{foreach from=$categories item="category" name=$category.category_id}

{$category.category}


     

{if $category.subcategories}

    {foreach from=$category.subcategories item="subcategory" name=$subcategory.parent_id}
  • {$subcategory.category}

  • {if $subcategory.subcategories}

      {foreach from=$subcategory.subcategories item="subcategory" name=$subcategory.parent_id}
    • {$subcategory.category}

    • {/foreach}

    {/if}
    {/foreach}

{/if}
{/foreach}
{/strip}

After update the file , clear cache

Hello,

I would be interested to see a working store with v2.1.4, Im looking for similar .

Can some one post a link to their store example please?

Ver 2.2.4 compliant

accordion_menu.zip

Hi All,



This accordion_menu.zip work good in 2.2.4 ?



Thanks !



pferreiro

[quote name='pferreiro' timestamp='1327244181' post='129745']

Hi All,



This accordion_menu.zip work good in 2.2.4 ?



Thanks !



pferreiro

[/quote]



it works fine to me…2.2.4

Thank you



you have been a great help and now is the time to for you to be in fame. :)

@Everyone: I made a new Accordion Categories menu using better Javascript (jQuery) and upto 4 level categories supported.



It runs on CS-Cart 3 and up, without any core file changes; check it at my website and let me know your comments!



Find my website link on my Profile page :)

[quote name=‘Amir_de_odience’ timestamp=‘1347893454’ post=‘145225’]

@Everyone: I made a new Accordion Categories menu using better Javascript (jQuery) and upto 4 level categories supported.



It runs on CS-Cart 3 and up, without any core file changes; check it at my website and let me know your comments!



Find my website link on my Profile page :)

[/quote]



Could please share the code?

Is there anyway I can use this for 1 main category because its shows all the main categories I have