Still a bit confused over the updates

Eddy
Eddy
@eddy
11 years ago
479 posts
With the new marketplace functioning now, I am a bit confused about the new updates, when I update a skin via the marketplace, are only the files that have been changed imported into my site, or all files for that skin?

I have updated the skin I'm using to the latest version, and the modified language and changes I have done are still showing.
updated by @eddy: 12/17/13 09:39:55PM
brian
@brian
11 years ago
10,148 posts
It actually updates all files, and backs up the existing directory. Remember that language strings are stored in the Database after install, so if you have modified any language strings in the ACP then those changes will persist updates.

You can revert to the default language string for an entry by clicking on the "use Default" button in the ACP language editor.

Let me know if that helps.

Thanks!


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
Eddy
Eddy
@eddy
11 years ago
479 posts
But unless there was no changes done to the language files there is no need to do that, right?

I have been reading which changes have been done before updating the files.
brian
@brian
11 years ago
10,148 posts
That's correct - the "Use Default" will only show up if you've customized that language string - it won't show if the lang string is still the default one.


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
Eddy
Eddy
@eddy
11 years ago
479 posts
I haven't noticed this with the skin templates, I'm assuming it doesn't work the same way? Would be great if it did, that way would know which files I would have to update only :).
brian
@brian
11 years ago
10,148 posts
I'm not sure what you mean - can you clarify? Updating modules and skins works exactly the same.

Thanks!


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
Eddy
Eddy
@eddy
11 years ago
479 posts
Never mind Brian, understand now sorry, what I meant is if there was a way to show which files had been updated.
Eddy
Eddy
@eddy
11 years ago
479 posts
Or only update the files that have been changed on the update and not the whole skin.
brian
@brian
11 years ago
10,148 posts
yeah it does not do diff's or anything, as that requires a lot more complexity than we wanted to have in the system (the updating is already complex).

This is why it is important that you do not simply modify the templates of one of the skins. Instead, you want to clone one of the skins to a new skin name that is unique to your site, then make your template changes in that skin (which is your active skin). Then when new releases of the skin that you cloned your skin from are released, you can update it without worrying about it moving your changes out of the way. Then you can diff/compare and update as needed.

Let me know if that helps.

Thanks!


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
Eddy
Eddy
@eddy
11 years ago
479 posts
Ok, no I already do this, was just hoping for a simpler way :p, so I don't have to update all the files when a new update comes along.

Tags