Add email subject, destination email and option on form contact.
- 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
- Menu Hook
- Module configuration Hook
Argument | Description |
---|---|
id_cob | id contact form |
user_logout | bool user logon / user logout |
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 |
{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}