[Wiki] Plugin Examples

[Wiki] Plugin Examples

Postby woodzy on Thu May 26, 2005 1:21 am

It seems that there are alot of plugins out there, while it is easy enough to just download the plugins and read the source some users may find that cumbersome. I saw in the wiki that examples were "tbd."

I was looking to add some not so intuitive examples in that area.

automatic SQL table generation
basic event registration techniques

It would also be useful to find basic methods used in plugin's documented here for a quick reference... something more than registerBlogAction($variable,$variable,$variable) like the API has for example.

I'd be willing to add some of this, any other suggestions for examples or basic methods?
Lifetype Expert
Posts: 54
Joined: Mon Jan 26, 2004 8:03 pm

Postby phunkphorce on Thu May 26, 2005 2:40 am

The most common things one can do with plugins is register new actions (both admin side and public side), hook to certain events, and load plugin templates. There is extensive information about all these things but if you wish to provide some more examples, pleae go ahead.

As for method documentation, the most up-to-date version will always be available from the API docs and I think that duplicating information is not a good thing. Perhaps links from the wiki to the API would be better?
Lifetype Expert
Posts: 9028
Joined: Mon Aug 25, 2003 6:34 am
Location: Suomessa

Return to Documentation