I can edit the default "Contacts form"?

  • nidirex
    Inactive member
  • Topic Author
  • New Member
  • New Member
More
13 years 2 minutes ago #7111 by nidirex
Hy guys,
I need to edit default contact form, in particular I would change default dimension of box "Message", and edit all field.

Many thanks,

nidirex

Please Log in to join the conversation.

More
12 years 11 months ago #7118 by ivan.milic
Hi,

You can add in css :

#contact_text
{
width:...;
height:...;
}

Please Log in to join the conversation.

  • nidirex
    Inactive member
  • Topic Author
  • New Member
  • New Member
More
12 years 11 months ago - 12 years 11 months ago #7123 by nidirex
Work with "jform_contact_message":

#jform_contact_message
{
width:...;
height:...;
}

Thanks! :)

I can edit default message into the form? E.g., I would to change "Message" in "Inserto your message"
Last edit: 12 years 11 months ago by nidirex.

Please Log in to join the conversation.

More
12 years 11 months ago #7132 by ivan.milic
Hi,

you have to edit some code:

<textarea cols="50" rows="10" name="text" id="contact_text" class="inputbox required" ></textarea>

that is in:
templates\hot_restaurant\html\com_contact\contact\default_form.php

You should do something like this

<textarea cols="50" rows="10" name="text" id="contact_text" class="inputbox required" >
Inserto your message
</textarea>

<script type="text/javascript">
var DirtyFlag = false;
jQuery('#contact_text').focus(function() {
if(!DirtyFlag)
{
jQuery('#contact_text').val("");
DirtyFlag = true;
}
});
</script>

Please Log in to join the conversation.

More
12 years 5 months ago #11794 by HarryBarnes
I am piggy backing on this question. What is the complete name of the file where I can go to increase the height of the message field in the Contacts form?

Thanks...

Please Log in to join the conversation.

More
12 years 5 months ago #11800 by ivan.milic
<joomla root>\templates\hot_restaurant\html\com_contact\contact\default_form.php

Please Log in to join the conversation.

Time to create page: 0.351 seconds
Powered by Kunena Forum