Skip to content

Instantly share code, notes, and snippets.

@mmccall10
Last active June 20, 2016 18:43
Show Gist options
  • Save mmccall10/e57c3b299efcdb0fa984 to your computer and use it in GitHub Desktop.
Save mmccall10/e57c3b299efcdb0fa984 to your computer and use it in GitHub Desktop.
concrete5 page url from cid
<?php
$n = Loader::helper('navigation');
$link = Page::getByID($this->cId);
$url = $n->getLinkToCollection($link);
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment