• Welcome to Simple Machines Community Forum. Please login or sign up.
December 04, 2021, 12:13:25 AM

News:

Join the Facebook Fan Page.


Mod List Color Alternate

Started by JayBachatero, December 11, 2006, 04:25:14 PM

Previous topic - Next topic

JayBachatero

December 11, 2006, 04:25:14 PM Last Edit: December 12, 2006, 08:38:37 AM by JayBachatero
Link to Mod
Rate this Mod

This mod will alternate the colors in the list of mods for the Package Manager.
Follow me on Twitter

"HELP!!! I've fallen and I can't get up"
This moment has been brought to you by LifeAlert

RoarinRow


SMF 2.0
TP 1.0 RC1.1
Wordpress 3.1.3

L.G.S

Mod works great although do you know that the package edits packages.template.php four times instead of just the once?
FREE and LIVE World Cup + Premier League football streams:

www.gamesandgoals.com


RoarinRow

Quote from: L.G.S on December 12, 2006, 02:10:22 PM
Mod works great although do you know that the package edits packages.template.php four times instead of just the once?

ok. good i wasn't the only one who saw that. 

SMF 2.0
TP 1.0 RC1.1
Wordpress 3.1.3

JayBachatero

Cause the package manager supports Mod, Avatars and language files.  There is also the installed list.
Follow me on Twitter

"HELP!!! I've fallen and I can't get up"
This moment has been brought to you by LifeAlert

RoarinRow


SMF 2.0
TP 1.0 RC1.1
Wordpress 3.1.3

L.G.S

Quote from: JayBachatero on December 12, 2006, 03:11:29 PM
Cause the package manager supports Mod, Avatars and language files.  There is also the installed list.

eh ??? Why would that affect the need to change one file four times when one modification could be done to it ??? J/w
FREE and LIVE World Cup + Premier League football streams:

www.gamesandgoals.com


JayBachatero

There are four different places to edit.  Also I was having a problem with one of the changes so I broke it down into 4 file changes instead of 4 operations in one file tag.  It does the same thing though.  The 4 changes are different.  Look into the template if you want.
Follow me on Twitter

"HELP!!! I've fallen and I can't get up"
This moment has been brought to you by LifeAlert

L.G.S

FREE and LIVE World Cup + Premier League football streams:

www.gamesandgoals.com


Daniel15

Wow, it's simple things like this that have a nice effect :)
Just one question:

<tr>
<td class="', $alternate ? 'windowbg' : 'windowbg2', '">', ++$i, '.</td>
<td class="', $alternate ? 'windowbg' : 'windowbg2', '">', $package['name'], '</td>
<td class="', $alternate ? 'windowbg' : 'windowbg2', '">

Why not just apply the class to the whole <tr>, rather than all the individual <td>'s?
Daniel15, former Customisation team member, resigned due to lack of time. I still love everyone here :D.
Go to smfshop.com for SMFshop support, do NOT email or PM me!

karlbenson

Gr8 mod, especially for those of us with long lists of installed mods.

would be so simple to make default in smf.

JungleBunny

Thanks !! :D :D
A little good Mod for 1.1.2, too 8)

RoarinRow

Very helpful when you have over 30+ mods   :)

SMF 2.0
TP 1.0 RC1.1
Wordpress 3.1.3

El_Kaiser

I don't understand what do this mod.

Someone could explain me until with images please.

karlbenson

See the picture in the mod site.
http://custom.simplemachines.org/mods/index.php?mod=570

Basically normally all the rows are the same color.

Now its alternating the colors of the rows.

Light Blue
Dark Blue
Light Blue
Dark Blue

JayBachatero

This mod is no longer needed for 2.0.
Follow me on Twitter

"HELP!!! I've fallen and I can't get up"
This moment has been brought to you by LifeAlert

karlbenson

And I hadn't noticed yet ;)
I'll remove it off my list of mods I want to use on my forum when i go 2.0

JayBachatero

Heh you notice everything else but this :P.
Follow me on Twitter

"HELP!!! I've fallen and I can't get up"
This moment has been brought to you by LifeAlert

cqinzx

thanks for this mod. it makes browsing, uninstalling, and deleting packages easier.  7hanks again!

Advertisement: