Announcement

Collapse
No announcement yet.

Listing Sub Categories with A-Z Menu

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Listing Sub Categories with A-Z Menu

    I have a Category Brands where there are over 200 Brands listed using the a custom field Short-Title and displaying the Category Tree Image. It is a bit unwieldy to navigate and I wanted to be able to display an # A B C ... Z ALL Index at the top of the page, display the categories alphabetically with A, B, C.. headers and then to show categories based on the Character selected. On my previous non Miva Site i had a drop down list we hard coded and had to constantly maintain that was great for our customers to easily get to the Brand they were interested in. However, I would prefer this A-Z method.

    I ran across an old post on the forum with someone asking if their was a module that would help with this and the following code was listed and the person asking for this sort of logic claimed it worked and was what they were looking for. Is toolkit and older module that has been retired? or replaced with a new module. I know this can be done with some coding and css but I was hoping this might still be available. I am sure this has been coded already somewhere but at this point this was the best possible solution that I have found. Thanks for your help.
    Code:
     
     <mvt:item name="toolkit" param="subcat|ccount|g.Category_Code" /> <mvt:item name="toolkit" param="asortmulti|l.all_settings:sub_categories|:code|1" />   <div id="subcategory-listing"> 	 	<mvt:foreach iterator="sub_category" array="sub_categories"> 		<mvt:item name="toolkit" param="catimage|subcatImage|l.all_settings:sub_category:code" /> 			<div class="subcategory-wrapper"> 		 			<span class="subcategory-wrapper-name"><a href="http://&mvt:global:domain:name;/category/&mvta:sub_category:code;.html" title="Shop &mvte:sub_category:name; Now"><img src="&mvt:global:subcatImage;" />&mvte:sub_category:name;</a></span> 		</div> 	</mvt:foreach> </div>
Working...
X