ericmckean / google-highly-open-participation-plone

Automatically exported from code.google.com/p/google-highly-open-participation-plone
0 stars 0 forks source link

Create a Plone 3 portlet that lets the user select an existing Page #31

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Using the new portlets infrastructure in Plone 3, create a portlet with a 
selection field where the 
user can choose a Page in the Plone site. When rendered, the portlet should 
show the contents of 
the page, with appropriate styling.

Original issue reported on code.google.com by optil...@gmail.com on 19 Nov 2007 at 11:30

GoogleCodeExporter commented 9 years ago

Original comment by l...@gmail.com on 27 Nov 2007 at 7:10

GoogleCodeExporter commented 9 years ago
> When rendered, the portlet should show the contents of  the page, with 
appropriate styling.

What do you mean by this? Should the selected page render as a thumbnail inside 
the portlet?

Original comment by filip.ha...@googlemail.com on 28 Dec 2007 at 6:11

GoogleCodeExporter commented 9 years ago
I can't speak for opti, but this is a commonly tossed around use case, and 
probably
just means to render the content of a page into the portlet.  This allow content
managers to directly control such text, which may even have legal implications 
or for
other reasons need to be updated more often than a site style.

Make sure, however, that you are in touch with opti before going on my advice.

Original comment by justi...@gmail.com on 28 Dec 2007 at 6:26

GoogleCodeExporter commented 9 years ago
justizin is correct, you create a portlet that has a configuration screen that 
allows
you to select a page in your plone site.  The portlet then shows its content to 
be
whatever text is in that page.

You will probably have to define new CSS styles as some of the contents of a 
page
would be far too big to fit in a portlet with the standard styles.

Original comment by mw4...@googlemail.com on 28 Dec 2007 at 6:38

GoogleCodeExporter commented 9 years ago
Do you mean all page content (text, tables, images, links) shall render in the 
small portlet?

Original comment by filip.ha...@googlemail.com on 28 Dec 2007 at 7:02

GoogleCodeExporter commented 9 years ago
Yeah, that's right.  These will most likely be pages created specially.  If 
people
wanted to do funky stuff like strip tables out they could always extend this 
portlet
with their use case.

Original comment by mw4...@googlemail.com on 28 Dec 2007 at 7:52

GoogleCodeExporter commented 9 years ago

Original comment by mw4...@googlemail.com on 23 Jan 2008 at 11:41