We build. You grow.

Get best community software here

Start a social network, a fan-site, an education project with oxwall - free opensource community software

Adding icons to content menu items | Forum

Nikolay
Nikolay Dec 22 '14
Hey everyone, so I'm trying to add icons to the items of the content menu (the one that shows up on videos, blogs,events.. with items "Latest", "Top Rated"..) but for some reason it doesn't work. I've modified the following file:


ow_system_plugins\base\view\components\content_menu.html


and added an image tag:


<li class="{$item.class} {if $item.active} active{/if}"><a href="{$item.url}"><img height="15" width="15" src="icon.png"><span{if $item.iconClass} class="{$item.iconClass}"{/if}>{$item.label}</span></a></li>


However it doesn't show up even though I saw that it is updated on the server. Any idea what might be the cause? Thanks!

Durlabh Ashok
Durlabh Ashok Dec 22 '14
You tried enabling ow_debug, to clear out the previous cache?
The Forum post is edited by Durlabh Ashok Dec 30 '14
ross Team
ross Dec 22 '14
Topic was moved from General Questions.
Nikolay
Nikolay Dec 24 '14

Quote from Durlabh Ashok You tried enabling ow_degug, to clear out the previous cache?

Actually it worked when I enabled the dev_mode but thanks for your feedback anyways!

Durlabh Ashok
Durlabh Ashok Dec 30 '14
Okay, great.