solved Cloned skin naming issue

blindmime
@blindmime
10 years ago
772 posts
When cloning a skin, it is naming it the same as the cloned skin (in the left column). So if I clone jrElastic, it calls both jrElastic and xxElastic "Elastic". Doesn't matter if I name it something entirely different like xxSomething. It still calls it Elastic. The left column list used to carry the full name, but something changed. It appears to affect only newly cloned skins.
updated by @blindmime: 05/09/14 03:09:02PM
douglas
@douglas
10 years ago
2,791 posts
Yeah, I see this too and will let the team know.

When cloning, the title in the include.php is not getting changed.


--

Douglas Hackney
Jamroom Team - Designer/Developer/Support
FAQ-Docs-Help Videos
boplive
@boplive
10 years ago
345 posts
I also experienced this last week...but just brush it off as i thought it could be something new added to the jrcore when I upgraded...but this wasn't me cloning a skin..it was from a straightup upload of a fresh JrNova skin..which then started showing Nova on the left sidecolumn????

Like i said...I didnt make nothing of it...just thought it was something new.


description:
The Nova skin, enhanced for Jamroom 5
version:
1.1.11
developer:
The Jamroom Network, ©2014
directory:
jrNova
license:
Click to View License
notes:
Click to View Skin Notes

updated by @boplive: 03/09/14 06:39:15AM
douglas
@douglas
10 years ago
2,791 posts
boplive:
I also experienced this last week...but just brush it off as i thought it could be something new added to the jrcore when I upgraded...but this wasn't me cloning a skin..it was from a straightup upload of a fresh JrNova skin..which then started showing Nova on the left sidecolumn????

Like i said...I didnt make nothing of it...just thought it was something new.

That is correct, the include.php now has a title which is just the name of the skin and not include the developer initials, ie. jrNova is just Nova. However, you can have the title be anything you like.


--

Douglas Hackney
Jamroom Team - Designer/Developer/Support
FAQ-Docs-Help Videos
boplive
@boplive
10 years ago
345 posts
Thanks D.

Good to know i'm not buggin...lol
brian
@brian
10 years ago
10,148 posts
This is a bit tricky, since there is no guarantee that the "title" is going to even contain the name of the skin. The title is there fir descriptive purposes (it shows to the master admin in the skins list in the ACP).

Your best bet is to simply change it in the include.php file.

Hope this helps!


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
paul
@paul
10 years ago
4,326 posts
The skin name doesn't get changed in the changelog.txt file either.
Its not critical, but you might want to edit that file as well.


--
Paul Asher - JR Developer and System Import Specialist
blindmime
@blindmime
10 years ago
772 posts
Really? This is the solution?

I don't like it, for what it's worth.
brian
@brian
10 years ago
10,148 posts
blindmime:
Really? This is the solution?

I don't like it, for what it's worth.

I understand - I hope you can understand why that may be the case though. The "title" is a field in the skin's meta function (which is in the include.php file). If the skin directory is "jrNova" and the skin is called "Nova", then you would think that we could just replace all instances of "Nova" with whatever your new skin is called. So if you named your skin "myNewSkin" we should be able to replace "Nova" with "NewSkin". Unfortunately it is not quite that simple, since there is no requirement that your developer prefix be only 2 characters, and so how do we know which substring of the directory name is the name of the skin?

This also doesn't account for a skin name that is NOT part of the directory name, or is different (i.e. "jrProJam" to "Pro Jam 5").

I hope the 30 seconds it would take to set your own title doesn't dissuade you from using the clone skin tool - it really is a big time time saver.

Hope this helps!


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net

updated by @brian: 03/09/14 04:22:33PM
blindmime
@blindmime
10 years ago
772 posts
Maybe either add a form field for the title, so you can title it when creating it, or title it whatever you choose to name it (as it was doing previously, I believe). Titling it the same as the original skin is confusing to me, at least.

You're right though, it's not a big deal.

Tags