Skip to content

Instantly share code, notes, and snippets.

@mkschell
Created November 26, 2010 18:01
Show Gist options
  • Select an option

  • Save mkschell/717026 to your computer and use it in GitHub Desktop.

Select an option

Save mkschell/717026 to your computer and use it in GitHub Desktop.
mgrChunk snippet idea
<?php
$return = '';
if(isset ($_SESSION['mgrValidated'])){
$return = $modx->getChunk($chunk);
}
return $return;
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment