Welcome, Guest. Please login or register.
March 18, 2010, 08:35:22 PM

Login with username, password and session length
Search:     Advanced search
Wollen Sie dem Website Baker Team beitreten?
Nähere Informationen finden Sie unter hier und auf unserer neuen Webseite .
110396 Posts in 15941 Topics by 9294 Members
Latest Member: net4my
* 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 57 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!