List Info

Thread: limit content of events portlet




limit content of events portlet
user name
2006-11-10 11:45:41
Hi all,

I am running a wiki for our research lab and just added a
folder for collecting 
Conference events. Naturally those events also show up in
the Events portlet of 
the portal (nice!) but I think it is getting too crowded
with for example 
conferences that are still one year away.

How can I limit the items in the events portlet to either a
fixed number or, 
much better, to items that are not more than 3 months away.
I tried to change 
the settings of the Events smartfolder but that doesn't
affect the events 
portlet it seems.

Any ideas?

BTW, the same goes for the news portlet: There are not many
news on our site and 
I would prefer not to have a 6 months old article in the
'News' box. Kind of 
defies the idea, doesn't it ?

Many thanks in advance!
Raik

-- 
________________________________

Dr. Raik Gruenberg
http://www.raiks.de/
contact.html
________________________________

_______________________________________________
Setup mailing list
Setuplists.plone.org
http://
lists.plone.org/mailman/listinfo/setup
limit content of events portlet
user name
2006-11-10 12:08:20
Raik Gruenberg schrieb:
> Hi all,
> 
> I am running a wiki for our research lab and just added
a folder for 
> collecting Conference events. Naturally those events
also show up in the 
> Events portlet of the portal (nice!) but I think it is
getting too 
> crowded with for example conferences that are still one
year away.
> 
> How can I limit the items in the events portlet to
either a fixed number 
> or, much better, to items that are not more than 3
months away. I tried 
> to change the settings of the Events smartfolder but
that doesn't affect 
> the events portlet it seems.
> 
> Any ideas?
> 
> BTW, the same goes for the news portlet: There are not
many news on our 
> site and I would prefer not to have a 6 months old
article in the 'News' 
> box. Kind of defies the idea, doesn't it ?
> 

[such a question should go to plone-user, btw]

As of now, the portlets do a search for the items to display
from
within their templates right away. So you have to customize
the
respective templates and adjust the catalog search therein
to
fit your needs (like restricting number of items to show or
adding some condition on modified ...)

Raphael

> Many thanks in advance!
> Raik
> 


_______________________________________________
Setup mailing list
Setuplists.plone.org
http://
lists.plone.org/mailman/listinfo/setup
limit content of events portlet
user name
2006-11-10 14:06:06
Raik,

When you create the event or news item, there is a
properties page. In 
that page there is an effective date (when plone will start
to make the 
item visible) and an expiration date (when plone makes the
item 
invisible).  Set the dates as you need the items to appear
and disappear.

Cheers

Jason

Raik Gruenberg wrote:
> Hi all,
>
> I am running a wiki for our research lab and just added
a folder for 
> collecting Conference events. Naturally those events
also show up in 
> the Events portlet of the portal (nice!) but I think it
is getting too 
> crowded with for example conferences that are still one
year away.
>
> How can I limit the items in the events portlet to
either a fixed 
> number or, much better, to items that are not more than
3 months away. 
> I tried to change the settings of the Events
smartfolder but that 
> doesn't affect the events portlet it seems.
>
> Any ideas?
>
> BTW, the same goes for the news portlet: There are not
many news on 
> our site and I would prefer not to have a 6 months old
article in the 
> 'News' box. Kind of defies the idea, doesn't it ?
>
> Many thanks in advance!
> Raik
>


_______________________________________________
Setup mailing list
Setuplists.plone.org
http://
lists.plone.org/mailman/listinfo/setup
[1-3]

about | contact  Other archives ( Real Estate discussion Medical topics )