News:

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

Main Menu

Menu Icons

Started by Mick., December 13, 2010, 05:13:55 PM

Previous topic - Next topic

NanoSector

#40
Great mod! Looks good on my theme installed (Fresh by Skinmod)!

Just added a little icon for my ADK Downloads area...

Find:
'title' => $txt['downloads'],


Replace:
'title' => '<img align="absMiddle" src="'. $settings['images_url']. '/menu_icons/yourimage.png" alt="'.$txt['downloads'].'"/>&nbsp; ' . $txt['downloads'],

Change the yourimage.png to your preferred image.
My Mods / Mod Builder - A tool to easily create mods / Blog
"I've heard from a reliable source that the Answer is 42. But, still no word on what the question is."

joey791

Great mod, its awesome, seen your site and you do good work

If you ever expand on it, icons for staff(dont know what you would use), forum(mini forum), donations(dollar symbol), would be cool

NanoSector

Quote from: joey791 on December 29, 2010, 02:22:27 AM
Great mod, its awesome, seen your site and you do good work

If you ever expand on it, icons for staff(dont know what you would use), forum(mini forum), donations(dollar symbol), would be cool
you can add additional icons to the folder; the current icons are based off FamFamFam.
My Mods / Mod Builder - A tool to easily create mods / Blog
"I've heard from a reliable source that the Answer is 42. But, still no word on what the question is."

Kindred

I added icons for about 8 extra menu items
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

Mick.

Quote from: joey791 on December 29, 2010, 02:22:27 AM
Great mod, its awesome, seen your site and you do good work

If you ever expand on it, icons for staff(dont know what you would use), forum(mini forum), donations(dollar symbol), would be cool

Thank man. Its called being lazy. lol

Sometimes is easier to cut corners. I used the 'arrows' for all dropdowns instead of diff images.

...as SST stated, you could add more images to the menu_icons folder and rename them in Subs.php

Reply#1 has the fam fam images zip attached. ;)

tesser

#45
i will have to repost i had some friends round while i was making coffee  they changed it i wondered what they was laughing at lol now i know

Kindred

well, is $txt['sp-here'] defined?   Seems like it's not.
Why are you even using sp-here?   why not use sp-forum like the actual text?
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

tesser

#47
Fixed  with no errors.

Lesson of the day dont leave  a file open when  the girls come round  they changed "forum" to "here"

guess the joke was on me lol

just found this too lol @sp-house aswell as sp-here

Dont use the code below

'title' => '<img align="absMiddle" src="'. $settings['images_url']. '/menu_icons/house.png" alt="'.$txt['sp-forum']. '"/>&nbsp; ' .  $txt['sp-house'],

apashi

hello,

i have some errors:

Guest
95.27.138.252

January 05, 2011, 05:56:45 PM
0c8325359183f79b038bceb7720fe977
Type of error: Undefined

http://www.vorbareti.ro/index.php?board=1.0 [nofollow]

8: Undefined index: title

File: /home/apashi/vorbareti.ro/Themes/default/MessageIndex.template.php (body_above sub template - eval?)
Line: 413
Guest
95.27.138.252

January 05, 2011, 05:56:44 PM
0c8325359183f79b038bceb7720fe977
Type of error: Undefined

http://www.vorbareti.ro/index.php?board=1.0 [nofollow]

8: Undefined index: href

File: /home/apashi/vorbareti.ro/Themes/default/MessageIndex.template.php (body_above sub template - eval?)
Line: 412

can you help me?

thanks!

NanoSector

Doesn't have to do anything with this mod unless you are on SMF 1.1. What is your SMF version?
My Mods / Mod Builder - A tool to easily create mods / Blog
"I've heard from a reliable source that the Answer is 42. But, still no word on what the question is."

apashi


ysNoi

#51
Thanks to this mod...Simple and nice...

How do I activate it to work on my other themes... It's only working on my default theme..

My mods installed:

BBC [you]
PaypalDonations
Facebook Sharer Mod 1.0
Effectively Remove SMF Logo
Aeva Media
Menu Order
SimplePortal

Themes I want to use:
SMF Default Theme
DS-Natural
Silent Wave
"Don't fix it if it ain't broken, don't break it if you can't fix it."

impreza

great mod, thanks for making it
Portal ToTemat.pl - treści w postaci artykułów i filmów tematycznych.

Kindred

ynNoi,

If you are running 1.1.x, you will have to manually edit your additional themes.
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

Mick.

This mod only works on 2.0

Kindred

hmmm....   then, in 2.0, unless the themes are not using the menu array, it should automatically work on all themes.
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

Mick.

I think those custom themes he/she want to use may not be using the menu from sources. It uses them from index.template instead.

Kindred

oooohhhh... naughty themers
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

Mick.

Quote from: Kindred on January 11, 2011, 12:47:23 PM
oooohhhh... naughty themers
yep, I use rc3 and my custom theme's menu is in the index.template.php ;)

ysNoi

I'm using SMF 2.0 RC4.
"Don't fix it if it ain't broken, don't break it if you can't fix it."

Advertisement: