Elxis CMS Forum
Support => General => Topic started by: herve34000 on June 09, 2011, 07:50:09
-
Hi,
i have a question about the contact page. Actually, i use also E-form for customer contact. my question is :
can i add the E-form details on contact page ?
Sample here normal contact page : http://www.phuketlandstar.co.kr/contact/
Sample here contact page E-form : http://www.phuketlandstar.co.kr/blog/phuket-land-star/contact-form/
I would like to do this final result. See in attachment the picture.
If everyone some idea ? ;)
Cordially Herve
[attachment deleted by admin]
-
1. Create a module position under main content if there is not such in your template and give a name for example user8 that is not used elsewhere.
2. Then install mod_contentitem (http://www.elxis-downloads.com/downloads/content/215.html) and publish it there. This module allows you to display one or more Item IDs from content items and autonomous pages in every module position of your template.
3. Then create an autonomous page with name contact form and write there {eforms}samplecontact{/eforms} and save it. It is supposed that you have prepared also your form with bot eForms (http://www.elxis-downloads.com/downloads/communication/280.html)
4. Then check what id this autonomous page has and go into administration of mod_contentitem and set there in parameters to be displayed only autonomous pages and write the id of the autonomous page you have created and select from Pages/Items this module to be displayed only on menu item Contact.
5. Save it and you are ready!
Note: On 1st step if you do not know how to add a module position under main content, open index.php file of your template with and editor as Pspad and find where is written this
<?php mosMainBody(); ?>
and change it to this
<?php mosMainBody(); ?>
<?php mosLoadModules('user8', -2); ?>
(http://<?php mosMainBody(); ?>
<?php mosLoadModules('user8', -2); ?>)
Save index.php file and is done
-
Hi Nikos,
Thank you so much for you answer. I understand your explication, it's ok.
I just little confuse and not understand exactly this :
1. Create a module position under main content if there is not such in your template and give a name for example user8 that is not used elsewhere.
Best Regard
-
Just i edited my post with my answer to this i thought that you could have difficulty
-
Hi,
Thank Nikos, i do it already, maybe i need just adjust ;)
Sample : http://www.phuketlandstar.co.kr/contact/
-
Additionaly you can hide module's title if you want to be displayed only one on top of contact.
-
Hi Nikos,
Thank you for you help ;)
-
You are welcome! :)