ok I'll walk you through this:
1. Open up the file colours.xml - if it is not in a 'settings' folder already within the skin then create a settings folder alongside the 'panels' and 'graphics' ones and add the colours.xml file from the main 'data/settings/' area of FM.
2. You will see a list of colours in there and you can define your own in the same format. You might add a line like this:
<colour name="managername" red="255" green="240" blue="0"/>
Add lines for the text you want to change. If you want to change several bits of text to the same colour then just create one entry.
Save the file.
3. Open up the panel which containes the text you want to change. The manager name and club are in header.xml.
Scroll down until you find the widget that displays the text you want to change.
<widget class="text" id="pers" text="" standard_spec="text" style="embossed" alignment="right" auto_size="vertical" multiline="false">
<attachment class="get_global_attachment" get_property="user" set_property="text"/>
</widget>
- this is the widget that displays the manager name.
You need the following line added somewhere inside this widget:
<flags id="colour" value="managername"/>
The value= points to the colour you created in colours.xml
So the widget will look like this:
<widget class="text" id="pers" text="" standard_spec="text" style="embossed" alignment="right" auto_size="vertical" multiline="false"> <flags id="colour" value="managername"/>
<attachment class="get_global_attachment" get_property="user" set_property="text"/>
</widget>
The process is the same for recolouring other text. Its just a case of finding where it is displayed in a file and making the changes.
|