Jump to content
Froxlor Forum
  • 0

adding functionality into template/controller


Hi guys,


I want to modify the user template and add functionalit with php but I am stuck on how to get postet form data.


What I want to do:


1- Give customer a form with input - so far I've come

2- get the $_POST[] data and execute php code


my question: where do I write my code? (i suppose the template tpl files are not the correct place)  and can I just write normal php code?



Share this post

Link to post
Share on other sites

1 answer to this question

Recommended Posts

  • 0

froxlor did something called "formfields"...check them in lib/formfields/. Its PHP arrays defining the fields and values etc.pp. And yes, everything is "normal" PHP code, what would be un-normal PHP code?

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Create New...