This question is answered. Helpful answers available: 1. Correct answers available: 1.


Permlink Replies: 2 - Pages: 1 - Last Post: 06-Jun-2012 03:50 Last Post By: linuxrog Threads: [ Previous | Next ]
linuxrog

Posts: 93
Registered: 21-Nov-2008
Don't want to lose skin change with update
Posted: 06-Jun-2012 03:20
 
  Click to reply to this thread Reply
A recent email, quoted below, spoke to
Advanced users: Making html changes

The advice is to create a skin and to make a copy of it.

How does one take advantage of updates without over-writing edits one has in-place?

P.S. I generally use Turtle but posted as a "developer" question, given the topic.

Body of original post:
This tip should save you a lot of frustration: Don't make changes to the html files jAlbum generate! If you do so, they will be overwritten as you update an album later on. Make the changes to jAlbum's “skin template files” instead if you don't find that the skin's settings provide enough room for customization. They can be edited as easily as editing the final html. Select “Tools → Skin developer → Edit skin files” and take it from there, but before doing so, select “Tools → Skin developers → Create new skin” and make a copy of the skin before you make changes to it. If you need to know more about adjusting jAlbum skins, our skin developer section, is the place to look.
jGromit

Posts: 7,507
Registered: 31-Jan-2006
Re: Don't want to lose skin change with update
Posted: 06-Jun-2012 03:26   in response to: linuxrog in response to: linuxrog
Helpful
  Click to reply to this thread Reply
An update to jAlbum replaces only the jAlbum core program and the bundled skins. An update to a skin replaces only itself. So, if you start with the XYZ skin, and want to make changes to the skin's template files, just copy the entire skin folder and give it a new name, like MyXYZ. Make your changes to MyXYZ. No update will ever delete or overwrite that skin.

Of course, if there's a new version of XYZ available, there's no way it can magically incorporate the changes you have made. You'll still have MyXYZ, but you'll have to apply your changes to the new version of XYZ if you want to take advantage of some new features.
linuxrog

Posts: 93
Registered: 21-Nov-2008
Re: Don't want to lose skin change with update
Posted: 06-Jun-2012 03:50   in response to: jGromit in response to: jGromit
 
  Click to reply to this thread Reply
That's what I thought but decided to check for miracles . . . you guys pull them off all the time.

Thanks, EarlyOut.

/Roger
Legend
Forum admins
Helpful Answer
Correct Answer

Point your RSS reader here for a feed of the latest messages in all forums