Contact form

Contact form is the most often module found within a web page. This module offers a complete software stack, that must be configured to meet the needs. The module can be added to a website by providing the XML tag
APF template
<core:importdesign namespace="APF\modules\contact\pres\templates" template="contact" />

A detailed description on the function of this module can be found in the Tutorials section under Contact form.

Please attend to the notes on the HTML formatting of the module described under Contact form!

The module supports configuration of language-dependent templates for confirmation and notification emails. The templates are configured within the file


Each section of the file defines the templates for the appropriate language:

APF configuration
[de] confirmation.namespace = "APF\modules\contact\pres\templates\mail" confirmation.template = "confirmation_de" notification.namespace = "APF\modules\contact\pres\templates\mail" notification.template = "notification_de" [en] confirmation.namespace = "APF\modules\contact\pres\templates\mail" confirmation.template = "confirmation_en" notification.namespace = "APF\modules\contact\pres\templates\mail" notification.template = "notification_en"

For a start, you may use the sample configuration file EXAMPLE_mail_templates.ini under /config/modules/contact/ from the apf-configpack-* release file.


Do you want to add a comment to the article above, or do you want to post additional hints? So please click here. Comments already posted can be found below.
There are no comments belonging to this article.

In order to provide a state-of-the-art web experience and to continuously improve our services we are using cookies. By using this web page you agree to the use of cookies. For more information, please refer to our Privacy policy.