![]() |
Form processor : how to...
Hello,
Does anyone know if form processor can be implemented in 3.5.x similar to Contact Us? I want to create form for RMA (return merchandize authorization) just like Contact Us form but with different field names, validation and stuff, and I want to keep Contact Us form. Could you please point me to what files needs to be edited/added to create additional processing form. thank you |
You can do this if you understand php and smarty. Just use the contact us form as a template for what you want to do.
Carrie |
I've tried to use contactus form as a template, but the system simply doesn't recognize new template!?
I want to make "user_testing_survey.tpl", and I assume that I have to do something with the following part of the code... Quote:
....and to change "contactus" to "user_testing_survey". But, of course, nothing happens. What else do I need to do (beside changing fields, which I know how to do). Can somebody help me? Regards, Ivan |
Smarty will also need to know which template to display. If you're trying to show something on the customer side, look in skin1/customer/home_main.tpl There you will need to put similar code to this:
{elseif $main eq "user_testing_survey"} {include file="path_to/user_testing_servey.tpl} Hope that helps. Carrie |
Since it all happens in HELP section, I did what you suggested, but in index.tpl file of HELP section.
I added: Quote:
And it works!! Thanks a lot... |
Great. Glad you got it figured out. :)
Carrie |
All times are GMT -8. The time now is 10:21 PM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.