mrtopher / dashEE

Control panel dashboard framework for EE CMS.
37 stars 5 forks source link

Simpler way to avoid flashing of the default links before being replaced with the new ones #6

Closed Laisvunas closed 12 years ago

Laisvunas commented 12 years ago

In "Tips & Tricks" part of the docs you recomment to add CSS rule #breadCrumb ol { display:none; } to EE theme override.css file.

There is easier way to achieve the same: using the hook cp_css_end which adds custom CSS to every Control Panel page (see description at )http://expressionengine.com/user_guide/development/extension_hooks/cp/css/index.html

You just need to add cp_css_end to the hooks list in ext.dashee.php file and a simple function:

function cp_css_end() { $css = "#breadCrumb ol { display:none; }"; return $css; }

mrtopher commented 12 years ago

Brilliant!! I'll get this added straight away.