This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Debug timers for Processwire when you can't enable debug mode | |
* | |
* https://processwire.com/talk/topic/7865-performance-drop-after-update-to-25/?p=76166 | |
* | |
* Courstesy of sforsman | |
* | |
*/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
class ProcessPageListSubDomains extends Process{ | |
public static function getModuleInfo() { | |
return array( | |
'title' => 'Custom Page List to show only part of the the page tree', | |
'summary' => 'List pages in a hierarchal tree structure', | |
'version' => 100, | |
); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Page Edit Per User | |
* | |
* Assign edit access to users on a per-page or per-branch basis. | |
* | |
* The user must already have page-edit permission on one of their roles in order to get | |
* edit access to assigned pages. Otherwise, they will only gain view access. | |
* |