WordPress.org

Ready to get started?Download WordPress

Forums

[Plugin: LeagueManager] Adding Another Field (8 posts)

  1. filiflip
    Member
    Posted 5 years ago #

    Would it be hard to add another field? I could offer a donation to implement adding a new field of my choice. I can do it thru the Database End, just wondering if its possible to do it thru your plugin.

    I've been lookin' at the code trying to find how you insterted all the data into the $array or $league. Just tryin' to insert a $Coach of the sort. How hard would it be to implement this?

  2. Kolja
    Member
    Posted 5 years ago #

    You mean a coach field for each team?

  3. filiflip
    Member
    Posted 5 years ago #

    Yeah, well i'm trying to add an owner or a coach, and i'm tryin' to figure out what fields i want to modify.

    Maybe something to implement in the next update. But i'm sure i can figure it out if you can just tell me the pages that need to be update. I've changed it in the DB but i'm trying to figure how to get it in the variable.

  4. filiflip
    Member
    Posted 5 years ago #

    Where is $team defined? for the standings.php

  5. Kolja
    Member
    Posted 5 years ago #

    I've already added a field for the next update

  6. filiflip
    Member
    Posted 5 years ago #

    Is it customizable?

  7. Kolja
    Member
    Posted 5 years ago #

    What exactly do you mean by customizable? You can access the variable by

    $team->coach

    I recommend you copy the template (located in the "view" subdirectory) to

    your_theme_dir/leaguemanager/$template

    and edit it there. The plugin will then load your customized template.

  8. filiflip
    Member
    Posted 5 years ago #

    You said you added a field for the next update. Can the title be edited to anything we want.

    I'm just not sure on what file/page you are declaring the $team variable. I want to be able to put in the coach variable in there which is already in the DB.

Topic Closed

This topic has been closed to new replies.

About this Topic