Lecteur Markdown
PLUGIN_CATALOG_DOCUMENTATION_EN
Feature: Plugin Catalog #
Directory of all installed plugins. Displays each plugin's metadata (version, date, author, description), categorises them by type and provides links to their documentation.
---
Installation and Configuration #
Via FTP: Upload the `plugin_catalog/` directory into `/plugins/`.
Via package manager: Select `plugin_catalog` from the available plugins list.
Paths:
- Main plugin: `/plugins/plugin_catalog/plugin_catalog.php`
- Configuration: `/plugins/plugin_catalog/conf/plugin_catalog.conf.inc.php`
- JavaScript: `/plugins/plugin_catalog/js/plugin_catalog.js`
- CSS: `/plugins/plugin_catalog/css/plugin_catalog.css`
Configuration parameters:
| Variable | Description |
|---|---|
| `$basedisplevel` | Minimum required level (based on `objpri`) |
| `$ftype` | `3` (system) |
Cache: HTML files in `$cfg[20]/plugin_catalog#{hash}.html` — 1-hour TTL for non-admins.
Screenshot directory: `$cfg[6]/plugins/{plugin_name}/`
---
Usage #
Plugin Grid #
Each card displays:
- Plugin name
- Version and date (read from `@version` and `@date` in the PHP header)
- Description (`@description`)
- Type (coloured category badge)
- Link to documentation (if `docs/` directory is present)
- Screenshot gallery (lazy loading, 4 visible + "more")
Categories (ftype) #
| ftype | Category |
|---|---|
| 0 | Misc |
| 1 | Content |
| 2 | Crawlers |
| 3 | System |
| 4 | Community |
| 5 | Tools |
| 6 | Shop |
| 7 | AI |
| 8 | SEO |
| 99 | Beta |
Cache Behaviour #
Non-admin visitors see the cached version (1 hour). Admins always see a fresh view.
---
Hooks and Entry Points #
?obj=plugin_catalog.php — Full catalogue
---
Dependencies #
- `Beamreactor\Sanitizer\Parser`
- mdreader plugin — renders `.md` documentation files
- Read access on `plugins/`