PHP code example of ithilgers / pagetree-permissions-highlight
1. Go to this page and download the library: Download ithilgers/pagetree-permissions-highlight library. Choose the download type require.
2. Extract the ZIP file and open the index.php.
3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
ithilgers / pagetree-permissions-highlight example snippets
// config/system/settings.php
'EXTENSIONS' => [
'pagetree_permissions_highlight' => [
'highlightColor' => 'rgba(255, 215, 0, 0.15)', // Golden highlight
],
],
Classes/
└── EventListener/
├── BackendTemplateListener.php # Loads JS module in backend
└── PageTreeItemsListener.php # Main event listener
Configuration/
├── JavaScriptModules.php # ES6 module registration
└── Services.yaml # Service registration
Resources/
├── Private/
│ └── Language/
│ ├── locallang.xlf # English labels
│ └── de.locallang.xlf # German translation
└── Public/
└── JavaScript/
└── permissions-filter-toggle.js # Filter toggle UI
ext_conf_template.txt # Extension configuration template
ext_emconf.php # Extension metadata
composer.json # Composer metadata