Creating modules?

Discuss phpwcms here, please do not post support requests, bug reports, or feature requests! Non-phpwcms questions, discussion goes in General Chat!
Post Reply
medialab4
Posts: 1
Joined: Wed 16. Apr 2008, 12:30

Creating modules?

Post by medialab4 »

Hello all,

For school I'm working on a project which requires me to use phpwcms. Now I want to make a very basic module which allows me to show a list of items (countries in my case) and by clicking on them be able to edit them. I have fairly decent PHP knowledge that is not the problem. My problem is is that I have not the slightest clue on how to start off making a module? So my question is: What are the absolute requirements for making a module and what should I keep in mind making this simple application within phpwcms?

Thanks in advance
User avatar
juergen
Moderator
Posts: 4556
Joined: Mon 10. Jan 2005, 18:10
Location: Weinheim
Contact:

Re: Creating modules?

Post by juergen »

Hey there,

Just a hint:

look at mod_glossary to get an orientation..

The central Point for frontend process is a textvar which gives your module back to phpwcms and which is replaced inside $content['all'] ....

The settings for module are there in: module.default.php

so the complete path to enter the stage:

/include/inc_module/your_module

Oliver has made an automatic scan for modules, so there is no need to tell the system that it is there..

Good luck !
Post Reply