Module Develop Howto/Tutorial!

doc

#6
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



Jews32

#5
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 | flexible moldings | bowsers dog beds

mahalleday

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.
AdBaker2 Project Site: [url="http://code.google.com/p/adbaker/"]http://code.google.com/p/adbaker/[/url]

tew

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

doc

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

tew

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