Subject:*
<
Name/Email:*
<
Message Icon:*
<
Select*
<
Message:*
<



Click the Preview to see the content in action.
Options:*
<
Confirmation Code*
<
9 - 3 = ?  
Input the result from the expression
Maximum attempts you can try: 10
*
<
     

Re: Module Development Problems.
by onokazu on 2003/10/9 9:46:27

Here is a good post on creating module blocks.
https://xoops.org/modules/newbb/viewtopic.php?topic_id=12716&forum=15#forumpost50968
Re: Module Development Problems.
by anggarda on 2003/10/9 8:48:46

lykoszine, thanks for the prompt reply.

I've inserted the table names into xoops_version.php. Subsequently the tables were dropped.

Since then I ran into trouble getting blocks to be displayed. Is there a tutorial that you could point me to? I rather read on how to develop modules on my own.

Regards
Re: Module Development Problems.
by lykoszine on 2003/10/9 8:33:20

I think you have to list your tables in xoops_version.php
That is what the uninstall uses, if memory serves.

You should go through the whole of xoop_version.php (it is all pretty self evident), as that is quite important.
Module Development Problems.
by anggarda on 2003/10/9 8:28:07

Good Day, Xoops.Org and the community at large.

I am a beginner attempting to write a module that will store information in the database.

I ran into some problems.

1.) xoops_version.php edited "$modversion ['sqlfile']['mysql'] = "sql/mysql.sql" included
2.) Install module as normal
3.) Table is generated in database by sql/mysql.sql datadump/script file.
4.) Uninstall module with no error message.

However when I do a SHOW TABLES in mysql, the table that was created in the sql/mysql.sql dump file was not dropped.

I am definately missing something as I am gropping in the dark, the modules how to in the wiki does not actually cover database aspect of module development.

Any help from hereforth is greatly appreciated.

Thanking all in advance, Regards.


Who's Online

113 user(s) are online (78 user(s) are browsing Support Forums)


Members: 0


Guests: 113


more...

Donat-O-Meter

Stats
Goal: $15.00
Due Date: Jul 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $15.00
Make donations with PayPal!

Latest GitHub Commits