LaMonte Forthun
Forum Replies Created
-
Forum: Plugins
In reply to: [LeagueManager] team widget logoBecause the code isn’t in the widget to add the logo. If you want to test some for me, I’ll post it here and you can see if it works for you…
Forum: Plugins
In reply to: [LeagueManager] White page on nav-menus.phpThe theme I use also uses nav-menus.php and I’m not having any issues with it, but are you getting an error message at all or just a white page? If you deactivate LeagueManager does the problem go away?
Forum: Plugins
In reply to: [LeagueManager] Championship mode- moving teams to semi final-howExcellent, there have been some lingering typos in the championship mode that I’ve been trying to flush out, good to know that it’s helping already.
Forum: Plugins
In reply to: [LeagueManager] Delete title Coach and WebsiteIt depends, if you need a widget because you’re putting it in a sidebar, then two things would have to be done:
1). A new template made. Do you want logos and Team name or just team name?
2). The Widget code would have to be updated to allow for the new template. I’m thinking that a better solution might be to allow users to enter a name instead of using a pop-up menu so that new templates could be built as needed, just like if using a short code.
Now, depending on where you want this list, you could just use a shortcode like before, or you can use some php as outlined in the LeagueManager documentation, it all depends on where you want the list.
Forum: Plugins
In reply to: [LeagueManager] Delete title Coach and WebsiteI’m reading your question again, maybe you want the coach and website information, but not the heading? If so, let me know and I’ll repost some code…
Forum: Plugins
In reply to: [LeagueManager] Delete title Coach and WebsiteGrab the code below and save it to a file called teams-Compact.php or whatever you want to call it, changing ‘Compact’, but using the format teams-XXX.php. Then save that file to the template folder in the LeagueManager folder on your server. When you want to use it, your shortcode will look like this:
[teams league_id=2 template=Compact]
If you don’t like the space between the right side columns, you can change the width, I set them to 10%, they might be a bit too wide for your taste. The templates give you unlimited possibilities for how you can present your leagues…
<?php /** Template page for Team List The following variables are usable: $league league object $teams: all teams of league You can check the content of a variable when you insert the tag <?php var_dump($variable) ?> */ ?> <?php if (isset($_GET['team_id'])) : ?> <?php leaguemanager_team($_GET['team_id']); ?> <?php else : ?> <?php if ( $teams ) : ?> <table class="leaguemanager teamslist" summary="" title="<?php _e( 'Teams', 'leaguemanager' ) ?>"> <thead> <tr> <th width="70%" style="text-align: left;"><?php _e( 'Team', 'leaguemanager' ) ?></th> <th width="10%" style="text-align: center;"><?php echo _c( 'W|Won', 'leaguemanager' ) ?></th> <th width="10%" style="text-align: center;"><?php echo _c( 'T|Tie', 'leaguemanager' ) ?></th> <th width="10%" style="text-align: center;"><?php echo _c( 'L|Lost', 'leaguemanager' ) ?></th> </tr> </thead> <tbody id="the-list"> <?php foreach ( $teams AS $team ) : $class = ('alternate' == $class) ? '' : 'alternate'; ?> <?php $url = add_query_arg('team_id', $team->id, get_permalink()); ?> <tr class="<?php echo $class ?>"> <td style="text-align: left;"><a href="<?php echo $url; ?>"><?php echo $team->title ?></a></td> <td style="text-align: center;"><?php echo $team->won_matches ?></td> <td style="text-align: center;"><?php echo $team->draw_matches ?></td> <td style="text-align: center;"><?php echo $team->lost_matches ?></td> </tr> <?php endforeach; ?> </tbody> </table> <?php endif; ?> <?php endif; ?>Forum: Plugins
In reply to: [LeagueManager] Buggy LeagueManager 3.8.5Good news… Thanks, now, let me know how LeagueManager is working for you, maybe provide a link to your page so I can see how you’re using it and don’t be shy to jot down some ideas on how we can make it work better. No promises, but it would be great to get some ideas…
Forum: Plugins
In reply to: [LeagueManager] How To Add A New SportDid you manage to get LeagueManager to work for you? If not and you still want to, let me know and we can get the sport file built for curling and see how things work.
Forum: Plugins
In reply to: [LeagueManager] got http 500 internal server errorThere have been a few more updates in the last couple of days, have you tested the latest? Let me know so we can get it fixed if it’s not.
Thanks,
LaMonte
Forum: Plugins
In reply to: [LeagueManager] New Update problemFixed with v3.8.4
Forum: Plugins
In reply to: [LeagueManager] LeagueManager Cannot delete all matchesCan you update your install to the latest and do a new test, then send me your import file so I can l test it, please?
lamontef (at) collegefundsoftware (dot) com
Forum: Plugins
In reply to: [LeagueManager] Dont use upgrade to version 3.8.1 with WP 3.5.1Fixed with v3.8.4
Forum: Plugins
In reply to: [LeagueManager] Cannot access wp-admin after update to 3.8.3Fixed with v3.8.4
Forum: Plugins
In reply to: [LeagueManager] Error in widget.phpFixed with v3.8.6
Forum: Plugins
In reply to: [LeagueManager] Err in Version 3.8.3Fixed with v3.8.4