JasemateUK73 Posted October 21, 2009 Share Posted October 21, 2009 Hi, In the FM10 Demo, how can I change the colour of the footer bar including the text to match the team colours in the title bar? Thanks. Link to post Share on other sites More sharing options...
JasemateUK73 Posted October 22, 2009 Author Share Posted October 22, 2009 I've managed to change the footer bar colour to match the team colours on the title bar but I can't seem to change the font colour on the footer bar to match the teams forground colour. It's only displaying the black default font colour. I know I need to add some code in the footer panel under the breadcrumb section but I don't know what as I've tried everything! Can someone please help me? Maybe Radestock or Michael (who are the skinning experts) if they're around. Thanks. Link to post Share on other sites More sharing options...
michaeltmurrayuk Posted October 22, 2009 Share Posted October 22, 2009 Have a look at this thread: http://community.sigames.com/showthread.php?t=118892 - that's for FM09 but hopefully the coding hasn't changed too much. Link to post Share on other sites More sharing options...
Veg Posted October 23, 2009 Share Posted October 23, 2009 I think the comand has changed, using tbcl for backgroun and ttcl for the front but still it seems like the the outlines ain't allowed to be chaged through some hardcoding. Link to post Share on other sites More sharing options...
radestock Posted October 23, 2009 Share Posted October 23, 2009 Take a look at the four letter code used to change the colour of the title font in 'titlebar.xml' from the 'fm2010/panels' folder from 'skins.fmf'. I think it might be different this year. I miss the simple 'bkcl' and 'fcol' Link to post Share on other sites More sharing options...
Veg Posted October 23, 2009 Share Posted October 23, 2009 Ok I think I know what is wrong is that my graphics were white which makes it impossible for the game to change the colours. New codes are as I said above 'tbcl' for background colour and 'ttcl' for foreground colours. Jason: If you use the commands in the thread Michael have linked to and change 'fcol' to 'ttcl' you will be fine. Link to post Share on other sites More sharing options...
JasemateUK73 Posted October 23, 2009 Author Share Posted October 23, 2009 Hi lads, Thanks to michael, rade and veg for your help so far but I'm still having trouble knowing where the code goes for the forground colour (ttcl) in the footer.xml panel. As you can see from the screenie, I've outlined in red where I've put the background colour code (tbcl) and this works perfectly. I've tried adding the following bit of code to a number of places within the footer.xml panel but it still ain't working. <attachment class="get_global_attachment" get_property="ttcl" set_property="colr"/> I thought it might need to go somewhere in here: <!-- Breadcrumbs --> <container id="crum"> <layout class="arrange_horizontal_attachment" alignment="left" offset="10"/> <layout class="stick_to_sides_attachment" alignment="bottom" inset="0" layout_children="true"/> <attachment class="line_up_attachment" get_property="bcmb" submenu_type="bcrm"/> <!-- Arrange the children widgets from left to right, horizontally centrered --> <layout class="arrange_horizontal_attachment" alignment="left"/> </container> I thought this because the offset="10" moves the text on the footer bar from the left into the middle. Or is it that maybe the forground colour code is in the footer quicklinks.xml panel instead? So basically, what I need to know is: 1. Is the code I am entering correct. 2. Where is the correct place to enter this code. Sorry to be a pain with this but it's so close to being sorted. Thanks. Link to post Share on other sites More sharing options...
radestock Posted October 23, 2009 Share Posted October 23, 2009 From what I remember, to change the breadcrumbs text colour you need to add the code into the breadcrumbs.xml (might be called something slightly different) file rather than the footer.xml Link to post Share on other sites More sharing options...
TomDixon77 Posted October 23, 2009 Share Posted October 23, 2009 Yep, this bit: <widget class="text_button" id="bcil" auto_size="horizontal" spec="text" size="7" colour="footer"/> Which should be: <widget class="text_button" id="bcil" auto_size="horizontal" spec="text" size="7"> <attachment class="get_global_attachment" get_property="ttcl" set_property="colr"/> </widget> Link to post Share on other sites More sharing options...
JasemateUK73 Posted October 24, 2009 Author Share Posted October 24, 2009 That's it lads, it's now working. The code had to go into the breadcrumbs.xml panel like Rade and Ferret said but thanks to Michael and Veg for your help too. This thread can now be closed. Link to post Share on other sites More sharing options...
ilKostante Posted November 4, 2009 Share Posted November 4, 2009 Hi lads,Thanks to michael, rade and veg for your help so far but I'm still having trouble knowing where the code goes for the forground colour (ttcl) in the footer.xml panel. As you can see from the screenie, I've outlined in red where I've put the background colour code (tbcl) and this works perfectly. I've used this line of code but my footer doesn't change the background colour. Is there anyone that could help me to make it work? Thanks Link to post Share on other sites More sharing options...
ilKostante Posted November 4, 2009 Share Posted November 4, 2009 Hi lads,Thanks to michael, rade and veg for your help so far but I'm still having trouble knowing where the code goes for the forground colour (ttcl) in the footer.xml panel. As you can see from the screenie, I've outlined in red where I've put the background colour code (tbcl) and this works perfectly. I've used this line of code but my footer doesn't change the background colour. Is there anyone that could help me to make it work? Thanks Link to post Share on other sites More sharing options...
Veg Posted November 4, 2009 Share Posted November 4, 2009 If you read post 9 in this thread you will get it right. Link to post Share on other sites More sharing options...
ilKostante Posted November 4, 2009 Share Posted November 4, 2009 If you read post 9 in this thread you will get it right. Yes mate, with this code i've make the breadcumbs colour change, but i don't know how make the footer bar match the background team colour Link to post Share on other sites More sharing options...
michaeltmurrayuk Posted November 4, 2009 Share Posted November 4, 2009 If you have added in the highlighted code, make sure you have also added in the rthr="68" from the line above it, and that you have turned off the skin cache and reloaded the skin. Link to post Share on other sites More sharing options...
ilKostante Posted November 4, 2009 Share Posted November 4, 2009 If you have added in the highlighted code, make sure you have also added in the rthr="68" from the line above it, and that you have turned off the skin cache and reloaded the skin. Problem sorted i've forgot to add rthr="68", thanks mate Link to post Share on other sites More sharing options...
Barkermush Posted October 28, 2010 Share Posted October 28, 2010 As this code changed again? I've tried adding it to a Skin with the FM11 Demo but it's not working, it just keeps going white. <!-- coloured bar image --> <widget class="picture" id="pict" file="interface/footer/bar" height="18" rthr="68"> <layout class="stick_to_sides_attachment" alignment="all" inset="0"/> <!-- set the colour of the image to the team background colour --> <attachment class="get_global_attachment" get_property="tbcl" set_property="colr"/> </widget> Link to post Share on other sites More sharing options...
michaeltmurrayuk Posted October 28, 2010 Share Posted October 28, 2010 The code works for me, the footer graphic code is disabled by default so have you made sure you have uncommented out the code for the graphic, you may also need to replace the default interface/footer/bar graphics with solid graphics to get the right shade. Link to post Share on other sites More sharing options...
Barkermush Posted October 28, 2010 Share Posted October 28, 2010 The code works for me, the footer graphic code is disabled by default so have you made sure you have uncommented out the code for the graphic, you may also need to replace the default interface/footer/bar graphics with solid graphics to get the right shade. Ah, i needed to change the footer bar graphics. Thanks. Link to post Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.