Datafeedr Support Forums  

Go Back   Datafeedr Support Forums > Current Version (V3) Forum > Questions
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 July 27th, 2012, 10:47 PM
feeriejade feeriejade is offline
 
Join Date: Sep 2010
Posts: 120
Smile How to limit subcategories' showing

Store ID: 1364z8wtn9bvki7d
Website URL: mimizilla.com
URL to page in question: http://dogs.mimizilla.com/store/category/dog-store/

Hi,
Can I limit subcategories to 3?

like the first Category: "Apparel & Accessories" shows 16 subcategories, can I
only show first 3,plus "view more".

Like this website http://www.petsmart.com/category/ind...goryId=2767032

Thanks
Feerie
  #2  
Old July 27th, 2012, 11:08 PM
Eric's Avatar
Eric Eric is offline
Datafeedr Team
 
Join Date: Feb 2008
Posts: 16,902
Default

Hi

Yes, but it will require using some PHP in your views. There's a PHP variable named $nn that is a simple counter. You could implement a counter so that after 3 subcategories no more were displayed.

More info on that variable and manipulating categories can be found here: http://www.datafeedr.com/docs/item/169

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


All times are GMT -5. The time now is 09:30 AM.


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