CDROM-Guide forums  

PDA

View Full Version : CM4 "widget" problem with 4.05 update


   
Cag 1
Jun 02, 2003, 05:28 PM
When using this update I keep getting a emssage which mentions a "widget is missing" or something like that. Anyone else had this problem & if so can it be fixed

Cheers

dervish
Jun 05, 2003, 09:35 PM
If it's happening when you go to the team selection screen during a match you can fix it by going to the CM4 directory, then look in the data > panels folder. Open the file team_selection.xml in notepad and replace the entire text with the following :



<container title="Team Selection" version="1.0">

<layout kind="arve" algn="top" gap="0" offs="0" />
<layout kind="stks" algn="all" laye="1" inse="0" />
<layout kind="fitc" algn="vertical" laye="1"/>

<record id="defp">
<flags id="spec" value="text, small"/>
</record>

<comment>
- STRING codes
sinj : injured button string
sbkd : booked button string
soff : sent off button string
scpt : captain button string
sins : instruction button string

- COLOUR codes
cinj : injured text colour
cbkd : booked text colour
coff : sent off text colour
ccpt : captain text colour
cins : instruction button text colour
</comment>

<string id="sinj" value="" />
<string id="sbkd" value="" />
<string id="soff" value="" />
<string id="scpt" value="Capt" />
<string id="sins" value="i" />

<colour id="cinj" red="255" green="240" blue="0" />
<colour id="cbkd" red="0" green="0" blue="0" />
<colour id="coff" red="255" green="240" blue="0" />
<colour id="ccpt" red="255" green="255" blue="255" />
<colour id="cins" red="255" green="255" blue="255" />

<widget kind="tabl" id="sqtb" srtd="1"
layout="45,25,25,-1,40,80,30"
mode="select_rows,fill_columns" >

<layout kind="stks" algn="fill" gap="0" offs="0" />
<integer id="toph" value="1"/>
<integer id="rowh" value="22" />
<comment>
<true id="asrw" />
</comment>
<true id="scst"/>

<record id="defp">
<flags id="algn" value="middle,left" />
<flags id="spec" value="text" />
</record>

<list id="hdgs">
<record >
<string value="No" hint="Shirt Number" />
<flags id="algn" value="centre" />
</record>

<record>
<string value="" />
<flags id="algn" value="left" />
</record>

<record>
<string value="" />
<flags id="algn" value="left" />
</record>

<record>
<string value="Player" hint="Player Name" />
<flags id="algn" value="left" />
</record>

<record>
<string value="" />
<flags id="algn" value="centre" />
</record>

<record>
<string value="Info" />
<flags id="algn" value="centre" />
</record>

<record>
<string value="" />
<flags id="algn" value="centre" />
</record>

</list>


<list id="clpr">
<record indx="0">
<flags id="algn" value="centre" />
<flags id="spec" value="control,small"/>
<colour name="white"/>
</record>

<record indx="1">
<flags id="algn" value="middle,centre_y" />
</record>

<record indx="2">
<flags id="algn" value="centre" />
<flags id="spec" value="text,small"/>
</record>

<record indx="3">
<flags id="algn" value="left,centre_y" />
<flags id="spec" value="text"/>
</record>

<record indx="4">
<flags id="algn" value="centre" />
<flags id="spec" value="text,small"/>
<colour name="white"/>
</record>


<record indx="5">
<flags id="algn" value="centre" />
<flags id="spec" value="text,small"/>
</record>

<record indx="6">
<flags id="algn" value="centre" />
<flags id="spec" value="text,small"/>
</record>

</list>

<list id="cdpr">

<record indx="0">
<false id="srtd"/>
<flags id="clal" value="centre"/>
</record>

<record indx="1">
<false id="srtd"/>
</record>

<record indx="2">
<false id="srtd"/>
<flags id="clal" value="centre"/>
</record>

<record indx="3">
<false id="srtd"/>
</record>

<record indx="4">
<false id="srtd"/>
<flags id="clal" value="centre"/>
</record>

<record indx="5">
<false id="srtd"/>
<flags id="clal" value="centre"/>
</record>

<record indx="6">
<false id="srtd"/>
<integer id="rght" value="10"/>
</record>


</list>

</widget>
</container>



You may also need to change a file with the same name in the data > skins > panels directory for any custom skins which use a seperate team_selection.xml file (not all do). Just copy paste the above to that file too.