Welcome, Guest. Please login or register.
Did you miss your activation email?
May 25, 2012, 09:28:42 PM

Login with username, password and session length
Search:     Advanced search
Interested in joining the WebsiteBaker team?
For more Information read here or on our new website.
155528 Posts in 21713 Topics by 7737 Members
Latest Member: chris85
* Home Help Search Login Register
Pages: [1]   Go Down
Print
Author Topic: Module Develop Howto/Tutorial!  (Read 1447 times)
tew

Offline Offline

Posts: 3


« 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
Logged
doc
Guest
« Reply #1 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
Logged
tew

Offline Offline

Posts: 3


« Reply #2 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
Logged
mahalleday

Offline Offline

Posts: 188



WWW
« Reply #3 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.
Logged

AdBaker2 Project Site: http://code.google.com/p/adbaker/
Jews32

Offline Offline

Posts: 1


« Reply #4 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 | flexible moldings | bowsers dog beds
« Last Edit: December 21, 2009, 12:33:38 PM by Jews32 » Logged
doc
Guest
« Reply #5 on: December 17, 2009, 10:50:19 AM »

Hi,

check out this link: http://addons.websitebaker.org/pages/modules/miscellaneous.php#id_124
There are some rumors, that the module primer will be continued in 2010.

Regards Doc


Logged
Pages: [1]   Go Up
Print
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!