I've tried to develop a module in which customers can change the PHP configuration for their domain & subdomain. The problem is I am new to froxlor and do not understand the code.
My first attempt was: I edited the 'formfields.domain_edit.php' - File for 'customer -> domains' and added the following code:
I copied the code from the admin template. But I don't know how where to add the $phpconfigs, I mean in which block of the file 'customer_domains.php' and how to customize it.
Question
julianlampert
Hi,
I've tried to develop a module in which customers can change the PHP configuration for their domain & subdomain. The problem is I am new to froxlor and do not understand the code.
My first attempt was: I edited the 'formfields.domain_edit.php' - File for 'customer -> domains' and added the following code:
I copied the code from the admin template. But I don't know how where to add the $phpconfigs, I mean in which block of the file 'customer_domains.php' and how to customize it.
I tried this snippet:
But I don't know how to fill the $result['phpsettingid'] - Value (the $result - Array).
Please can anybody give me a clue where I have to add the code snippets and how froxlor edits values in the database.
Thank you very much!
Regards,
Julian
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.