- Thank you received: 0
I can edit the default "Contacts form"?
-
nidirex
Inactive member - Topic Author
- New Member
Less
More
13 years 2 minutes ago #7111
by nidirex
I can edit the default "Contacts form"? was created 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
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.
-
ivan.milic
Support Staff - Moderator
Less
More
- Thank you received: 1639
12 years 11 months ago #7118
by ivan.milic
Replied by ivan.milic on topic Re: I can edit the default "Contacts form"?
Hi,
You can add in css :
#contact_text
{
width:...;
height:...;
}
You can add in css :
#contact_text
{
width:...;
height:...;
}
Please Log in to join the conversation.
-
nidirex
Inactive member - Topic Author
- New Member
Less
More
- Thank you received: 0
12 years 11 months ago - 12 years 11 months ago #7123
by nidirex
Replied by nidirex on topic Re: I can edit the default "Contacts form"?
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"
#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.
-
ivan.milic
Support Staff - Moderator
Less
More
- Thank you received: 1639
12 years 11 months ago #7132
by ivan.milic
Replied by ivan.milic on topic Re: I can edit the default "Contacts form"?
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>
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.
-
HarryBarnes
Inactive member - Member
Less
More
- Thank you received: 0
12 years 5 months ago #11794
by HarryBarnes
Replied by HarryBarnes on topic Re: I can edit the default "Contacts form"?
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...
Thanks...
Please Log in to join the conversation.
-
ivan.milic
Support Staff - Moderator
Less
More
- Thank you received: 1639
12 years 5 months ago #11800
by ivan.milic
Replied by ivan.milic on topic Re: I can edit the default "Contacts form"?
<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