I notice that you can add icons for your sub navigation. However looking at the template for the subnav loop there isn't any markup to render that icon. Anyone know if this is coming in the future or missing code?

Example pulled from Craft Commerce plugin

$context['subnav']['settings'] = array('icon' => 'settings', 'label' => Craft::t('Settings'), 'url' => 'commerce/settings');

Not actually possible. That icon key is not being used anywhere – just a remnant from a past feature idea that didn’t make it into Craft 2.5. (I just removed it for the next release.)

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.