• Hi guys,

    I have a question regarding sportspress.

    Is it possible to have Player Performance calculated fields (based on Equations) showing at the box score an event results page? I could only manage to achieve this if I set the Columns automatic on the settings of sportspress. If I set it to manually these type of fields (calculated fields) don’t appear.

    This is because I need to hide certain columns on the box score although I need to have them to calculate % for players statistics.

    Could someone guide eme on how to have the calculated fields showing on the box score having the manual columns option?

    Or as an alternative, how to hide columns(maybe css) having the automatic columns option?

    Regards

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter rockrider00

    (@rockrider00)

    Hey guys, can someone help me out on this one?

    Plugin Contributor Savvas

    (@savvasha)

    Can you share a URL were you have the automatic columns options and specify which columns you want to hide?

    Thanks,
    Savvas

    Thread Starter rockrider00

    (@rockrider00)

    Hello Savvas thanks for your message.

    At the moment I don’t have an url to share because I am developing on my local laptop.

    Either way, last night I did a small workaround, which was to have the automatic columns option set and I have hidded the columns I want by setting the visibility to draft. This workaround doesn’t solve totally my problem since then I can’t import results to the hidden columns.

    And Like I said in my previous message, I want to be able to show or hide columns (player performance) by having the Manual Columns Option selected on the sportspress options config. The issue here resides on the fact that calculated fields are not available to choose from (on the game results screen).

    Example :

    1PTA (1 POINT ATTEMPTED)
    1PTM (1 POINT MADE)

    I want to hide these columns on the box score.

    1PT% (1PTM/1PTA)*100
    I want to show this column on box score.

    Keep in mind that these are all Player Performance Columns.

    Any clue on how to achieve this?

    Regards

    Thread Starter rockrider00

    (@rockrider00)

    Hey guys,

    Any feedback on my last comment?

    I’m stuck at the moment on the development because of this subject.

    Kind Regards

    • This reply was modified 5 years, 9 months ago by rockrider00.
    Plugin Contributor Savvas

    (@savvasha)

    Hi @rockrider00 ,

    Sorry for the delayed response. You can hide the columns at the frontend using the display: none; CSS code. You just need to specify which columns and header will be hidden. That way you can still use those hidden columns for equations.

    Thanks,
    Savvas

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Calculated Fields’ is closed to new replies.