roothahn Posted June 3, 2015 Share Posted June 3, 2015 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? thanks!! Link to comment Share on other sites More sharing options...
d00p Posted June 8, 2015 Share Posted June 8, 2015 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? Link to comment Share on other sites More sharing options...
Question
roothahn
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?
thanks!!
Link to comment
Share on other sites
1 answer to this question
Recommended Posts
Archived
This topic is now archived and is closed to further replies.