mastelli Posted November 30, 2022 Share Posted November 30, 2022 (edited) hi guys, I like to add some "useless" stuff on my personal skin, and so I thought of adding three images in the club overview panel: the stadium, the city and the supporters. Problem is: I don't know which code I have to use. In order to make the supporter image appears I used this one: <widget class="picture" id="lftB" image_alignment="centre" scale_picture="true" keep_aspect_ratio="false" file="pictures/logos/background/default/left" > <layout class="stick_to_sides_attachment" alignment="centre" inset="0"/> <record id="object_property" > <integer id="get_property" value="mbpc" /> <integer id="set_property" value="file" /> </record> </widget> and that's ok. But If i use this one for the city: <widget class="picture" id="rgtB" image_alignment="centre" scale_picture="true" keep_aspect_ratio="false" file="pictures/logos/background/default/right" > <layout class="stick_to_sides_attachment" alignment="centre" inset="0"/> <record id="object_property" > <integer id="get_property" value="sbpc" /> <integer id="set_property" value="file" /> </record> </widget> nothing happens, as you can see from the image I've attached. In the config.xml file for the supporter images I've included this code: <record from="1000" to="graphics/pictures/club/1000/logo/background/left"/> For the cities I put this code: <record from="1000" to="graphics/pictures/club/1000/logo/background/right"/> All seems pretty logical to me, but maybe the code it's not working anymore? In that case, there is a solution to show three images in the club overview page? Thanks! Edited November 30, 2022 by mastelli Link to post Share on other sites More sharing options...
EnigMattic1 Posted November 30, 2022 Share Posted November 30, 2022 I can't speak for supporters, but I have both city and stadium pics working in the skin that I am using. And I think I'm using the same panel you are. Link to post Share on other sites More sharing options...
mastelli Posted November 30, 2022 Author Share Posted November 30, 2022 Thanks, yes I can swap between the two codes in order to see either the city or the supporters, but not both at the same time Link to post Share on other sites More sharing options...
Olas Nick Posted November 30, 2022 Share Posted November 30, 2022 21 minutes ago, mastelli said: the city or the supporters, but not both at the same time you can change settings.xml for cities or for supporters so that they are just a picture, and not a background Link to post Share on other sites More sharing options...
mastelli Posted November 30, 2022 Author Share Posted November 30, 2022 12 minuti fa, Olas Nick ha scritto: you can change settings.xml for cities or for supporters so that they are just a picture, and not a background i'm afraid that goes beyond my skills at the moment, can you explain? 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