How to disable one color?

Started by Xar0ne, September 20, 2015, 05:00:02 PM

Previous topic - Next topic

Xar0ne

Hello!
There's some colors to choose on SMF, but is it possible to disable one of them?
I would like to do it, but I have no idea how.

br360

Disable a color or just change it to something else?  Depending on what you are trying to edit, changing the color can change one thing or many different things. What exactly are you interested in changing?

Xar0ne

We've got something like that:



Right? And it would be great, to remove one of these options. E.g. "White"

br360

I've never actually done it personally, but here is a link that explains how to add colors- http://www.simplemachines.org/community/index.php?topic=501640.msg3524574#msg3524574

If you want to reverse that go into GenericControls.template.php:

Find and remove-

\'white\': ', JavaScriptEscape($txt['white']), ',

I just tested it and it was removed, but back up that file before you make the change, just in case. ;)

Xar0ne

Great! Looks like it works. Thanks, br360! :)

br360


Advertisement: