DEPRECATION WARNING
This documentation is not using the current rendering mechanism and is probably outdated. The extension maintainer should switch to the new system. Details on how to use the rendering mechanism can be found here.
Configuration Reference¶
For the typoscript configuration of the template paths see Templating.
Settings¶
These options are to be configured in plugin.tx_wufoo.settings
.
Important
Be aware: if you use the plugin in tt_content, these settings come from FlexForms configuration. But you can use them when you insert a plugin with Typoscript, see Add a form by TypoScript.
Property
formUrl
Data type
string
Description
The URL of the form to display.
Property
showHeader
Data type
bool
Description
Whether the header of the form should be displayed. Default: 1
Property
autoresize
Data type
bool
Description
Whether the form should be resized automatically. Default: 1
Property
height
Data type
int
Description
The height of the form in pixels. This value is set dynamically by the
wufoo's javascript if autoresize
is enabled. Though, the <iframe>
in the <noscript>
always uses it.
Default: 500
Property
useStdWrap
Data type
list (comma separated strings)
Description
Apply stdWrap to the options (from plugin.tx_wufoo.settings
) in this
list.
Example: assume, you add a field myFormUrlField
to pages
which
holds the URL of the form that should be displayed at the bottom of
this page (when set):
page.100 = COA
page.100 {
if.isTrue.field = myFormUrlField
10 = < tt_content.list.20.wufoo_form
10.settings {
useStdWrap := addToList(formUrl)
formUrl.data = page:myFormUrlField
}
}
Add a form by TypoScript¶
To add a form by Typoscript simply use something like this (replace [URL]
with
the actual form URL of course):
lib.wufooform = < tt_content.list.20.wufoo_form
lib.wufooform.settings.formUrl = [URL]
Experimental feature "Use canonical form URL"¶
Important
This feature is still experimental and can be changed or removed without further notice!
plugin.tx_wufoo.settings.useCanonicalFormUrl = 1
With this feature enabled, the extension tries to fetch the form URL and search the received HTML contents for a canonical URL (using PHP's DOM extension):
<link rel="canonical" href="...">
When a valid canonical URL is found, it will be used as form URL. To decrease the data traffic and execution time, a cache is used to store the canonical URL's.