Welcome, Guest. Please login or register.
Did you miss your activation email?
September 06, 2010, 09:04:18 AM

Login with username, password and session length
Search:     Advanced search
Interested in joining the WebsiteBaker team?
For more Information read here or on our new website.
121686 Posts in 17370 Topics by 9217 Members
Latest Member: darkforceheals
* 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 88 times)
keha76

Offline Offline

Posts: 2


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


« on: February 28, 2010, 08: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!
-->