xoops forums

mjoel

Quite a regular
Posted on: 5/30 14:09
mjoel
mjoel (Show more)
Quite a regular
Posts: 331
Since: 2006/12/9
#1

Module Builder Help

Hello

first of all thank you for this module

i have question regarding the modulebuilder module.

a. Let say i have create a module using module builder, how do i save my module setting so i can use it in module builder in another xoops installation ?

b. how do i delete unused fields in table ?

mjoel

Quite a regular
Posted on: 5/30 14:32
mjoel
mjoel (Show more)
Quite a regular
Posts: 331
Since: 2006/12/9
#2

Re: Module Builder Help

a. in sample data - my module & my module dirty table categories is not selected as default for art_cat field

b. Resized Image

i noticed the table name not changing in element form of table fields if we rename the table eg Categories to Classifications..is this normal ?

after installing the created module we have Categories handler error missing
RuntimeException: Class 'XoopsModules\Mymoduledirty\CategoriesHandler' not found

the module should be using classification handler

ModuleBuilder 3.05 RC1 (11/11/2020)
XOOPS 2.5.11-Beta2
PHP Version 7.4.0
MySQL Version 5.7.28

mjoel

Quite a regular
Posted on: 5/31 7:17
mjoel
mjoel (Show more)
Quite a regular
Posts: 331
Since: 2006/12/9
#3

Re: Module Builder Help

Quote:

mjoel wrote:
Let say i have create a module using module builder, how do i save my module setting so i can use it in module builder in another xoops installation ?


i have figure this out

click the Export Table to YAML in Module Builder Dashboard
it will be save in \modules\modulebuilder\testdata\english\ in export folder
then replace the content of english folder with the content in the export folder

thhen we can import sample data to use our save setting

goffy

Just can't stay away
Posted on: 6/1 9:50
goffy
goffy (Show more)
Just can't stay away
Posts: 485
Since: 2010/12/27
#4

Re: Module Builder Help

I will take a look on this next days ;)