X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   How to place contact form on home page? (https://forum.x-cart.com/showthread.php?t=66002)

taijasa 01-31-2013 11:16 PM

How to place contact form on home page?
 
I am working on xcart and I had to add contact form on home page so I added this {include file="customer/help/contactus.tpl"} but it is showing only one field (Message Field) on homepage where it shud also show other fields as well. But when I go to contact us (help.php?section=contactus&mode=update) it works fine.
How can we link it to home.php so that it will work on home page itself.

Thanks.

totaltec 02-01-2013 01:43 AM

Re: How to place contact form on home page?
 
I've done this before but it was an old version of XC. Probably the variable that define what fields are supposed to display in the contact form (you can control these in admin) are not set on the home page. I'd read through help.php, and see if it looks up the fields there, and duplicate that code on the home page.

taijasa 02-01-2013 02:32 AM

Re: How to place contact form on home page?
 
Hey, that wud be a great help.
Thanks.


All times are GMT -8. The time now is 07:35 AM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.