How to Create Modules in Pligg

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 posts

XML Sitemap Pligg Modules - Invalid Date

XML Sitemaps for Pligg

Pligg is Ajax unfriendly

XML Sitemaps Module v0.5 For Pligg V9.9.0 Released

WARNING - Security hole found in Pligg Send Announcement v0.2



No Comments »

No comments yet.

RSS feed for comments on this post. TrackBack URL

Leave a comment