Been tinkering with a development of SuiteCRM on and off for several months which is the main has been quite successful.
Recently implemented a new custom module (Assets) which is linked M:1 to Accounts/Customers, however minor issue is that there is no icon appearing in the asset subpanel within accounts nor in the recently viewed sidebar which is what is bugging me the most…
I’ve used workflow to get the ‘name’ field to populate with a custom field but it just looks odd in the sidebar just showing the Asset#. I’ve located what I think are the related icons but they don’t seem to have any bearing whatever change I make.
I’ve checked permission and wizard shows all files writable. Run quick repair and rebuild countless times.
Nothing else in the file, run qr&r but still missing icons.
I noted in the other thread module is PVR_Hobbie (use of underscore) then in the class pvr-hobbie. My module is named asset_Assets, i’ve tried variations usng - and _ plus i’ve also tried playing with the case but to no avail. Am I missing something?
When directories don’t exist under “custom” dir, you can (should) create them. When you put that under custom, instead of putting the entire file with the added line, you put just a small file with just that line, and it will get aggregated to the larger file in core.
You need to run QR & R and do a browser hard refresh to see changes.
About the CSS class you should use (.suitepicon-module-asset_Assets) you should get from your browser. Right-cick on the spot where the icon should be, but isn’t displaying, and that will contain the CSS class you need to set.
I copied the the SuiteP dir to custom/themes/SuiteP/css reset permissions and replaced the style.css file in each of the directories for Dawn, Day, Dusk & Night with a small file containing line:
I’ve run quick repair and cleared browser cache and restarted server but still no icon showing, just to be clear where I think i should be seeing icons i’ve included screenshots of the side bar and the subpanel in the accounts module.