Child pages
  • Display only active element in list
Skip to end of metadata
Go to start of metadata

Imported From: http://groups.google.com/group/in-portal-dev/browse_thread/thread/d02331a4fa43dd49#

Hi guys,

I'm using <inp2:ItemCount/> to display the number of elements inside a sub-cat. The matter is it it count all items, even one which are no active, i.e. not viewable by front-end visitor. Is there another tag which could list only active elements?

Thanks
p

2 Comments

  1. Nope, I see no point to have 2 tags: one for active and one for all item
    counting :)

    That sounds more like a bug, since in that ItemCount tags only items from
    Active categories are processed.

    On Wed, Jan 4, 2012 at 7:50 PM, Phil <p...@wbtc.fr> wrote:
    > Hi guys,

    > I'm using <inp2:ItemCount/> to display the number of elements inside a
    > sub-cat. The matter is it it count all items, even one which are no active,
    > i.e. not viewable by front-end visitor. Is there another tag which could
    > list only active elements?

    > Thanks
    > p

  2. ah. I wasn't sure if it was a bug, that why I posted here :)

    --  
    Phil
    Envoy