Hello, my situation:
I have two complex HTML structures a slider with panels that contain images an two textitems and i have a list wich shows more informations by mouseover. The condition is, that the normal user should not edit this complex markup in the editor. My Question, what is the best way to provide the markup?
register viewlets for the Section AboveContent and BelowContent and then a Behavior for enabled/disable the Viewlet
a Portlet and then customizing the page per plone.app.mosaic or contentwellportlet addon
plone.outputfilter, in the editor area a placeholder like ##BOX1## and then the transformation to markup
I hope my Question is clear?
best regards
The canonical approach is to use viewlets.
But I would recommend to use Rapido which is perfect for those kind of things: https://github.com/plomino/rapido.plone
Thanks, but what is the solution when the block only to be displayed on a single page or a small collection of pages? I think, an outpulfilter is a good choice, but not intuitive. The Szenario is: how can the user enable a box above the content body or below on a page with static content. But a On/Off Behavior in the Edit Form of the page is also a possibility. I'm not so sure.
I tried this product on Plone 5 and it crashed my site (instance wouldn't start). Buildout appeared to run fine, it found the product (sc.embedder v 1.0b5). After buildout/restart, site wouldn't start. When product removed from buildout and buildout/restart, site started normally.
Looking at the instance.log, the best I can figure out is this is the relevant error:
2016-01-19T17:45:41 INFO Products.PloneFormGen gpg_subprocess initialized, using /usr/bin/gpg
2016-01-19T17:45:44 WARNING plone.behavior Specifying 'for' in behavior 'Dynamic SearchableText indexer behavior' if no 'factory' is given has no effect and is superfluous.
(I can't be certain, but this error came up each time I tried to restart)
Thanks jensens.
I posted this error on the product github. The author got back to me and said it was explicitly on plone 4.
Too bad. Another good product not available for plone 5