Welcome, Guest. Please login or register.
March 11, 2010, 09:37:59 PM

Login with username, password and session length
Search:     Advanced search
WB 2.8.1 released!
Download and additional information are available here .
109606 Posts in 15842 Topics by 9232 Members
Latest Member: teebone
* Home Help Search Login Register
+  WebsiteBaker Community Forum
|-+  English
| |-+  Modules (Moderators: Argos, BerndJM)
| | |-+  Coding config forms within the module install.php?
Pages: [1] Go Down Print
Author Topic: Coding config forms within the module install.php?  (Read 55 times)
keha76

Offline Offline

Posts: 2


You have to be a bit crazy for not going insane!


« on: February 28, 2010, 07:32:46 PM »

Hello!
First off, I'm new to developing modules for wb, and that seems to be my biggest problem (this is changing rapidly though). Now to my question:

Is there an easy way to create a config file when the install.php is beeing executed so that the site owner have to fill some forms while the module is beeing installed? Any Ideas?

My first thought was to make more than 1 install file and chain them, it's just PHP code that's beeing executed so it should work, but is it the right way to do it?

And then I thought of writing the data to a module config file, or is it better to store the config vars within a database table?

Best regards,
keha76
Logged
Pages: [1] Go Up Print 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC Valid XHTML 1.0! Valid CSS!