When editing pages we are getting code appearing around the blocks
Permalink
This is the code we are getting around blocks when editing:
_getAreaAddBlocks(), which then calls a // function in Content to include the file // note, we're also passed an area & collection object from the original function $arHandle = $a->getAreaHandle(); $arHandleTrunc = strtolower(preg_replace("/[^0-9A-Za-z]/", "", $a->getAreaHandle())); $c = $a->getAreaCollectionObject(); $cID = $c->getCollectionID(); $u = new User(); $ap = new Permissions($a); $cp = new Permissions($c); if (!$c->isArrangeMode()&& $a->areaAcceptsBlocks()) { ?> isGlobalArea()) { ?>
Any ideas on how we can fix this?
Thanks
_getAreaAddBlocks(), which then calls a // function in Content to include the file // note, we're also passed an area & collection object from the original function $arHandle = $a->getAreaHandle(); $arHandleTrunc = strtolower(preg_replace("/[^0-9A-Za-z]/", "", $a->getAreaHandle())); $c = $a->getAreaCollectionObject(); $cID = $c->getCollectionID(); $u = new User(); $ap = new Permissions($a); $cp = new Permissions($c); if (!$c->isArrangeMode()&& $a->areaAcceptsBlocks()) { ?> isGlobalArea()) { ?>
Any ideas on how we can fix this?
Thanks