By Paul on Saturday, 24 October 2015
Posted in Elegant
Replies 7
Likes 0
Views 2.8K
Votes 0
I believe this could be considered a bug since the behavior is not how joomla is intended to function. Because I am still waiting for position-7 to collapse when not in use, I need to create a second copy of Elegant and then edit out position-7 in the second copy, so that I can use it with some content that needs full span. When I use the Template manager>Template>Elegant>Copy Template, I get an error:


Warning

JInstaller: :Install: File does not exist /home/site/public_html/tmp/template_copy_562a827f924a6/en-GB.tpl_elegant.ini

Template Install: Could not copy files from the files source.
Error

Error installing template

Unable to install new template from temporary folder.
Hey Paul,

I am really sorry for the delay of this reply as it is a weekend for us here. We have already added this fix internally and we will be releasing a new version of the Elegant theme next week.

The reason that you are hitting errors i because your manifest file is incorrect. If you want to duplicate a template, you need to rename the elements accordingly.
·
Saturday, 24 October 2015 14:11
·
0 Likes
·
0 Votes
·
0 Comments
·
Could you please be more specific? I am not having problems doing this with any template other than Elegant.
·
Sunday, 25 October 2015 00:17
·
0 Likes
·
0 Votes
·
0 Comments
·
Hey Paul,

I am not really sure what you are trying to achieve here. Are you trying to duplicate the template folder and rename it to another folder? If you are doing that, ensure that the "elegant" is renamed in the templateDetails.xml
·
Sunday, 25 October 2015 12:28
·
0 Likes
·
0 Votes
·
0 Comments
·
Mark, trying to create a new instance of the template. (not a style) This is normally achieved as I described. Template>>Copy Template

With Elegant having almost no configurable options from the Template Manager, you cannot achieve much by way of styling (a Style would rely upon those configurable options via the db rather than new files) unless you do it manually with a new instance of the template.

I wanted to use Elegant as a low overhead template. I actually did not want to do this or even alternate styles but the position-7 thing necessitates it.
·
Sunday, 25 October 2015 12:41
·
0 Likes
·
0 Votes
·
0 Comments
·
Hey Paul,

This is what you can do to fix this until we release a new version. Download the theme.css and upload it into /templates/elegant/css/ . Then, download the index.php and upload it into /templates/elegant/

When position-7 is empty, it will utilize the full width of the page.
·
Sunday, 25 October 2015 13:38
·
0 Likes
·
0 Votes
·
0 Comments
·
Mark wrote:

Hey Paul,

I am really sorry for the delay of this reply as it is a weekend for us here. We have already added this fix internally and we will be releasing a new version of the Elegant theme next week.

The reason that you are hitting errors i because your manifest file is incorrect. If you want to duplicate a template, you need to rename the elements accordingly.


#Mark #imarklee
Update
So Mark, the Elegant template is still not fixed. I am inspecting the template files and folders compared to the manifest file and there are a number of issues including duplicate language files listed and language files are not inside the language folder by convention:


<language tag="en-GB">language/en-GB/en-GB.tpl_elegant.ini</language>
<language tag="en-GB">language/en-GB/en-GB.tpl_elegant.sys.ini</language>


Why Does It Matter
So, this effects anyone trying to click on the
Copy Template
button here:
Extensions>Templates>Templates(again in the left menu)>Click on "Elegant Details and Files">Copy Template button at the top>Template Name=NEWNAME>Copy Template


Without the language files in a language/en-GB folder, Joomla! can't rename them and results in this error:

Warning
JInstaller: :Install: File does not exist /home/SERVER/public_html/SITENAME/tmp/template_copy_57437e0a13c81/en-GB.tpl_elegant.ini
Template Install: Could not copy files from the files source.


How can I give you my fixes
I've updated the template files. Is there a github repo I can pull/update/submit a pull-request to?

Scott
·
Tuesday, 24 May 2016 06:11
·
0 Likes
·
0 Votes
·
0 Comments
·
Hey Scott,

If this is a bug in our template, it's our responsibility to fix this I have applied some fixes for this internally and we'll be pushing out an update for Elegant shortly.
·
Tuesday, 24 May 2016 14:13
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post