News Portlet

6 messages Options
Embed this post
Permalink
thaynej () News Portlet
Reply Threaded More More options
Print post
Permalink
For Plone 2.5.  I need to allow for a review_state that includes multiple states.  

Ex.

I how do I modify the review_state below to include ‘published’ or ‘shared' states?

results python:request.get('news',
                                                here.portal_catalog.searchResults(portal_type='WU News Item',
                                                sort_on='Date',
                                                sort_order='reverse',
                                                review_state='published')[:5]);

Souheil CHELFOUH () Re: News Portlet
Reply Threaded More More options
Print post
Permalink
review_state=('published', 'shared')
the operand is OR by default.

2009/1/21 thaynej <[hidden email]>:

>
> For Plone 2.5.  I need to allow for a review_state that includes multiple
> states.
>
> Ex.
>
> I how do I modify the review_state below to include 'published' or 'shared'
> states?
>
> results python:request.get('news',
>
> here.portal_catalog.searchResults(portal_type='WU News Item',
>                                                sort_on='Date',
>                                                sort_order='reverse',
>
> review_state='published')[:5]);
>
>
> --
> View this message in context: http://n2.nabble.com/News-Portlet-tp2193176p2193176.html
> Sent from the User Interface & Design mailing list archive at Nabble.com.
>
>
> _______________________________________________
> UI mailing list
> [hidden email]
> http://lists.plone.org/mailman/listinfo/ui
>

_______________________________________________
UI mailing list
[hidden email]
http://lists.plone.org/mailman/listinfo/ui
Espen Moe-Nilssen () What "Sponsor" portlet - is it already made?
Reply Threaded More More options
Print post
Permalink
Some javascript/style in this post has been disabled (why?)
My customer (a small soccer club) wants to be able to add / remove sponsors from the right column.
I guess making a portlet that makes them add an image/logo that is scaled to (lets say) 200px wide and a url to where clicking on it should go is the right approach.

Is something like this already made?
If not I will make it as described above

Espen

_______________________________________________
UI mailing list
[hidden email]
http://lists.plone.org/mailman/listinfo/ui
Souheil CHELFOUH () Re: What "Sponsor" portlet - is it already made?
Reply Threaded More More options
Print post
Permalink
sd.imaging
http://tracker.trollfot.org/browser/projects/sd.imaging/trunk

2009/1/23 Espen Moe-Nilssen <[hidden email]>:

> My customer (a small soccer club) wants to be able to add / remove sponsors
> from the right column.
> I guess making a portlet that makes them add an image/logo that is scaled to
> (lets say) 200px wide and a url to where clicking on it should go is the
> right approach.
> Is something like this already made?
> If not I will make it as described above
> Espen
> _______________________________________________
> UI mailing list
> [hidden email]
> http://lists.plone.org/mailman/listinfo/ui
>
>

_______________________________________________
UI mailing list
[hidden email]
http://lists.plone.org/mailman/listinfo/ui
Espen Moe-Nilssen () Re: What "Sponsor" portlet - is it already made?
Reply Threaded More More options
Print post
Permalink
Some javascript/style in this post has been disabled (why?)
Thanks a lot.
Will try it.
Actually I also  came across this one when looking around this weekend:


Den 23. jan. 2009 kl. 20.16 skrev Souheil CHELFOUH:

sd.imaging

2009/1/23 Espen Moe-Nilssen <[hidden email]>:
My customer (a small soccer club) wants to be able to add / remove sponsors
from the right column.
I guess making a portlet that makes them add an image/logo that is scaled to
(lets say) 200px wide and a url to where clicking on it should go is the
right approach.
Is something like this already made?
If not I will make it as described above
Espen
_______________________________________________
UI mailing list




_______________________________________________
UI mailing list
[hidden email]
http://lists.plone.org/mailman/listinfo/ui
Souheil CHELFOUH () Re: What "Sponsor" portlet - is it already made?
Reply Threaded More More options
Print post
Permalink
As far as I know, it doesn't handle thumbnails

2009/1/26 Espen Moe-Nilssen <[hidden email]>:

> Thanks a lot.
> Will try it.
> Actually I also  came across this one when looking around this weekend:
> http://pypi.python.org/pypi/ely.portlets.image/
>
> Den 23. jan. 2009 kl. 20.16 skrev Souheil CHELFOUH:
>
> sd.imaging
> http://tracker.trollfot.org/browser/projects/sd.imaging/trunk
> 2009/1/23 Espen Moe-Nilssen <[hidden email]>:
>
> My customer (a small soccer club) wants to be able to add / remove sponsors
> from the right column.
> I guess making a portlet that makes them add an image/logo that is scaled to
> (lets say) 200px wide and a url to where clicking on it should go is the
> right approach.
> Is something like this already made?
> If not I will make it as described above
> Espen
> _______________________________________________
> UI mailing list
> [hidden email]
> http://lists.plone.org/mailman/listinfo/ui
>
>
>

_______________________________________________
UI mailing list
[hidden email]
http://lists.plone.org/mailman/listinfo/ui