- Moderated by:
- Support Team
-
- rank:
-
Freshman
- registered:
- September 2004
- Status:
- offline
- last visit:
- 01.12.07
- Posts:
- 45
Ok like in title I need some realy simple module example. I have some module that work but it's all in one file and don't have eny init or. admin functions for naw.
Example is here is simple picture game that is hided behind pixles (biger) and after day pixls geting smaler, and picture is more clean. Users take a gues about what's on the picture, and user who add picture have button for judge if answer is correct. Next pictur is added by user who add correct answer.
http://www.idrija.ws/skrita.html <- Sory for slv language ... but I don't have this in english.
I wood like to add this in construction that should it be ... that's whay I need some realy simple example ... for begining. :)
edited by: car-li, Apr 13, 2007 - 02:22 PM -
- rank:
-
Professional
- registered:
- March 2003
- Status:
- offline
- last visit:
- 19.11.08
- Posts:
- 901
It's a dead link
Quote
Not Found
The requested URL /sf/pn-modules/Example_0750.zip was not found on this server.
- Igor
--
Have a nice day
zikulapro.be is currently running
Zikula 1.0.2 -
- rank:
-
Freshman
- registered:
- September 2004
- Status:
- offline
- last visit:
- 01.12.07
- Posts:
- 45
Yee but that isn't simple ... that example have all files and blocks and so one. I need to see if there is some module allready that is small so I can see how things goes :) In Example is hard to get all things together for me.
edited by: car-li, Apr 13, 2007 - 07:57 PM -
- rank:
-
Helper
- registered:
- July 2004
- Status:
- offline
- last visit:
- 23.08.08
- Posts:
- 448
Example is quite straightforward if you read the docs to get a basic idea of whats going on first.
Code
/**
* the main user function
*
* This function is the default function, and is called whenever the module is
* initiated without defining arguments. As such it can be used for a number
* of things, but most commonly it either just shows the module menu and
* returns or calls whatever the module designer feels should be the default
* function (often this is the view() function)
*
* @author The PostNuke Development Team
* @return output The main module page
function Example_user_main()
*/
The comments inside the source are excellent. The module starts at above function. Goodluck.
--
pnDev.com ~ featuring the PostNuke paid services forum -
- rank:
-
Freshman
- registered:
- September 2004
- Status:
- offline
- last visit:
- 01.12.07
- Posts:
- 45
Geee sory about my english, my english writing is realy bad :).
Yee well I know that Example have that help and so one, but for ppl that doesn't know this framework it's prity useless. Ok not completly useless but it take a lot of time :)
Thanks for all help, I will check that generator ... thanks.
