Monky Posted December 18, 2012 Share Posted December 18, 2012 Hi, I'm currently working on a mudule that need to have configure option. Here is the structure of my module: MyModule: - controllers: admin front - views: templates mymodule.php I'm wondering where to put the configuration, for now I'm using helperform in the getContent() function which is in the mymodule.php. I know I should use helperoption for configuration variable. In the core file of PS, I saw that fields_options are used in the __construct() function in the controller. Can anyone could tell me the best practice as I feel like the getContent() is the old way of doing it? Thanks Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now