Customising the Contact Form

joomlaSometimes you might want to add instructions, or make other changes to the default contact form.  This article describes the process that you will go through.


Find the right file

First you need to find the right file for editing...

  1. Go to Components > eXtplorer.
  2. Browse to components/com_contact/views/contact/tmpl/default_form.php.

 

Make the changes

You can now make the following changes...

  1. Add some instructions on how to use the email form around line 29 after the php endif statement.
  2. I also like to remove some of the label tags, and add a default value (eg. value="Enter your name here...").

 

Thanks for visiting.