• Hi,

    This plugin is the closest I have found to suit the needs of my bowling league website. I can see why users are very pleased with it.

    I am looking to add the following columns/customization for my bowling league in:

    MSTW Teams –> Add new Team (I had deselected ‘slug’ and ‘MSTW SS Linked Team’ from Screen Options):

    Current View – Team Name Players
    New View – Team Name Team Number Team Members Season

    I could not find where to add ‘Team Number’ and ‘Season’ field/columns in your code (both in the Add New Team area and the table contents on the right side). Our league assigns a team number as well as a team name. I also could not find to customize ‘Players’ column header to ‘Team Members’ for the count of players added to the specific team. Additionally, I would like to be able to sort by ‘Team Number’.

    Players (I had deselected ‘First Name’, ‘Last Name’, ‘Year’, and ‘Exp’ from Screen Options):

    Current View/New View:
    Name Nbr Pos Ht Wt Team(s)
    Member Name Team Number Team Position Handicap Average Team(s)

    In the new view above, I wanted to move the ‘Team(s)’ column to this:

    Member Name Teams(s) Team Number Team Position Handicap Average

    Currently, the last 4 columns are sortable and would like to make them sortable.

    In this part I think may be complicated, but is it possible to sort any of the above across 2 or more fields instead of one?

    Can you assist me in accomplishing some or all of this? I would deeply APPRECIATE your help (via monetary if necessary)!!

    https://ww.wp.xz.cn/plugins/team-rosters/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter DavidVaughn

    (@davidvaughn)

    So the format did not pan out as I thought it would for the views above:

    Current View..Team Name_______________Players_____________
    New View……Team Name__Team Number__Team Members__Season

    Current View/New View:
    Name_________Nbr__________Pos____________Ht________Wt_______Team(s)
    Member Name__Team Number__Team Position__Handicap__Average__Team(s)

    Plugin Author Mark O’Donnell

    (@markodonnell)

    Hi David,
    Thanks for posting. I’m not sure I completely understand everything, but here’s a first shot. If I misunderstand, it might help me if you could post some screenshots. (The best way to do so in the forms is to post them on a public server and add a link to your post.)

    Regarding the new columns/fields for Team Number and Season: “Teams” is a custom taxonomy in this plugin. Significant code changes are required to add these fields. I’d rather not post how the techie/coding details on this forum because (a) it would take too much space, and (b) special changes are NOT recommended. The reason for (b) is that you will not be able to take advantage of plugin updates (without re-coding the customizations). If you would like to discuss this further, please e-mail me ([email protected]).

    Regarding the Column/Data Field labels, you can go into the Settings admin screen and relabel (repurpose) some extra fields to be Member Name, Team Number, Team Position, Handicap, Average, Team(s). I know those labels will show up on the front end, and I believe they will also show up on the back end in the latest version (easy to check, but I don’t have access to my server at the moment).

    I don’t know what you mean by “sorting across 2 fields”, but what you can do is filter by a team, then sort that result by the various fields. It is straightforward to add sorting on more fields, but again code changes are required.

    Hope that helps some.

    -Mark

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Adding/Customizing fields in admin area’ is closed to new replies.