Datafeedr Support Forums  

Go Back   Datafeedr Support Forums > Current Version (V3) Forum > Problems
Home Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Important - The support forums are now in "read-only" mode as we transition to an alternative help desk solution. Feel free to contact us here with any of your questions or search the forums for an existing solution.
 
 
Thread Tools Search this Thread Display Modes
  #1  
Old November 17th, 2011, 12:41 PM
Papada Papada is offline
 
Join Date: Oct 2011
Posts: 105
Smile Categories Widget : Count

[category.list before='<ul>' after='</ul>']

[category.if active="self"]
<li class="active">
[category.name]
[category.repeat]
</li>
[/category.if]



[category.if active="child"]
<li>
<a href="[category.link]" title="[category.name]">[category.name]</a>
<span id="[category.count total='no']"><small>([category.count])</small></span>
[category.repeat]
</li>
[/category.if]



[category.if active="parent"]
<li>
<a href="[category.link]" title="[category.name]">[category.name]</a>
<span id="[category.count total='no']"><small>([category.count])</small></span>
</li>
[/category.if]

[category.if active="no"]
<li>
<a href="[category.link]" title="[category.name]">[category.name]</a>
</li>
[/category.if]

[/category.list]


Category list options :
Display mode : Full tree
Sort mode : Keep factory sorting
Maximum tree depth : 2

?? I lost number in sub-category count after I click sub-category but it show on parent-category ??

I want to show the number only sub-category only. How can I set this widget??
__________________
  #2  
Old November 17th, 2011, 12:57 PM
Eric's Avatar
Eric Eric is offline
Datafeedr Team
 
Join Date: Feb 2008
Posts: 16,902
Default

Quote:
Originally Posted by Papada View Post
?? I lost number in sub-category count after I click sub-category but it show on parent-category ??

I want to show the number only sub-category only. How can I set this widget??
Hi

What number are you referring to? I don't know what number you want to display.

Eric
  #3  
Old November 17th, 2011, 02:44 PM
Papada Papada is offline
 
Join Date: Oct 2011
Posts: 105
Default

__________________
  #4  
Old November 17th, 2011, 04:20 PM
Eric's Avatar
Eric Eric is offline
Datafeedr Team
 
Join Date: Feb 2008
Posts: 16,902
Default

Hi

I don't see anything in your post...

Eric
  #5  
Old November 18th, 2011, 06:10 AM
Papada Papada is offline
 
Join Date: Oct 2011
Posts: 105
Default

the number is category.count total
__________________
  #6  
Old November 18th, 2011, 09:40 AM
Eric's Avatar
Eric Eric is offline
Datafeedr Team
 
Join Date: Feb 2008
Posts: 16,902
Default

Hi

This tag will display the count:

[category.count total="yes|no"]

If "total" is "yes" or omitted, it shows the total number of products, otherwise the count is only for this category.

Place the tag right after the [category.name] tag.

Eric
 


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Category Widget - Sub Categories not showing everywhere sylviathewitch Problems 3 March 8th, 2011 08:41 AM
Is it possible to hide particular categories in the category widget? badm00n Questions 4 January 15th, 2011 08:31 PM


All times are GMT -5. The time now is 12:58 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.