If you are building a concrete5 addon or customising the theme. you might have to check if you are in edit mode or not. There you can use global $c;
if ($c->isEditMode()) { //////Do something//////////// } else { //////Do another thing//////////// }
Loading Conversation