Support » Plugin: LeagueManager » Can't load custom standings

  • Resolved erknrio

    (@erknrio)


    Hello!

    I updated to the last plugin version and I have one problem (previously I deactivate and activate the plugin):

    I change the custom /admin/tinymce/window.php in line 72

    This code:

    <select size="1" name="standings_display" id="standings_display">
    	<option value="extend"><?php _e( 'Extend', 'leaguemanager' ) ?></option>
    	<option value="compact"><?php _e( 'Compact', 'leaguemanager' ) ?></option>
    	<option value="slim"><?php _e( 'Slim', 'leaguemanager' ) ?></option>
    </select>

    For this code:

    <select size="1" name="standings_display" id="standings_display">
    	<option value="baloncesto">Baloncesto</option><!-- modificado -->
    	<option value="futbol">FĂștbol</option>
    	<option value="extend"><?php _e( 'Extend', 'leaguemanager' ) ?></option>
    	<option value="compact"><?php _e( 'Compact', 'leaguemanager' ) ?></option>
    	<option value="slim"><?php _e( 'Slim', 'leaguemanager' ) ?></option>
    </select>

    The name of my standings looks like this:
    standings-baloncesto.php

    Now I can’t change the template in tinymce for my custom template and I don’t know how I can show the custom templates inside my select on tinymce window and in my wordpress. You can see this problem in this url:

    http://marchadeportiva.com/index.php/basket-en-marcha-resultados/basket-marcha-junior/liga-canaria-junior-masculina-conferencia-este/

    https://wordpress.org/plugins/leaguemanager/

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author LaMonte Forthun

    (@lamontef)

    Hey Enknrio,

    Do the two new options show up at all in the window or they just don’t work? I added the code and I can see them in the dropdown, but I obviously don’t have the templates to see if they work.

    In the meantime, you can use shortcodes to get the same result:

    [standings league_id=4 template=futbol logo=false]

    Are you working with WordPress 3.8.1 or another version?

    Hello,

    Thanks for quickly reply :).

    omg, lol, sorry so much. Sorry, I confused the hosting where I have updated leaguemanager with which it has no date.

    Before closing the subject, is there any way to include pagination in the list of page links?. In my web we have over 400 leagues and that slows us server performance.

    If you can, I want to talk to you about a few customizations. Of course we will talk about money :).

    Thank you very much and so sorry.

    Plugin Author LaMonte Forthun

    (@lamontef)

    Pagination is on the ‘to-do’ list, in fact the last update included some code to accomplish pagination, but nothing is using it just yet.

    No problem with the confusion, of course, now I’m confused, but that’s normal…

    Send me an email at lamontef@yahoo.com and we can discuss your ideas.

    Thanks

    Ok, thank you very much. I contact with you tomorrow.

    Solved.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Can't load custom standings’ is closed to new replies.