Jump to content

Club Badge On Side Menu Bar FM22


statomatic7
 Share

Recommended Posts

You need the sidebar menu table.xml file and add this code to the bottom of it. That's how I had it in previous version(s).

	 <!-- Primary Logo -->
        <widget class="picture" id="lgtF" scale_picture="true" keep_aspect_ratio="true" image_alignment="bottom">
        <layout class="stick_to_sides_attachment" alignment="bottom" inset="50"/>

        <attachment class="test_setting_attachment" get_setting="show_badges" default_value="true" set_property="hidn">
        <boolean id="value" value="false"/>
        </attachment>
        <!-- tells the picture to listen to the 'main picture' global property being set, and set its own file property from it -->
        <record id="object_property">
        <integer id="get_property" value="mnpc" />
        <integer id="set_property" value="file" />
        </record>
        </widget>

 

Link to post
Share on other sites

6 minutes ago, keysi said:

You need the sidebar menu table.xml file and add this code to the bottom of it. That's how I had it in previous version(s).

	 <!-- Primary Logo -->
        <widget class="picture" id="lgtF" scale_picture="true" keep_aspect_ratio="true" image_alignment="bottom">
        <layout class="stick_to_sides_attachment" alignment="bottom" inset="50"/>

        <attachment class="test_setting_attachment" get_setting="show_badges" default_value="true" set_property="hidn">
        <boolean id="value" value="false"/>
        </attachment>
        <!-- tells the picture to listen to the 'main picture' global property being set, and set its own file property from it -->
        <record id="object_property">
        <integer id="get_property" value="mnpc" />
        <integer id="set_property" value="file" />
        </record>
        </widget>

 

@keysiThanks for your help :)

Link to post
Share on other sites

I can't seem to find that file in FM22, should it be in the panels folder?

EDIT: Ignore me, head fell off - sorted it :D

 

Any way to set it so it only reads the clubs badges, so doesn't record the competition logo's in?

Edited by stevemc
Link to post
Share on other sites

1 hour ago, stevemc said:

I can't seem to find that file in FM22, should it be in the panels folder?

EDIT: Ignore me, head fell off - sorted it :D

 

Any way to set it so it only reads the clubs badges, so doesn't record the competition logo's in?

I know how you feel @stevemcmy brain is fried with all these panels and coding....

Link to post
Share on other sites

  • 7 months later...
On 08/11/2021 at 20:25, keysi said:

You need the sidebar menu table.xml file and add this code to the bottom of it. That's how I had it in previous version(s).

	 <!-- Primary Logo -->
        <widget class="picture" id="lgtF" scale_picture="true" keep_aspect_ratio="true" image_alignment="bottom">
        <layout class="stick_to_sides_attachment" alignment="bottom" inset="50"/>

        <attachment class="test_setting_attachment" get_setting="show_badges" default_value="true" set_property="hidn">
        <boolean id="value" value="false"/>
        </attachment>
        <!-- tells the picture to listen to the 'main picture' global property being set, and set its own file property from it -->
        <record id="object_property">
        <integer id="get_property" value="mnpc" />
        <integer id="set_property" value="file" />
        </record>
        </widget>

 

does this go at the very bottom???

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...