https://www.icyphoenix.com/viewtopic.php?f=36&t=5894&p=40110#p40110
-----------------------------------
Lopalong
Sun 31 May, 2009 23:57

Re: Sudoku Images For Dark Styles
-----------------------------------
[quote user="Mighty Gorgon" post="40086"]I'm a bit lost in this huge topic... :sad:[/quote]

You caused it!  :mrorange: 

[quote]
If you just need to overlay menu_sep, you can just add menu_sep template declaration at the end of your cfg file. [/quote]

We already worked that out, but isn't that a BIG ask for a novice theme maker, to start adding vars to re-echo the changes to the strings ?

Only a suggestion, but would it not be easier to split the vars array from the default.cfg and do something like this ?

[code linenumbers=false]include(IP_ROOT_PATH . 'templates/default/default.cfg'); 

// Start Put any forced changes to the default.cfg here.

$images['menu_sep'] = $current_template_buttons . 'menu_sep.png'; 
$images['nav_menu_sep'] = $current_template_buttons . 'menu_sep.png'; 

// END Put any forced changes to the default.cfg here.

include(IP_ROOT_PATH . 'templates/default/default_vars.cfg');[/code]

Else I'll simply remove all of the unwanted vars from the example I did, and we'll have to use that as the base for modded theme vars for all the images that theme makers may want to change.

I honestly don't think that most theme-makers are also programmers, so we'll give them the easiest way to do it, without having to work out what var belongs to what image etc.. ;)


