- Posts: 9
- Thank you received: 0
How use another php file in contact form
-
aeeeaom
Inactive member -
Topic Author
- New Member
-
Less
More
12 years 2 months ago #24540
by aeeeaom
How use another php file in contact form was created by aeeeaom
Hello.
I've edited the contact layout file (com_contact\contact\default.php) to insert a map html in the contact form.
Is it possible to create another contact form that uses a different php file (in order to not display the map inserted in the default.php)?
Thank you very much.
I've edited the contact layout file (com_contact\contact\default.php) to insert a map html in the contact form.
Is it possible to create another contact form that uses a different php file (in order to not display the map inserted in the default.php)?
Thank you very much.
Please Log in to join the conversation.
-
ivan.milic
Support Staff -
- Moderator
-
Less
More
- Posts: 14116
- Thank you received: 1639
12 years 2 months ago #24550
by ivan.milic
Replied by ivan.milic on topic How use another php file in contact form
You are not comfortable with changing joomla file? Create override in template html folder
Please Log in to join the conversation.
-
aeeeaom
Inactive member -
Topic Author
- New Member
-
Less
More
- Posts: 9
- Thank you received: 0
12 years 2 months ago #24551
by aeeeaom
Replied by aeeeaom on topic How use another php file in contact form
No, I'm confortable with changing joomla file..
I want two types of contact form, one of them with a map html (I've copied and modified the file templates \ hot_furniturestore \ html \ com_contact \ contact \ default.php) and another one without map., so I want to use another php file.
I want two types of contact form, one of them with a map html (I've copied and modified the file templates \ hot_furniturestore \ html \ com_contact \ contact \ default.php) and another one without map., so I want to use another php file.
Please Log in to join the conversation.
-
ivan.milic
Support Staff -
- Moderator
-
Less
More
- Posts: 14116
- Thank you received: 1639
12 years 2 months ago #24555
by ivan.milic
Replied by ivan.milic on topic How use another php file in contact form
You can make Alternative Layout for contact, and you can select it in Display Options in contact settings. beez5 has alternative layout templates\beez5\html\com_contact\contact\encyclopedia.php.
Please Log in to join the conversation.
-
aeeeaom
Inactive member -
Topic Author
- New Member
-
Less
More
- Posts: 9
- Thank you received: 0
12 years 2 months ago #24571
by aeeeaom
Replied by aeeeaom on topic How use another php file in contact form
Hello.
I've modified contact display option in settings but the map, that I introduced in the default.php file, continues to appear on the web.
I send the image with the paramater that I've modified, is it wrong?
thanks
I've modified contact display option in settings but the map, that I introduced in the default.php file, continues to appear on the web.
I send the image with the paramater that I've modified, is it wrong?
thanks
Please Log in to join the conversation.
-
ivan.milic
Support Staff -
- Moderator
-
Less
More
- Posts: 14116
- Thank you received: 1639
12 years 2 months ago #24583
by ivan.milic
Replied by ivan.milic on topic How use another php file in contact form
So you created alternative layout:
templates\hot_furniturestore\html\com_contact\<some name>.php ?
and selected it under contact display options
and all still works same?
templates\hot_furniturestore\html\com_contact\<some name>.php ?
and selected it under contact display options
and all still works same?
Please Log in to join the conversation.
Time to create page: 0.090 seconds