Drupal: Using Of Primary/Secondary Links to Build Two-Level Separate Menu
May 14, 2012 – 6:40 pm | No Comment

In this article we will learn how to:

Create two-level menu.
Place first-level menu items are at the top, second-level menu items (submenus) appear at the left side.
Parent menu item stays active when a user navigates by …

Read the full story »
CSS Templates

Contain reviews and news about CSS Templates.

Freebies

Contain freebies such as icons, graphics, headers and images for your websites.

Fun Stuff

Contains other fun stuff for entertainment or interesting site showcase.

How-To

Contain technical elaborations on some specific workarounds or common tweak.

Joomla Templates

Contains reviews and news about Joomla templates.

Home » How-To

How to customize Joomla default contact form

Submitted by Aleksey on June 15, 2009 – 3:35 am3 Comments

How toIt is surprising to me that there are actually not much solution on this problem when I am searching over the Internet recently. When using Joomla, you may want to customize some fields in the Joomla default contact form but not to the extent of installing another contact form plugin. For example, you may want to have the form’s subject field to pre-load the text, ‘Customer Enquirers’ when the page was loaded.

I will illustrate how you can do it in this post.

Actually there is only one thing you need to know to solve this problem – identify which file to amend. The file that you need to change is located at: components/com_contact/views/contact/tmpl/default_form.php

Just change the codes in there depending on what you want and upload it to the server for it to be effective. You should be familiar with HTML and PHP (optional) for you to change it with ease.

3 Comments »

  • cypher says:

    This is exactly what I did (I came across your post later on).

  • ludia_newbee says:

    Aleksey , ok i ve customized the default_form.php, it was easy :) ) my problem is that, when i click “send” the form , the customized new fields arent send with the default fields to the email address receiver! I mean that the only fields that joomla sends to email are the old ones, but the new i ve made arent going anywhere! how can i drug to my mail receiver all the fields from the form, and not only “name, email, subject, text” ??? can you help me?

    thank you

  • romero says:

    thank you.. i was searching for a solution… :)

Leave a comment!

Add your comment below, or trackback from your own site. You can also subscribe to these comments via RSS.

Be nice. Keep it clean. Stay on topic. No spam.

You can use these tags:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

This is a Gravatar-enabled weblog. To get your own globally-recognized-avatar, please register at Gravatar.