Articles
HTML Template System
- Details
- Hits: 2029
- All sent emails can be delivered in HTML format;
- Very customizable: You can choose which information to send;
- You can have different templates for each contact, by changing the Menu Item parameters;
- You can have separate templates for the Contact email and for the user copy;
- Compatible with Joom!Fish (Joomla 1.5).
There are two types templates:
- Email: Which can be used for the email and the copy message sent to the user;
- Thank you page: Which is the message sent to the user after the form submission when you set the parameter Thank you message to Show sent email message.
How to create new templates?
In Joomla 1.6+:
Select Components → Contact Enhanced → Templates from the drop-down menu on the back-end of your Joomla! installation, then click on the New button;
In Joomla 1.5:
In order to create a new template (email or resultPage), you have to copy the folder [Joomla]/components/com_contact_enhanced/templates/resultPage/default and rename it to contactus, for example. Then you have to open this file [Joomla]/components/com_contact_enhanced/templates/resultPage/contactus/templateDetails.xml and change this line
Default
to:
Contact Us
Syntaxes:
| Syntax | Description |
|---|---|
| {custom_fields:1,2,5,7,34} | Will add only the selected Custom Field ids {custom_fields} - will add all custom fields |
| {custom_fields} | will add all custom fields |
| {post:ALIAS} | Where ALIAS is your Custom Field's Alias in lowercase. You cannot change the alias for the following fields: name, lastname (surname), email, subject, recipient |
Important notes:
- If you are using the Content Plugin and want to load the HTML Template for teh Thank you Page. Go to the Extensions -> Plugin manager, select Contact Enhanced Content Plugin and set the "After form is submitted show"option to "Use Global";


