How to Create Modules in Pligg

Posted In Tutorials - By Geoserv On Tuesday, April 8th, 2008 With 2 Comments

To understand how modules work, you have to understand the filesystem hierarchy for each module. All Pligg modules exist as individual directories (listed by module name) in pliggroot/modules. I will refer to pliggroot throughout this document as the path to your pligg web application.

Within pliggroot is also a file called module.php. This is mostly just a file for use by each Module later. It’s a pretty bare-bones file that calls a few of the essential libraries needed to write pligg pages.

Within pliggroot/modules, there are also 3 php files, modules_init.php, modules_libs.php, and modules_manage.php. My understanding is that these files are called when each module hook is called, and tell pligg how to load the modules. I haven’t read deep into them though, so I’ll let the Pligg maintainers explain that later if they want.

Full tutorial…

Related Search:

  • pligg create module
  • how to customize pligg
  • pligg cms create modules

About - Geoserv has been working with the Pligg CMS for 2+ years.

  • Pingback: Pligg developers robbing new members

  • http://www.usedtiresdealers.com used tires

    Thanks for posting the link to the full tutorial, lots of information in there to catch up on!

    Till then,

    Jean