Skip to content

Instantly share code, notes, and snippets.

@nicoknoll
Last active August 29, 2015 14:00
Show Gist options
  • Save nicoknoll/11035029 to your computer and use it in GitHub Desktop.
Save nicoknoll/11035029 to your computer and use it in GitHub Desktop.
ProcessWire
<?php
foreach($page->parents()->append($page)->slice(1)->reverse() as $parent) { echo ucfirst($parent->get('headline|title')).' - '; } echo 'Page Title';
<?php
// Reset Password
$users->get("admin")->setOutputFormatting(false)->set('pass', 'yo12345')->save();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment