• Hello,
    I use Sports Press to manage my sports league. I have been using league tables without issue for the past several months. A few days ago, for unknown reasons, all my league tables stopped worked. They still exist, but when I edit them I cannot preview them, or load them via the permalink.

    On the page I get the message “Oops! That page can’t be found.”

    Is there anything I could have done to cause this?

    The page I need help with: [log in to see the link]

Viewing 10 replies - 1 through 10 (of 10 total)
  • Have you installed any new plugins?
    Roch is going to have you disable all plugins except Sportspress to see if that solves it.
    Maybe your permalinks got messed up somehow?

    Thread Starter grecb

    (@grecb)

    For whatever reason, the tables started working again. I had made a css change to the event-list.php file. I really don’t see how changing the table data class of one column would have effected this. I have reverted the change for now.

    Roch

    (@rochesterj)

    Hi!

    Indeed, disabling the plugins and any custom code is the first step ??

    Changing the classes isn’t recommended as we use them for JS code. If you need, please add more classes.

    Thanks!

    Thread Starter grecb

    (@grecb)

    Would you happen to know where the td data-article class is defined? I want to enable word wrapping, but have not been able to find the appropriate CSS

    Roch

    (@rochesterj)

    Hi!

    We’d be glad to help you with that. Where exactly do you want to enable word wrapping? We can give you the full CSS code for that.

    Thanks!

    Kind Regards,
    -Roch

    Thread Starter grecb

    (@grecb)

    The CSS I’m attempting to modify is on the event-list.php template. I repurposed the ‘article’ column to display the data in the except field. I’m using this column to show the referee of the scheduled event.

    However, this column does not appear to use word wrap (see below screen shot, far right column). https://imgur.com/KfOdwdV

    I originally changed the css to use the date td class as seen below. But this potentially caused the original issue I posted about.

    if ( sp_column_active( $usecolumns, 'article' ) ):
    echo '<td class="data-date">';
    if ( $link_events ) echo '<a href="' . get_post_permalink( $event->ID, false, true ) . '">';

    Is there a way I can adjust the CSS so that the article column wraps, so the data doesn’t get cutoff like this?

    • This reply was modified 7 years, 4 months ago by grecb.
    Roch

    (@rochesterj)

    Hi!

    Thanks a lot for sending the details.

    Could you send us a link to your page? I’ve tried to visit the original link but I couldn’t find these columns.

    Thanks!

    Thread Starter grecb

    (@grecb)

    The page I’m referring to is:
    https://dodgeballpei.ca/index.php/2017-fall-league-schedule/

    You can see under the ‘Referee’ column, that it is not using word wrapping, and as a result the cells do not fit to the page.

    Roch

    (@rochesterj)

    Hi!

    Thanks for sending that!

    Add the following code in your custom css field ( Wp admin > SportsPress > Settings > General > Custom CSS ) and let us know how it works:

    #main .sp-event-list .data-article {
    	word-wrap: break-word !important;
    }

    Let us know how it works!

    Thanks

    Thread Starter grecb

    (@grecb)

    Hello,
    I entered that CSS but it does not appear to have changed the formatting on the page.

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘League Table Not Displaying’ is closed to new replies.