Jump to content

Remove leagues from leagues in focus


stonini90
 Share

Recommended Posts

1 hour ago, stonini90 said:

I dont know if this is the correct section but how can you move leagues from this screen?

image.thumb.png.20bf3c8800975388f658815800ea7a50.png

 

No need to change any coding on this.

You can make a selection (see my screenshot below) simply by clicking on the drop down menu. You select which league you want to show where and it will show...............

 

1697569673_Screenshot(4).thumb.png.571d30d781ef18c57364c949ca2ee780.png

Link to post
Share on other sites

10 minutes ago, stonini90 said:

Yes i see this option but i dont want to show any league. I mean eg instead of  leagues i want this screen to show 3. i dont see any option to remove the table completely.

The code to change that is in "competition news league overview panel" you have to delete the second half of the code with the 4-6 competition code in it, in my skin it looks like this:


    <container class="horizontal_adaptive_container" inset="0" offset="0" minimum_height="250" priority="2" mode="distribute_equally">
      <container class="competition_news_league_overview_selector_panel" id="pan4" index="2" minimum_width="470" priority="1" file="competition/leagues in focus overview selector panel">
        <record id="object_property" get_property="objt" set_property="Nnat"/>
      </container>
      <container class="competition_news_league_overview_selector_panel" id="pan5" index="3" minimum_width="470" priority="2" file="competition/leagues in focus overview selector panel">
        <record id="object_property" get_property="objt" set_property="Nnat"/>
      </container>
      <container class="competition_news_league_overview_selector_panel" id="pan6" index="5" minimum_width="470" priority="3" file="competition/leagues in focus overview selector panel">
        <record id="object_property" get_property="objt" set_property="Nnat"/>
      </container>
    </container>

 

 

Once done the screen will look like this:

504818879_Screenshot(5).thumb.png.5689e07b3c06d778f9f70147b26c1ef9.png

 

Link to post
Share on other sites

I tried to find this but i cant seem to find the above code.
The skin i use has a leagues in "focus overview selector panel" 
the code is like this

 

<!-- A panel allowing the user to choose any active league and get an overview of it's current state -->
<panel save_session_state="true">
    <layout class="stick_to_sides_attachment" alignment="all" apply_to_children="true" inset="0" />
    <container class="plain_box">
        <layout class="arrange_vertical_attachment" alignment="top,extend" offset="10" />
        <layout class="stick_to_sides_attachment" alignment="horizontal" apply_to_children="true" inset="10" />

        <container class="horizontal_arrange_container" alignment="right,extend" inset="0" gap="0" offset="0" auto_size="vertical" stick_embedded="top">
            <widget class="comp_button" id="comp" style="bold" auto_size="vertical">
                <layout class="centre_in_parent_attachment" alignment="vertical" offset="0" />
            </widget>
            <widget class="popup_button" id="popu" auto_size="horizontal" height="23" auto_tick_exclusive="true" fixed="true" appearance="buttons/custom/customise panel/button" />
        </container>

        <container class="horizontal_arrange_container" alignment="fill" inset="0" gap="20" offset="0">


            <container class="vertical_arrange_container" alignment="top,extend" inset="0" gap="0" offset="0">

                <container class="horizontal_arrange_container" alignment="left" inset="0" gap="0" offset="0" auto_size="vertical">

                    <string id="skin_style" value="title link" />

                    <widget class="link_button" section="cssp" auto_size="all">
                        <translation id="text" translation_id="242904" type="use" value="League Table[COMMENT - competition stage panel: title for league table]" />
                    </widget>
                </container>

                <widget class="competition_stage_panel" file="none" id="leag" overview_version="true">
                    <layout class="stick_to_sides_attachment" alignment="all" apply_to_children="true" inset="0" />

                    <!-- No game panel-->
                    <container id="nots" hidden="true">
                        <layout class="stick_to_sides_attachment" alignment="vertical"  />
                        <layout class="stick_to_sides_attachment" alignment="horizontal" apply_to_children="true" />

                        <widget class="text" id="nost" alignment="centre" colour="faded text" auto_size="vertical" />
                    </container>

                    <!-- group box for stage to go into -->
                    <container id="stgb">
                        <layout class="stick_to_sides_attachment" alignment="all" apply_to_children="true" inset="0" />
                        <!--league stage panel-->
                        <widget class="league_stage_panel" id="lspn" hidden="true" view="oovr" league_table_heading_length="0" />
                        <!--cup stage_panel-->
                        <widget class="cup_stage_panel" file="competition/cup overview stage" id="cstp" hidden="true" save_session_state="true" />
                        <!--group stage scrolling box (to be filled in code)-->
                        <widget class="scrolling_box" id="gscb" hidden="true" save_session_state="true" />
                    </container>
                </widget>


            </container>
        </container>

Link to post
Share on other sites

9 minutes ago, stonini90 said:

I tried to find this but i cant seem to find the above code.
The skin i use has a leagues in "focus overview selector panel" 
the code is like this

 

<!-- A panel allowing the user to choose any active league and get an overview of it's current state -->
<panel save_session_state="true">
    <layout class="stick_to_sides_attachment" alignment="all" apply_to_children="true" inset="0" />
    <container class="plain_box">
        <layout class="arrange_vertical_attachment" alignment="top,extend" offset="10" />
        <layout class="stick_to_sides_attachment" alignment="horizontal" apply_to_children="true" inset="10" />

        <container class="horizontal_arrange_container" alignment="right,extend" inset="0" gap="0" offset="0" auto_size="vertical" stick_embedded="top">
            <widget class="comp_button" id="comp" style="bold" auto_size="vertical">
                <layout class="centre_in_parent_attachment" alignment="vertical" offset="0" />
            </widget>
            <widget class="popup_button" id="popu" auto_size="horizontal" height="23" auto_tick_exclusive="true" fixed="true" appearance="buttons/custom/customise panel/button" />
        </container>

        <container class="horizontal_arrange_container" alignment="fill" inset="0" gap="20" offset="0">


            <container class="vertical_arrange_container" alignment="top,extend" inset="0" gap="0" offset="0">

                <container class="horizontal_arrange_container" alignment="left" inset="0" gap="0" offset="0" auto_size="vertical">

                    <string id="skin_style" value="title link" />

                    <widget class="link_button" section="cssp" auto_size="all">
                        <translation id="text" translation_id="242904" type="use" value="League Table[COMMENT - competition stage panel: title for league table]" />
                    </widget>
                </container>

                <widget class="competition_stage_panel" file="none" id="leag" overview_version="true">
                    <layout class="stick_to_sides_attachment" alignment="all" apply_to_children="true" inset="0" />

                    <!-- No game panel-->
                    <container id="nots" hidden="true">
                        <layout class="stick_to_sides_attachment" alignment="vertical"  />
                        <layout class="stick_to_sides_attachment" alignment="horizontal" apply_to_children="true" />

                        <widget class="text" id="nost" alignment="centre" colour="faded text" auto_size="vertical" />
                    </container>

                    <!-- group box for stage to go into -->
                    <container id="stgb">
                        <layout class="stick_to_sides_attachment" alignment="all" apply_to_children="true" inset="0" />
                        <!--league stage panel-->
                        <widget class="league_stage_panel" id="lspn" hidden="true" view="oovr" league_table_heading_length="0" />
                        <!--cup stage_panel-->
                        <widget class="cup_stage_panel" file="competition/cup overview stage" id="cstp" hidden="true" save_session_state="true" />
                        <!--group stage scrolling box (to be filled in code)-->
                        <widget class="scrolling_box" id="gscb" hidden="true" save_session_state="true" />
                    </container>
                </widget>


            </container>
        </container>

As I mentioned,  The code to change that is in "competition news league overview panel" If your skin doesn't have that file in it, that means your skin is using the default panel. In that case you will need to extract the file with the "Resource Archiver" to be able to load and edit it.

I extracted all default panels of the latest version when I finished up skinning for this version, here is the default xml file attached. Saves a lot of questions on how to use the Resource Archiver  LOL

 

competition news league overview panel.xml

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