You can change your constants with the constant editor
Property: | Description: | Default | Data type: |
|---|---|---|---|
template.formWrap | Template File formwrap: HTML-template file for formwrap | EXT:powermail/templates/tmpl_formwrap.html | file |
template.fieldWrap | Template File fieldwrap: HTML-template file for fieldwraps | EXT:powermail/templates/tmpl_fieldwrap.html | file |
template.thxMessage | Template File thx-message: HTML-template file for thx message after submit | EXT:powermail/templates/tmpl_thx.html | file |
template.emails | Template File emails: HTML-template file for emails messages (sender and receiver) | EXT:powermail/templates/tmpl_emails.html | file |
template.confirmation | Template File confirmation: HTML-template file to change html code of the confirmation page | EXT:powermail/templates/tmpl_confirmation.html | file |
template.all | Template File ALL marker: HTML-template file if you want to use the marker ###POWERMAIL_ALL### - here you can set the HTML code for each line | EXT:powermail/templates/tmpl_all.html | file |
template.MultipleJS | Template File multiple: HTML-template file for multiple pages (see EXT:powermail/templates/tmpl_multiplejs.html for an example) | EXT:powermail/templates/tmpl_multiplejs.html | file |
template.mandatory | Template File mandatory: HTML-template file for mandatory page (if any mandatory field was not filled) | EXT:powermail/templates/tmpl_mandatory.html | file |
allow.email2receiver | Email to receiver active: You can disable emails to receiver | 1 | boolean |
allow.email2sender | Email to sender active: You can disable confirmation emails to sender | 1 | boolean |
allow.dblog | Log every mail in db: Disable logging, if you want only to get mails | 1 | boolean |
PID.dblog | PID where to save logfiles: Enter a Page ID where the form values should be saved to the db (empty: same PID as form PID) | boolean | |
email.noreply | Standard sender address: This email address is important, if no sender field was chosen in the backend, so this email address will be used for the sender (###DOMAIN### will be replaced with current domain like test.com) | noreply@###DOMAIN### | text |
markerALL.notIn | Exclude fields from marker ALL: Exclude some fields from marker ###POWERMAIL_ALL### (e.g.: ###UID14###,###UID22### or UID14,UID22) | text | |
form.method | Form method: use post or get as post format (details see on selfhtml.org) | post | text |
format.datetime | Frontend datetime format if datetime field is in use (only needed if you use the extension date2cal) | %H:%M %d-%m-%Y | text |
format.date | Frontend date format if date field is in use (only needed if you use the extension date2cal) | %d-%m-%Y | text |
mandatory.symbol | Add symbol for mandatory fields: If any field is a mandatory field, add this at the end of the label | * | text |
mandatory.wrap | Wrap mandatory symbol: You can wrap the mandatory symbol with any html code | <span class="powermail_mandatory">|</span> | text |
captcha.use | Use captcha extension: If you have installed sr_freecap and captcha, you can select which extension should be used | sr_freecap | option |
upload.folder | Folder for uploaded files: If you are using min. one upload field in frontend, you can change the folder where the uploaded file is safed | uploads/tx_powermail/files/ | text |
upload.file_extensions | Allow files for upload: If you are using min. one upload field in frontend, you can set the allowed extension of this files | jpg,gif,png,tif,txt,doc,xls,sxw,html,swf | text |
upload.filesize | Allow filesize for upload: If you are using min. one upload field in frontend, you can set the allowed filesize of the files (in kB) | 1000 | int |
upload.atachment | Upload and attach: If checked, all files will be sent as an attachment to the receiver (if disabled, files will only stored on server) | 1 | boolean |
Clear.session | Clear Session: Check if session should be cleared after submit (emails sent) | 0 | boolean |
js.mandatory | Check for mandatory fields: (De)activate JavaScript check for mandatory fields (and other fields like email, url, etc..) | 1 | boolean |
js.mandatordivclass | Mandatory JS DIV class: Enter your own css class for the mandatory javascript div layer (div layer which is shown, if a field was not filled, etc...) | powermail_mandatory_js | text |
js.onfocus | OnFocus JavaScript: (De)activate onfocus javascript in fields - removes standard value of (e.g. text-) fields onclick, so the user can click and begin to write | 1 | boolean |
js.Prototype | Load prototype.js: (De)activate loading prototype.js in html head of page where powermail is in (prototype.js is needed for JS validation of fields and for date2cal fields like date, datetime and time) | 1 | boolean |
js.onchange | Onchange JavaScript: (De)activate onchange javascript for select fields - adds an onchange javascript to all select fields - automatic submit onchange | 0 | boolean |
js.HTMLentities | HTMLentities for JS: (De)activate the php function htmlentities for the dynamic javascript in the html header. Example with htmlentities: index.php?id=1& amp;type=3131 / Example without htmlentities: index.php?id=1&type=3131 | 1 | boolean |
label.allowTags | Allowed tags in labels: Allow some tags for label fields | <p><br><b><strong><a> | text |