The PloneFormGen package has an option to add mailheaders to your form mailer action. This is available only to Managers.
- When you go to the Contents of your Form Folder, you will see your Mailer (default e-mail action).
- Click on the mail action and then Edit.
- In the tab Template you will find the field for Additional headers.
- Here you can fill in (RFC822 compliant) additional headers.
This can be used to insert mail-headers so for example contactform mails go into in the correct queue if the organisation has its own helpdesksystem.
- add collective.uploadify to your eggs and zcml section in buildout
- run buildout
What it does
After install, go to http://your-plone-site/@@upload
This gives you a place where you can browse for files, select files on your computer and upload them to your plone site.
Doesn’t contain a Generic Setup profile, but is easily addable in any policy package or just addable in the ZMI.
See more info on pypi page:
If you want to smoothly integrate the upload funtionality to your site, consider to add the following lines
to your policy product in the profiles/default/actions.xml:
or simply go to the Zope Management Interface -> portal_actions -> object and add a new CMF Action Category
from the dropdown and configure it with the following lines:
The pypi page also mentions that you can set site_properties, you have to manually add site properties in the ZMI (yoursite/portal_properties/site_properties) or in your policy package.
Last week I came across a use case for someone wanting to use our Plone based service to make a form go to a different url, in this case just posting your name to an online testing service (UsolveIt) for a specific test.
Not having tested much with PloneFormGen, we thought this could be interesting, so we gave it a shot. We already knew it was a great package, but I’d still like to say thanks to the brilliant people at OneNorthWest for providing yet another solution for our use case without us having to ask for it or start programming. The PloneFormGen package has not just one, but several ways to override a form action.
Here I’ll just write out our specific use case, but more info on the great possibilities of this package can be found at:
First step is to make a form with only one field. Makes ure you have full (Plone) manager rights before you start.
- Add a form folder and remove all fiels but the subject.
- Rename the subject to something like Name
- Our form then looks like this:
- Make sure you have the usolveit test already set up and have the url, including test-id ready
- Edit the form folder and go to the tab Overrides
- The full succes action should look something like:
- When the form is finished, you can click the Start test button and the browser will open a new tab with the test: