-
AuthorPosts
-
nkamp Friend
nkamp
- Join date:
- March 2006
- Posts:
- 32
- Downloads:
- 6
- Uploads:
- 2
- Thanks:
- 5
- Thanked:
- 3 times in 1 posts
November 12, 2013 at 8:49 pm #192207Hello,
From the desigh I received I have to change the contact form in a much simple form. I have done this with a another template/form but that was a quit easy to do. It was all in the default.php of the component contact.
First I want it without accordian. Were can I switch of these accordian?
On the left side I want the contact information like:
_____
– City
– street
– etc.
_____
and link(s)On the right side of the contact information I want to have the contact form.
So in my opinion I have to put a div arround the contact info and the contact form.
Does anyone have a example how to do this? And it has still to be responsive.
Thanks in advance,
Nico
***** EDIT ******
I have found to switch off the accordian (Contact Options – Display format: plain)
Ninja Lead ModeratorNinja Lead
- Join date:
- November 2014
- Posts:
- 16064
- Downloads:
- 310
- Uploads:
- 2864
- Thanks:
- 341
- Thanked:
- 3854 times in 3563 posts
November 14, 2013 at 3:13 pm #512230If you would like to override contact form on your site, you can do that as following
+ Create com_contact folder into templates/ja_puresite/html folder
+ Open components/com_contact/views/contact/tmpl/ folder
+ Copy default.php and default_form.php files paste into templates/ja_puresite/html/com_contact folder
And you can customize anything on default_form.php file.
Pls check and feel free to get back to me for further assistance.
nkamp Friendnkamp
- Join date:
- March 2006
- Posts:
- 32
- Downloads:
- 6
- Uploads:
- 2
- Thanks:
- 5
- Thanked:
- 3 times in 1 posts
November 15, 2013 at 11:23 am #512359Thanks ninja,
I have done this.
I have made progress by throuwing out the:
[PHP]
//echo JText::_(‘COM_CONTACT_FORM_LABEL’);
[/PHP]Now I have the address and form next to each other.
****** EDIT *****
I have done this before I mean, and there it works. The first I have done was in the components dir. The changes works. So I moved the files to templagesresetfashionhtmlcom_contact. I made new changes, but nothing is happening now.
I have also tried:
templagesresetfashionhtmlcom_contactviewscontacttmpl
templagesresetfashionhtmlcom_contactviewscontact
templagesresetfashionhtmlcom_contactviewsThe changes I have made are still in dir “componentscom_contactviewscontacttmpl” and this is not what you want as developer.
(I have made a copy of the puresite template to resetfashion.)
BTW. I have also installed the quick install puresite, and have tried there is well, but it seems also that it is there not working.
Ninja Lead ModeratorNinja Lead
- Join date:
- November 2014
- Posts:
- 16064
- Downloads:
- 310
- Uploads:
- 2864
- Thanks:
- 341
- Thanked:
- 3854 times in 3563 posts
November 16, 2013 at 9:28 am #512432<blockquote>componentscom_contactviewscontacttmpl</blockquote>
We do not recommend hacking the Joomla core files. You can use my way on this link and customize anything on JA Puresite tempate.
These are wrong :
templagesresetfashionhtmlcom_contactviewscont acttmpl
templagesresetfashionhtmlcom_contactviewscont act
templagesresetfashionhtmlcom_contactviews
You need to remove views folder in JA Puresite template
After making any changes please do remember to clear cache from Admin area
nkamp Friendnkamp
- Join date:
- March 2006
- Posts:
- 32
- Downloads:
- 6
- Uploads:
- 2
- Thanks:
- 5
- Thanked:
- 3 times in 1 posts
November 16, 2013 at 3:03 pm #512455Hello Ninja,
The path to make a override is slightly different: It must be:
“Templates…htmlcom_contactcontact.”
Ninja Lead ModeratorNinja Lead
- Join date:
- November 2014
- Posts:
- 16064
- Downloads:
- 310
- Uploads:
- 2864
- Thanks:
- 341
- Thanked:
- 3854 times in 3563 posts
November 18, 2013 at 5:07 pm #512624Did you solve this problem on your site? If you still face this issue, you can send me URL of your site you’re working on. I shall check it for you
-
AuthorPosts
This topic contains 6 replies, has 2 voices, and was last updated by Ninja Lead 11 years ago.
We moved to new unified forum. Please post all new support queries in our New Forum