Google Groups

Re: [silverstripe-dev] Re: CMS Menu Icons

Martimiz Aug 3, 2012 4:05 AM
Posted in group: SilverStripe Core Development

Sorry, should be <span class="icon icon-16 icon-{$Code.LowerCase}">&nbsp;</span>

Anyway, just checked in ModelAdmin, and it works:

    public function init() {
        Requirements::customCSS(".icon.icon-16.icon-whiskyadmin { background: url('/whisky/images/whiskyadmin.png'); }");


Op vrijdag 3 augustus 2012 12:43:24 UTC+2 schreef Martimiz het volgende:


At the moment, this is done using styles: framework/admin/templates/Includes/ creates a

<span class="icon icon-16 icon-$Code">&nbsp;</span>