Friday, October 12, 2012

Concrete5: ccm-toolbar issue

Issues with ccm-toolbar (the bar that appears in the edit mode with Edit and Dashboard buttons) is mainly due to jQuery conflict when you are using other jQuery plugins.

If you see the ccm-toolbar but if the Edit and Dashboard buttons are not there, you can try moving

<?php
  Loader::element('header_required');
?>

right below the opening of the <head> tag and above all calls to javascript. This usually fixes the issue. You usually do not need to include jQuery as it is included by C5 itself.

If this does not fix your problem, check for CSS that may be conflicting with the toolbar. Also check for your jQuery scripts that dynamically add/modify html tags. I once had his issue where my dynamic jQuery script was faulty.