thelia / contact-option-builder-module
Installs: 314
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 4
Open Issues: 0
Type:thelia-module
Requires
- thelia/installer: ~1.1
README
Add email subject, destination email and option on form contact.
Installation
Manually
- Copy the module into
<thelia_root>/local/modules/
directory and be sure that the name of the module is ContactOptionBuilder. - Activate it in your thelia administration panel
Usage
Hook
- Menu Hook
- Module configuration Hook
Loop
Contact Option Loop
Input arguments
Argument | Description |
---|---|
id_cob | id contact form |
user_logout | bool user logon / user logout |
Output arguments
Variable | Description |
---|---|
$ID_COB | id contact form |
$SUBJECT_COB | email subject |
$COMMANDE_OPT_COB | bool display input choice order |
$COMPANY_NAME_OPT_COB | bool display input company name |
$MESSAGE_OPT_COB | what you can do with this subject |
$EMAIL_TO_COB | destination email |
$TRANSLATE_IN | ids of the languages in which this subject is translated |
Exemple
{loop type="contactoptionbuilder.contact.option.loop" name="contactoptionbuilder.contact.option.loop" }
{$ID_COB}
{$SUBJECT_COB}
{if $TYPE_USER_COB == 0}
{/if}
{if $COMMANDE_OPT_COB}
{/if}
{if $COMPANY_NAME_OPT_COB}
{/if}
{$EMAIL_TO_COB}
{$MESSAGE_OPT_COB }
{/loop}