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
The Public Knowledge Project Support Forum is moving to http://forum.pkp.sfu.ca

This forum will be maintained permanently as an archived historical resource, but all new questions should be added to the new forum. Questions will no longer be monitored on this old forum after March 30, 2015.

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: 10015
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: 10015
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: 409
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 1 guest