Return to Snippet

Revision: 62661
at March 5, 2013 18:55 by dosde


Initial Code
$btID = $b->getBlockTypeID();
$bt = BlockType::getByID($btID); //getByHandle($btHandle);

$uh = Loader::helper('concrete/urls');
$uh->getBlockTypeAssetsURL($bt);

Initial URL


Initial Description
Returns the path of the block. In this snippet, it is used within a block (to add images or certain other files)

Initial Title
Get the block path

Initial Tags


Initial Language
PHP