Skip to content

Instantly share code, notes, and snippets.

View Renobird's full-sized avatar

Tom Reno Renobird

  • Info Tech, Inc
  • Gainesville, Florida
View GitHub Profile
@Renobird
Renobird / ProcessWire Debug Timers
Created April 21, 2015 14:30
ProcessWire Debug Timers
<?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
*
*/
@Renobird
Renobird / ProcessPageListSubDomain.module
Created March 18, 2015 13:56
Show part of ProcessWire page tree based on domain
<?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,
);
@Renobird
Renobird / PageEditPerUser.module
Created January 8, 2015 18:38
Alternate PageEditPerUser module
<?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.
*