Jump to content

right and left background code: do they still work?


mastelli
 Share

Recommended Posts

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!

 

 

 

Immagine.jpg

Immagine2.jpg

Immagine3.jpg

Edited by mastelli
Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...