Viewlet/portlet to include content/images

2 messages Options
Embed this post
Permalink
johnmartelli () Viewlet/portlet to include content/images
Reply Threaded More More options
Print post
Permalink
Hello,

I'm slowly learning Plone and setting up a small corporate web site, so forgive me if I ask a silly question.

I would like to include text or images from a document or folder as a portlet/viewlet. I have been able to use a collection portlet but this will only show the document titles and not the document contents. The same goes for images: I can use a collection portlet but this will show the image titles, not the images themselves.

The collection prtlet random feature also seems strange. I was expecting the portlet to randomly select several elements, but when it is checked only one element is displayed.

Any help is much appreciated.

Thanks,

John

Plone 3.2.1
CMF 2.1.2
Zope (Zope 2.10.7-final, python 2.4.5, linux2)
Python 2.4.5 (#1, Mar 5 2009, 16:19:37) [GCC 4.3.2 [gcc-4_3-branch revision 141291]]
PIL 1.1.6
Israel Saeta Pérez () Re: Viewlet/portlet to include content/images
Reply Threaded More More options
Print post
Permalink
johnmartelli wrote:

> Hello,
>
> I'm slowly learning Plone and setting up a small corporate web site, so forgive me if I ask a silly question.
>
> I would like to include text or images from a document or folder as a portlet/viewlet. I have been able to use a collection portlet but this will only show the document titles and not the document contents. The same goes for images: I can use a collection portlet but this will show the image titles, not the images themselves.
>
> The collection prtlet random feature also seems strange. I was expecting the portlet to randomly select several elements, but when it is checked only one element is displayed.
>
> Any help is much appreciated.
>  

Create your own portlet. There's currently not a lot of documentation
about how to do that in plone.org, but we're working on it. If you'd
like to contribute, please mail me (dukebody at gmail).

In the meantime, check
http://martinaspeli.net/articles/an-introduction-to-plone-portlets and
plone.portlets doctests.

-- israel


_______________________________________________
UI mailing list
[hidden email]
http://lists.plone.org/mailman/listinfo/ui
Israel Saeta Pérez