OJS OCS OMP OHS

You are viewing the PKP Support Forum | PKP Home Wiki



Upgrades Overwriting Custom Changes

Are you responsible for making OJS work -- installing, upgrading, migrating or troubleshooting? Do you think you've found a bug? Post in this forum.

Moderators: jmacgreg, btbell, michael, bdgregg, barbarah, asmecher

Forum rules
What to do if you have a technical problem with OJS:

1. Search the forum. You can do this from the Advanced Search Page or from our Google Custom Search, which will search the entire PKP site. If you are encountering an error, we especially recommend searching the forum for said error.

2. Check the FAQ to see if your question or error has already been resolved.

3. Post a question, but please, only after trying the above two solutions. If it's a workflow or usability question you should probably post to the OJS Editorial Support and Discussion subforum; if you have a development question, try the OJS Development subforum.

Upgrades Overwriting Custom Changes

Postby jimnull » Mon Sep 24, 2012 8:38 am

I've searched the forum and could not find a response so hoping someone may help. We're new - just starting - using OJS. We're wanting to make some changes on some of the pages, such as adding boxes around some text, changing wording of some text, etc. Changes that aren't done in css pages but on the actual pages - we think.

Our questions is, before we make our changes, will these changes be overwritten when new version upgrades of OJS are installed?

Thank you!
jimnull
 
Posts: 8
Joined: Mon Sep 24, 2012 8:28 am

Re: Upgrades Overwriting Custom Changes

Postby asmecher » Mon Sep 24, 2012 9:18 am

Hi jimnull,

There are several upgrade procedures, all documented in docs/UPGRADE. Some of these are better than others at preserving alterations.

Regards,
Alec Smecher
Public Knowledge Project Team
asmecher
 
Posts: 8673
Joined: Wed Aug 10, 2005 12:56 pm

Re: Upgrades Overwriting Custom Changes

Postby jimnull » Mon Sep 24, 2012 10:31 am

By docs/upgrades ... are you meaning a topic here in the forum or else where?
jimnull
 
Posts: 8
Joined: Mon Sep 24, 2012 8:28 am

Re: Upgrades Overwriting Custom Changes

Postby asmecher » Mon Sep 24, 2012 10:32 am

Hi jimnull,

It's a document inside the download package -- also available here.

Regards,
Alec Smecher
Public Knowledge Project Team
asmecher
 
Posts: 8673
Joined: Wed Aug 10, 2005 12:56 pm

Re: Upgrades Overwriting Custom Changes

Postby michael » Thu Sep 27, 2012 8:44 am

Hi jimnull,

To add to Alec's suggestions: for customizations of default text provided by OJS, try using the Custom Locale plugin (available under Generic plugins under System Plugins). It will allow you to change the default OJS text without needing to change any templates or source code and the changes will persist across OJS upgrades.

If you still need to modify templates or source code, use the diff and patch tools to capture your changes -- provided that your changes are not overly complex, you should be able to upgrade OJS and then apply your custom patches with each new release of OJS.

Cheers,
Michael
michael
 
Posts: 404
Joined: Thu Mar 29, 2007 2:09 pm

Re: Upgrades Overwriting Custom Changes

Postby jimnull » Mon Oct 01, 2012 9:44 am

Thank you ... I have that enabled now and we'll see how goes.
jimnull
 
Posts: 8
Joined: Mon Sep 24, 2012 8:28 am


Return to OJS Technical Support

Who is online

Users browsing this forum: Google [Bot] and 2 guests