• Resolved kwestalot

    (@kwestalot)


    I’ve seen a lot of threads (and your own documentation) speak to the point that we can go in to the /lib folder or /admin folder and make changes, or change the .css file.

    If I did go in and change some of the items, wouldn’t it just be wiped out on the next update of the plugin?

    I’ve done this with the style.css file and my styles I changed were all wiped out (not surprisingly).

    Is your plugin different than others and can we change some areas without them changing on update? What areas/folders if so?

    And is there a way around this if not? Can we overwrite styles in our ‘leaguemanager’ folder in our Child theme or theme?

    Hope this makes sense – but just wanted to be sure before I go poking around.

    https://www.ads-software.com/plugins/leaguemanager/

Viewing 7 replies - 1 through 7 (of 7 total)
  • Thread Starter kwestalot

    (@kwestalot)

    For example, if I modified any of the admin pages (admin > admin.php; admin > matches.php) – and then updated to a newer version of the plugin, wouldn’t I lose all of those changes I just did?

    ben52

    (@ben52)

    this is the file changed in 3.9.1.1
    admin/championship.php
    admin/match.php
    admin/show-league.php
    lib/shortcodes.php
    leaguemanager.php
    readme.txt
    you can load with FTP the new files
    if you update direct to the new version you will loose all your change

    Thread Starter kwestalot

    (@kwestalot)

    So when and if an update for LeagueManager comes up, how would I tell the EXACT files that are affected, so I can load them individually? In the Changelog it just gives a summary – where would I find the affected files so I can load them via FTP like you have recommended?

    ben52

    (@ben52)

    Hi kwestalot
    you can see the change in Developers
    Browse in Trac (for modification see the age example 4 days)
    click trunk (look to the recent age and click files to open the modification)

    one important thing to do: if you make change in some templates like maches or standings-extend you must rename it as follow:
    with this you will not loose your change when you update to new version.
    matches-old (or any thing)
    standings-old
    and the shortcode must be:

    [matches league_id=xx template=old]

    [standings league_id=xx template=old]

    Thread Starter kwestalot

    (@kwestalot)

    ben52,

    Thanks for your response and explanation.

    Just to clarify, if I’m making a change to matches.com (within the admin folder of the plugin), I would just call it matches-old?

    Or are you talking about just in the templates folder within the plugin folders or in your own theme?

    ben52

    (@ben52)

    only in template folder
    if you want to make change in admin/matches you can give an other name only to keep your change save in case of update for new version
    but the original file matches must be with the same name.

    Thread Starter kwestalot

    (@kwestalot)

    ok, thanks for clarification. You seem to be very prompt in your responses – would you mind helping me with some other questions I have – I have posted them on the Support section as well under ‘kwestalot’

    Thanks again.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Updating plugin – what files are affected?’ is closed to new replies.