How to Create Modules in Pligg
Posted on Tue, Apr 8, 2008 by
admin
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.
Popularity: 16% [?]
| 2.5 |
If you're new here, you may want to subscribe to my RSS feed. Thanks for visiting!















RSS feed for comments on this post. TrackBack URL
RELATED POSTS
No related topics foundRELATED ADS
Leave a Reply