Skip to content

Instantly share code, notes, and snippets.

@hissy
Created August 27, 2013 05:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hissy/6350034 to your computer and use it in GitHub Desktop.
Save hissy/6350034 to your computer and use it in GitHub Desktop.
[concrete5] Get assets url in block type template
<?php defined('C5_EXECUTE') or die("Access Denied.");
$uh = Loader::helper('concrete/urls');
$bt = $this->getBlockObject()->getBlockTypeObject();
?>
<img src="<?php echo $uh->getBlockTypeAssetsURL($bt,'rss.png')?>" alt="" />
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment