solved Using the template compare tool

researchcooperative
@researchcooperative
5 years ago
694 posts
In our Admin (ACP) page for managing skin templates, there is now a template compare button which is described in documentation here:

www.jamroom.net/the-jamroom-network/documentation/jamroom-admin-handbook/2394/using-the-compare-tool-to-keep-cloned-skins-up-to-date

By default, when we look at the skin templates, we will be looking at the following URL

/core/skin_admin/templates/skin="your skin"

When we land on this page, the box at upper right shows the current active skin, and the skins menu at left also shows the current active skin, under the menu category "General". At this point, the skin is being compared with itself. As a result, the compare buttons are all faded out because nothing is different.

(It might be useful, as guidance, if the box at upper right could have a fixed label, such as "Choose other skin for comparison". The skin selected in this box is the skin being used for comparison, while the skin in the menu at left is the skin that will be changed if we decide to "save changes" using the compare tool).

So what is the next step?

In my case, my most recent clone was created on 5th May 2018. When I select the Ninja skin in the "Choose other..." box at upper right, every template is different from the corresponding template of the current Ningja skin, which I have kept up to date.

If I "Save changes" in every instance, using the compare tool, will this convert my active skin to the Ninja skin, and delete all customisations?

The compare tool is certainly useful for highlighting templates that have changed, but it does not discriminate between:

(1) templates that have changed because the original JR source skin has changed (and only because of this).
(2) templates that have changed because the cloned skin has been customised (and only because of this).
(3) templates that have changed because the original JR source skin has changed AND the cloned skin has been customised.

Can the compare tool be color coded to make these distinctions? e.g. (1) = green, (2) = red, and (3) = yellow.

Then, as someone who cannot judge what the template codes actually do, or give time to this, I could safely press the green buttons and save the changes, and ignore the red buttons (stop - go no further!).

In the case of the yellow buttons, I would know that the situation is complicated, and could ask for technical support to decide whether or not to save the changes.


--
PJ Matthews, Kyoto
Migrated from Ning 2.0. Now at Jamroom 6 beta and using Jamroom Hosting for The Research Cooperative (researchcooperative.org)

updated by @researchcooperative: 08/14/19 09:11:50PM
Strumelia
Strumelia
@strumelia
5 years ago
3,603 posts
PJ, I am not seeing the Compare button as greyed out in the location where you are seeing that. But, there was a time when I did have it greyed out in almost all my custom skin templates, and I found out why and was able to fix it. Now my Compare buttons are all active and not greyed out. It happens when i create a new custom skin and my long-ago original 'mother' skin was Ningja... which later got changed to Ninja.
Read this thread and see if maybe that's your issue as well:
https://www.jamroom.net/the-jamroom-network/forum/my_posts/57111/question-re-apply-new-ninja-update-to-my-custom-skin/search_string=compare+templates

p.s. if that is the reason for you as well, and you do the same fix I did, then you should know that you'll have to repeat that procedure after each time you might want to CLONE it and use the new one... you'll need to repeat the method on the new clone as well so your COMPARE buttons are active again.


--
...just another satisfied Jamroom customer.
Migrated from Ning to Jamroom June 2015

updated by @strumelia: 02/24/19 02:11:47PM