WebsiteBaker Community Forum

General Community => Global WebsiteBaker 2.8.x discussion => Topic started by: tew on November 05, 2009, 07:16:58 AM

Title: Module Develop Howto/Tutorial!
Post by: tew on November 05, 2009, 07:16:58 AM
Hi!

The "Hello Wolrd" module is deprikated.
Is there a newer on to usage as base for dev. of new modules?

Is there a Howto/tutorial that describe the step to create a new modules

I have try to modify a module and repack it in zip but I get Error when I try to install it

"Invalid WebsiteBaker installation file. Please check the *.zip format."

I have change the "info.php" with the new module information

What can I have made wrong?

Tips

//TEW
Title: Re: Module Develop Howto/Tutorial!
Post by: doc on November 05, 2009, 07:59:08 AM
Hi,

check that the module includes a index.php file in the root (can be an empty file, but must exist).
Make sure you have zipped the module correct (only files and folders contained in the root of the moduel, but not the module folder itself).

Only documentation available so far is the not completed module primer (WB Add-ons --> Hello world module). Maybe this will be updated by the WB team in the near future.

Doc
Title: Re: Module Develop Howto/Tutorial!
Post by: tew on November 05, 2009, 08:51:13 AM
Thanks!

I working on a MAC (normaly I work on Linux)
The MAC make a zip file with some other structure hidden!

Now it's work to install.

Is there a update work on the "Module Primere" or "Hello World" for WB 2.8.x?

TEW
Title: Re: Module Develop Howto/Tutorial!
Post by: mahalleday on November 06, 2009, 11:38:05 PM
The hello world mod has been discontinues for the moment at least.  Your best option is the module primer.  though it has been discontinues as well it walks you thru step by step for at least the beginings of you module.  I used it in creating my first module it helped a lot.  Also chekcing out the advanced documentation under help and reading up on the bult-in functions and classs in wb helps too.
Title: Re: Module Develop Howto/Tutorial!
Post by: Jews32 on December 17, 2009, 10:47:58 AM
I am searching for a simple HOWTO or TUTORIAL on how to develop a module. I figured there would be some HELLO WORLD example out there, perhaps on this site but I've failed to find such a thing.

All I want to do is create a simple form where a logged in member selects an item from a list box, enters some text in a text field, and submits an entry. The data will be (i) mailed or (ii) entered into a table using the member ID of the logged in member. Of course, this page/form won't be available if the member isn't logged in in the first place.

Can someone suggest where I can find a sample MODULE to start with? Perhaps a tutorial or something similar? Perhaps URLS to similar requests can get me started. Any help provided is greatly appreciated.

Thank you.


___________________ ________________

pet carriers (http://www.petcarriers.cc) | flexible moldings (http://flexible-mouldings.com) | bowsers dog beds (http://www.precious-pets-paradise.com)
Title: Re: Module Develop Howto/Tutorial!
Post by: doc on December 17, 2009, 10:50:19 AM
Hi,

check out this link: http://addon.WebsiteBaker.org/pages/en/browse-add-ons.php?id=04383B01
There are some rumors, that the module primer will be continued in 2010.

Regards Doc