Recent Topics

how to limit by item type using itemlist2?

Started by on Feb 25, 2007 – Contents updated: Feb 25, 2007

Feb 25, 2007 22:03    

Hi . I have created several types to my posts. I want to show one oe each type.

I'm doing that:


$FrasedoDia =  new ItemList2($Blog,NULL,NULL,1);
$FrasedoDia->default_filters['item_type'] = 6;

cause that:


$Frase =  new temList2($Blog,NULL,NULL,1,'ItemCache',array('item_type'=>3));

doen't works - ir brings not filtered by item_type.

The way that I'm doing that is right?


Form is loading...

Content Mangement System – This forum is powered by b2evolution CMS, a complete engine for your website.