Showing a form in collective.easyslider

by Espen Moe-Nilssen last modified Nov 29, 2011 05:10 PM
This document describes how you can embedd a ploneformgen form within collective.easyslider

Warning: this might be a security risk because you are allowing html code that are usually filtered out.

  • Install collective.easyslider and collective.easytemplate
  • Add your FormFolder
  • Go to Plone Control Panel and select the html filtering
  • Remove the form fields you will use in your form (typically input, form, textarea, fieldset, button)

    htmlfiltering

  • Add a slider,
    addslider
  • Make sure the "easytemplate" checkbox is checked
    easytemplatechecked

  • add {{ portal.restrictedTraverse("myform/embedded")() }} to the body text of a slide
    easytemplatetext
  • If the html is still filtered out, try restarting zope.