Jump to content
Froxlor Forum
  • 0

adding functionality into template/controller


roothahn

Question

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

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

Archived

This topic is now archived and is closed to further replies.



×
×
  • Create New...