News:

Wondering if this will always be free?  See why free is better.

Main Menu

Simple Menu Icons

Started by Diego Andrés, December 28, 2012, 05:00:10 PM

Previous topic - Next topic

Diego Andrés

Link to the mod




Simple Menu Icons
Developed by: Diego Andrés

Introduction
Simple Menu Icons you can put icons in the menu, and if you add new buttons, you don't have to make manually changes, only add images.

Features

  • Enable/disable menu icons

Languages



GitHub

Credits
FatCow-Farm Fresh Icons: Thanks to FatCow.com. Licensed under CCL

SMF Tricks - Free & Premium Responsive Themes for SMF.

novill

Nice mod, thanks. :)

It seems that i make a ico file to the Themes/../images/smi/ folder and its ready to use. There is no more settings to this mod? In the Administration Center » Modification Settings » Simple Menu Icons is just the enable Simple Menu Icons option.

Diego Andrés

Yes, that's the only setting that this mod have.

SMF Tricks - Free & Premium Responsive Themes for SMF.

teos55

smf 2.0.3  default theme simple portal 2.3.5

  Can you pls clerify "if you add new buttons, you don't have to make manually changes, only add images"


Will the image name be the same with the button name ?

eg.  Google Tagged   is the button, what will be the image name ?

Diego Andrés

Doesn't mean I have EVERYTHING.
You can always find or install a mod and then ask here to add it.

Regards.

When i get home i attach you de image to upload.

SMF Tricks - Free & Premium Responsive Themes for SMF.

teos55

Thanks for the clerification.  I have the famfamfam icons copied to my locak disk, so I can use one of the proper one for
Google Tagged.
  My quesiton was the naming convention.
If I copy one of the famfamfam icon and rename it to "Google Tagged.png" , will it work ?
Thanks


nb.  I tried what I planned but didnt work.


Diego Andrés

No, I can't see the mod right now as I said.
Check what you see on ?action= and type the name of the action for name de image.
Don't now if is right because i can't see in this moment.
Try with that.

Regards

SMF Tricks - Free & Premium Responsive Themes for SMF.

teos55

Great !

  ?action is the answer.  Copied an icon and renamed to tagged.png  and worked  ..

Thanks again.


smitch6

i will be using this mod soon once i figure out how to install it
as it is showing an error in .sources/subs.php   so i will have to change that manually.

as for the icons i gather that you just name them the same as the tab?
ie. home would be home.png
admin would be admin.png
etc etc
and then upload the image to the smi folder
Friendly, reliable web hosting at affordable prices
www.normanboatforum.co.uk l www.PatTesterSuffolk.co.uk

teos55

Please read above for file name convention.

"Check what you see on ?action= and type the name of the action for the name of the image."

Place your cursor on the menubutton  for that funciton and look down left for the name in the browser after "?action=xyz"
xyz is the file name for the image.

smitch6

yes got it sorted thanks :)
just changed the sources/subs.php file and did what i said in my previous post just changed the name of the icon to what was needed and it's all working

great mod thanks :)
Friendly, reliable web hosting at affordable prices
www.normanboatforum.co.uk l www.PatTesterSuffolk.co.uk

GL700Wing

Fantastic mod - very elegant in its simplicity!!

I made a minor change to also show icons for third level/grandchildren menus.
Life doesn't have to be perfect to be wonderful ...

Slava
Ukraini!
"Before you allow people access to your forum, especially in an administrative position, you must be aware that that person can seriously damage your forum. Therefore, you should only allow people that you trust, implicitly, to have such access." -Douglas

N i g h t m a r e

I see to get Two icons for each Menu Option, any idea why or how i can fix this?

Diego Andrés

Maybe you installed the mod twice, or you have also the other mod "menu icons" installed at the same time.

SMF Tricks - Free & Premium Responsive Themes for SMF.

N i g h t m a r e

Quote from: Diego Andrés on September 29, 2013, 11:25:32 PM
Maybe you installed the mod twice, or you have also the other mod "menu icons" installed at the same time.


I figured it out, i had my theme installed twice on accident and i clicked it twice. Hard to explain but anyways, I fixed it.

GamePersia

How to add more icons,..in different tab,..like contact tab ??

Diego Andrés

Quote from: GamePersia on February 06, 2014, 07:07:21 AM
How to add more icons,..in different tab,..like contact tab ??

Do you mean adding an icon to another button?
You just have to upload your icon in Themes/default/images/smi/
Remember that it has to be named action.png
If your page is something like action=contactform
Then the icon name should be contactform.png

SMF Tricks - Free & Premium Responsive Themes for SMF.

GamePersia

Quote from: Diego Andrés on February 06, 2014, 07:29:05 AM
Quote from: GamePersia on February 06, 2014, 07:07:21 AM
How to add more icons,..in different tab,..like contact tab ??

Do you mean adding an icon to another button?
You just have to upload your icon in Themes/default/images/smi/
Remember that it has to be named action.png
If your page is something like action=contactform
Then the icon name should be contactform.png
I have done as you said,..But not showing that icon in menu !...... :'(
I have inserted icon in : Themes/default/images
But i cannot find smi.,..So i placed 16x16 logo in images folder,..where other icons is placed !!
My smf is 2.0.7
Help Needed !!!

Diego Andrés

Please check that the icon is named correctly.
Leave the URL of your website to see.

SMF Tricks - Free & Premium Responsive Themes for SMF.

Advertisement: