This is the documentation for concrete5 version 5.6 and earlier. View Current Documentation

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