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)
-   -   Editing contactus.tpl (https://forum.x-cart.com/showthread.php?t=15623)

leafy 08-01-2005 09:19 PM

Editing contactus.tpl
 
I am a relative newbie to PHP and I am struggling to make changes to the Contact Us form via contactus.tpl

Whenever I delete an entire row containing a field or remove an "If" statement the form will not process.

Does anyone know where I should be making changes to code to remove mandatory fields as I am only used to doing this in html?

Cheers guys

leafy 08-01-2005 11:50 PM

Found the answer
 
Hi again

Isn't always the way when you ask for help you find the answer yourself a few minutes later?

Found by editing help_tpl that the obligatory fields can be removed.

Thanks to those that were thinking about it.

:D :D

balinor 08-02-2005 03:05 AM

Actually the easier way is to use the General Settings/Contact Us options :)

leafy 08-02-2005 03:27 AM

Hi Padraic

My version 3.5.11 of Xcart Pro doesn't have this option in the general settings dropdown.

Maybe it's time for an upgrade!

Cheers

Ian

balinor 08-02-2005 03:29 AM

Ahhh...please put your X-Cart version in your signature...will help to avoid problems like this in the future :)

leafy 08-02-2005 03:32 AM

Thanks for the tip

duly added

balinor 08-02-2005 03:36 AM

Close...but we still need the actual VERSION...i.e. 3.5.11. Thanks :)


All times are GMT -8. The time now is 10:29 PM.

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