xoops forums

nintender

Just popping in
Posted on: 2005/9/1 1:31
nintender
nintender (Show more)
Just popping in
Posts: 19
Since: 2005/6/29
#1

adding a configuration item to a module

I'm hacking a quiz module, and would like to add an option Where I can set an email address. I've added the config item to the xoops_version.php file, but need to know what else to do to make it show up for module preferences.
Anyone have some ideas or links where I can find the info?

Thanks!

Dave_L

XOOPS is my life!
Posted on: 2005/9/1 3:06
Dave_L
Dave_L (Show more)
XOOPS is my life!
Posts: 2277
Since: 2003/11/7
#2

Re: adding a configuration item to a module

Other than adding it to xoops_version.php, adding any language strings that it references to module/-/language/-/modinfo.php, and updating the module from the module administration page, no other changes should be required.

That's assuming that the module follows the usual XOOPS conventions.

nintender

Just popping in
Posted on: 2005/9/1 19:18
nintender
nintender (Show more)
Just popping in
Posts: 19
Since: 2005/6/29
#3

Re: adding a configuration item to a module

Quote:

Dave_L wrote:
Other than adding it to xoops_version.php, adding any language strings that it references to module/-/language/-/modinfo.php, and updating the module from the module administration page, no other changes should be required.

That's assuming that the module follows the usual XOOPS conventions.


That the module is using usual conventions could be suspect. I'll have to compare to a good model!

Thank!