http://www.icyphoenix.com/viewtopic.php?f=36&t=5894&p=39906#p39906
-----------------------------------
Lopalong
Thu 28 May, 2009 02:05

Re: Sudoku Images For Dark Styles
-----------------------------------
That is corrrect Limun. ;)

This other example shows you how I added new vars and new card images suitable for the proSilver style only, by simply adding them to the [b]prosilver_ip.cfg[/b]

And I hope this helps to give you a wider outlook on how to add extra's or change things for a single style.

 :mrblue: 

[code linenumbers=false]include(IP_ROOT_PATH . 'templates/default/default.cfg');

$template->assign_vars(array( 
	'IMG_CWL' => $images['tbl_cwl'], 
	'IMG_CWC' => $images['tbl_cwc'], 
	'IMG_CWR' => $images['tbl_cwr'],

	'IMG_CWT' => $images['tbl_cw_t'],
	'IMG_CWB' => $images['tbl_cw_b'],
   )
);

// Yellow card
$images['icon_b_card'] = $current_template_images . 'buttons/card_blue.gif';
$images['icon_g_card'] = $current_template_images . 'buttons/card_green.gif';
$images['icon_bhot_card'] = $current_template_images . 'buttons/card_both.gif';
$images['icon_y_card'] = $current_template_images . 'buttons/card_yellow.gif';
$images['icon_r_card'] = $current_template_images . 'buttons/card_red.gif';
$images['icon_y_cards'] = $current_template_images . 'buttons/cards_yellow.gif';
$images['icon_r_cards'] = $current_template_images . 'buttons/cards_red.gif';[/code]

And to put it in another way: :mryellow: 

IP reads the style.cfg up to the include line -> then reads the default.cfg -> then reads any changes you have made for anything else you may have added or want to include.


