List Info

Thread: limit content of events portlet




limit content of events portlet
user name
2006-11-10 13:05:41
Thanks for your fast response!

I am (yet) pretty clueless when it comes to modifying plone
components and 
templates. I couldn't even find the portlets in the ZMI.
Could you please give me a starting point from where to
modify the templates 
graphically or through Python?

Thanks a lot,
Raik

Raphael Ritz wrote:
> 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

-- 
________________________________

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 13:14:45
Raik Gruenberg schrieb:
> Thanks for your fast response!
> 
> I am (yet) pretty clueless when it comes to modifying
plone components 
> and templates. I couldn't even find the portlets in the
ZMI.

ZMI -> portal_skins -> plone_portlets ->

> Could you please give me a starting point from where to
modify the 
> templates graphically or through Python?

Most simply TTW in ZMI. Select the portlet you want to
change
and press 'customize'. This will result in a local copy of
the
template being generated in
portal_skins/custom/<name of template selected>
which will take precedence over the original one.

This new copy you can now edit TTW as you like.

HTH,

	Raphael

> 
> Thanks a lot,
> Raik
> 
> Raphael Ritz wrote:
>> 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
> 


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

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