DANNY1000000 Posted November 23, 2022 Share Posted November 23, 2022 (edited) I'm trying to add training facilities to the inbox loan offers panel but I can't find an ID as it doesn't work when adding the widget from club overview etc. https://ibb.co/cQVSqrz I'm trying to add it to the panels/widgets/transfer center club info widget.xml... <widget class="training_facilities_stars_label"> <record id="object_property" get_property="Ctf*"/> </widget> Also in that file are IDs for "tmnm" and "divb" which I can't find in the properties files so I don't know where they come from. cheers Edited November 23, 2022 by DANNY1000000 Link to post Share on other sites More sharing options...
lugui Posted November 23, 2022 Share Posted November 23, 2022 (edited) 1 hora atrás, DANNY1000000 disse: I'm trying to add training facilities to the inbox loan offers panel but I can't find an ID as it doesn't work when adding the widget from club overview etc. https://ibb.co/cQVSqrz I'm trying to add it to the panels/widgets/transfer center club info widget.xml... <widget class="training_facilities_stars_label"> <record id="object_property" get_property="Ctf*"/> </widget> Also in that file are IDs for "tmnm" and "divb" which I can't find in the properties files so I don't know where they come from. cheers Try <record id="widget_info" get_property="Ctf*"/> ( I assume you want the star ratings) Try: <widget class="training_facilities_stars_label" auto_size="all" alignment="left"> <record id="object_property" get_property="Ctf*" set_property="valu" /> </widget> Never tried that, its just a wild guess by checking a similar code I found on contract information.xml And indeed, that is a good idea of yours. Edited November 23, 2022 by lugui Link to post Share on other sites More sharing options...
DANNY1000000 Posted November 23, 2022 Author Share Posted November 23, 2022 23 minutes ago, lugui said: Try <record id="widget_info" get_property="Ctf*"/> ( I assume you want the star ratings) Try: <widget class="training_facilities_stars_label" auto_size="all" alignment="left"> <record id="object_property" get_property="Ctf*" set_property="valu" /> </widget> Never tried that, its just a wild guess by checking a similar code I found on contract information.xml And indeed, that is a good idea of yours. Unfortunately not, it shows "Unknown" and the tooltip is "no training facilities". https://ibb.co/PchjPjQ Link to post Share on other sites More sharing options...
snowofman Posted November 23, 2022 Share Posted November 23, 2022 4 minutes ago, DANNY1000000 said: Unfortunately not, it shows "Unknown" and the tooltip is "no training facilities". https://ibb.co/PchjPjQ which file are you adding it too ? i can take a look if you like Link to post Share on other sites More sharing options...
DANNY1000000 Posted November 23, 2022 Author Share Posted November 23, 2022 1 minute ago, snowofman said: which file are you adding it too ? i can take a look if you like Thanks, "transfer centre club info widget.xml" not sure thats the best place for it but thats where I get a change on the panel. It's like a needle in a haystack to find the correct panels. Link to post Share on other sites More sharing options...
DANNY1000000 Posted November 23, 2022 Author Share Posted November 23, 2022 It's like the panel doesn't have access to these attributes/properties. I don't know if they can be imported into any files or they are just unavailable (not global properties) Link to post Share on other sites More sharing options...
snowofman Posted November 23, 2022 Share Posted November 23, 2022 (edited) 23 minutes ago, DANNY1000000 said: It's like the panel doesn't have access to these attributes/properties. I don't know if they can be imported into any files or they are just unavailable (not global properties) https://gyazo.com/4e882b35cdeb4efddeac0245c900c5cf almost there watching football so might take abit of time Edited November 23, 2022 by snowofman Link to post Share on other sites More sharing options...
DANNY1000000 Posted November 23, 2022 Author Share Posted November 23, 2022 Haha good luck, I managed to get stars without the actual data so hopefully you're more successful. Link to post Share on other sites More sharing options...
snowofman Posted November 23, 2022 Share Posted November 23, 2022 2 hours ago, DANNY1000000 said: Haha good luck, I managed to get stars without the actual data so hopefully you're more successful. For now i am where you are, stars and nothing else am i pretty sure i have seen the "training_facilities_stars_label" file somewhere, but can't find it right now i'm not giving up tho and will try again later. Link to post Share on other sites More sharing options...
TCSSkin Posted November 23, 2022 Share Posted November 23, 2022 18 minutes ago, snowofman said: For now i am where you are, stars and nothing else am i pretty sure i have seen the "training_facilities_stars_label" file somewhere, but can't find it right now i'm not giving up tho and will try again later. in club properties.xml <!--training facilities (star rating)--> <record> <integer id="id" value="Ctf*" /> <integer id="minimum_width" value="100" /> <integer id="width" value="100" /> <translation id="name" translation_id="229395" type="use" value="Training Facilities" /> <record id="widget_info"> <symbol id="class" value="training_facilities_stars_label" /> </record> <record id="column_heading"> <flags id="alignment" value="left,centre_y" /> <translation id="text" translation_id="229395" type="use" value="Training Facilities" /> <translation id="hint" translation_id="229395" type="use" value="Training Facilities" /> </record> </record> Link to post Share on other sites More sharing options...
snowofman Posted November 23, 2022 Share Posted November 23, 2022 3 minutes ago, bluestillidie00 said: in club properties.xml <!--training facilities (star rating)--> <record> <integer id="id" value="Ctf*" /> <integer id="minimum_width" value="100" /> <integer id="width" value="100" /> <translation id="name" translation_id="229395" type="use" value="Training Facilities" /> <record id="widget_info"> <symbol id="class" value="training_facilities_stars_label" /> </record> <record id="column_heading"> <flags id="alignment" value="left,centre_y" /> <translation id="text" translation_id="229395" type="use" value="Training Facilities" /> <translation id="hint" translation_id="229395" type="use" value="Training Facilities" /> </record> </record> yeah, i found that aswell, but thought i had seen the "Training facilities stars label" elsewhere Link to post Share on other sites More sharing options...
DANNY1000000 Posted November 23, 2022 Author Share Posted November 23, 2022 13 minutes ago, bluestillidie00 said: in club properties.xml <!--training facilities (star rating)--> <record> <integer id="id" value="Ctf*" /> <integer id="minimum_width" value="100" /> <integer id="width" value="100" /> <translation id="name" translation_id="229395" type="use" value="Training Facilities" /> <record id="widget_info"> <symbol id="class" value="training_facilities_stars_label" /> </record> <record id="column_heading"> <flags id="alignment" value="left,centre_y" /> <translation id="text" translation_id="229395" type="use" value="Training Facilities" /> <translation id="hint" translation_id="229395" type="use" value="Training Facilities" /> </record> </record> Yeah I tried various combinations of the IDs but no joy Link to post Share on other sites More sharing options...
TCSSkin Posted November 23, 2022 Share Posted November 23, 2022 1 minute ago, DANNY1000000 said: Yeah I tried various combinations of the IDs but no joy try take it from TCS Link to post Share on other sites More sharing options...
DANNY1000000 Posted November 23, 2022 Author Share Posted November 23, 2022 32 minutes ago, bluestillidie00 said: try take it from TCS I have them working in affiliates >> https://ibb.co/1s7trhD. They just don't work in here. I think there needs to be some kind of context like a team or club Link to post Share on other sites More sharing options...
snowofman Posted November 23, 2022 Share Posted November 23, 2022 53 minutes ago, DANNY1000000 said: I have them working in affiliates >> https://ibb.co/1s7trhD. They just don't work in here. I think there needs to be some kind of context like a team or club it seems to me like it's not grabbing the data from the club properties "training_facilities_stars_label" thats why i started to "think" i've seen the file somewhere else, but i might remember wrong and it was just in club properties i've also tried to add the costomisation_context to the club properties, but no luck Link to post Share on other sites More sharing options...
DANNY1000000 Posted November 23, 2022 Author Share Posted November 23, 2022 Its frustrating. What's the customisation_context? Link to post Share on other sites More sharing options...
snowofman Posted November 23, 2022 Share Posted November 23, 2022 2 minutes ago, DANNY1000000 said: Its frustrating. What's the customisation_context? it's a line found in person properties, and changing the value none to play makes you access it more places (i hope i remember that correct) else is @keysi the right person to explain and correct my mistakes Link to post Share on other sites More sharing options...
TCSSkin Posted November 24, 2022 Share Posted November 24, 2022 Gonna say its not possible. What i ended up with <container class="club_overview_panel" height="50" file="none"> <attachment_group class="vertical_arrange_autosize" /> <!-- YOUTH FACILITIES --> <container priority="2" class="client_object_viewer_xml_panel" file="none"> <attachment_group class="vertical_arrange_autosize"/> <!-- GAME LOADS DATA FOR COMPETITIONS --> <record id="object_property" get_property="Cref" set_property="objt"/> <widget class="label" auto_size="vertical" style="semi_bold" > <translation id="text" translation_id="255008" type="use"/> </widget> <widget class="youth_facilities_stars_label" auto_size="vertical" alignment="left"> <record id="object_property" get_property="Cfc*"/> <!-- THEN SETS IT AS THE BLUE_REPLACEMENT FIGURE --> <record id="object_property" get_property="objt" /> </widget> </container> </container> Link to post Share on other sites More sharing options...
Olas Nick Posted November 24, 2022 Share Posted November 24, 2022 9 hours ago, DANNY1000000 said: I have them working in affiliates >> https://ibb.co/1s7trhD. They just don't work in here. I think there needs to be some kind of context like a team or club in affiliates this code not part of affiliates panel. it load as separate file, i think this method will work here as well. the idea is interesting, I will try to implement it in myself. Link to post Share on other sites More sharing options...
DANNY1000000 Posted November 24, 2022 Author Share Posted November 24, 2022 12 hours ago, bluestillidie00 said: Gonna say its not possible. What i ended up with <container class="club_overview_panel" height="50" file="none"> <attachment_group class="vertical_arrange_autosize" /> <!-- YOUTH FACILITIES --> <container priority="2" class="client_object_viewer_xml_panel" file="none"> <attachment_group class="vertical_arrange_autosize"/> <!-- GAME LOADS DATA FOR COMPETITIONS --> <record id="object_property" get_property="Cref" set_property="objt"/> <widget class="label" auto_size="vertical" style="semi_bold" > <translation id="text" translation_id="255008" type="use"/> </widget> <widget class="youth_facilities_stars_label" auto_size="vertical" alignment="left"> <record id="object_property" get_property="Cfc*"/> <!-- THEN SETS IT AS THE BLUE_REPLACEMENT FIGURE --> <record id="object_property" get_property="objt" /> </widget> </container> </container> I can't get anything to display in that panel at all really. Just empty stars Link to post Share on other sites More sharing options...
DANNY1000000 Posted November 24, 2022 Author Share Posted November 24, 2022 4 hours ago, Olas Nick said: in affiliates this code not part of affiliates panel. it load as separate file, i think this method will work here as well. the idea is interesting, I will try to implement it in myself. The panel to add these is club overview details panel affiliate.xml in the panels/club folder. The tool tips are wrong for some of them but I don't care much about that. Here's the code I have. <!--Training Facilities--> <container> <attachment_group class="vertical_arrange_autosize" vertical_offset="0" vertical_gap="0" horizontal_inset="0" /> <widget class="label" id="creL" spec="text" size="small" alignment="centre_x,top" auto_size="vertical" font="label" colour="faded text"> <record id="object_property"> <integer id="get_property" value="TfcS" /> <boolean id="name" value="true"/> </record> </widget> <widget class="training_facilities_stars_label" id="crep" mode="1" alignment="centre" auto_size="all" navigation_focus_target="false"> <layout class="centre_in_parent_attachment" alignment="horizontal" /> <record id="object_property"> <integer id="get_property" value="Ctf*" /> </record> </widget> </container> <!--Youth Facilities--> <container> <attachment_group class="vertical_arrange_autosize" vertical_offset="0" vertical_gap="0" horizontal_inset="0" /> <widget class="label" id="creL" spec="text" size="small" alignment="centre_x,top" auto_size="vertical" font="label" colour="faded text"> <record id="object_property"> <integer id="get_property" value="TytS" /> <boolean id="name" value="true"/> </record> </widget> <widget class="club_reputation_stars_label" id="crep" mode="1" alignment="centre" auto_size="all" navigation_focus_target="false"> <layout class="centre_in_parent_attachment" alignment="horizontal" /> <record id="object_property"> <integer id="get_property" value="Cfc*" /> </record> </widget> </container> <!--Junior Coaching--> <container> <attachment_group class="vertical_arrange_autosize" vertical_offset="0" vertical_gap="0" horizontal_inset="0" /> <widget class="label" id="cfiL" spec="text" size="small" alignment="centre_x,top" auto_size="vertical" font="label" colour="faded text"> <record id="object_property"> <integer id="get_property" value="Cyos" /> <boolean id="name" value="true"/> </record> </widget> <widget class="youth_facilities_stars_label"> <record id="object_property" dont_set_hint="true" get_property="Cytv"/> </widget> </container> <!--Youth Recruitment--> <container> <attachment_group class="vertical_arrange_autosize" vertical_offset="0" vertical_gap="0" horizontal_inset="0" /> <widget class="label" id="cfiL" spec="text" size="small" alignment="centre_x,top" auto_size="vertical" font="label" colour="faded text"> <record id="object_property"> <integer id="get_property" value="Crcs" /> <boolean id="name" value="true"/> </record> </widget> <widget class="youth_facilities_stars_label"> <record id="object_property" dont_set_hint="true" get_property="Crcb"/> </widget> </container> Link to post Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now