It's a weekend. Stay calm and enjoy.

It is currently a weekend from where we are at. If your client or employer requires you to work during the weekend, this would be a good read. Rest assured that we will get back to your posts as soon as the week starts!

Official support hours is from 10AM — 7PM Monday to Friday (GMT +8)

Copy Template
Resolved

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.
generic forum signature ;)
7 replies
  • Mark replied on Saturday, October 24 2015, 02:11 PM
    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.
    Please do take some time to read through some of these links:

    http://stackideas.com/docs
    http://stackideas.com/support


    Our Social Media Pages:

    http://facebook.com/StackIdeas
    http://twitter.com/stackideas
  • Paul replied on Sunday, October 25 2015, 12:17 AM
    Could you please be more specific? I am not having problems doing this with any template other than Elegant.
    generic forum signature ;)
  • Mark replied on Sunday, October 25 2015, 12:28 PM
    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
    Please do take some time to read through some of these links:

    http://stackideas.com/docs
    http://stackideas.com/support


    Our Social Media Pages:

    http://facebook.com/StackIdeas
    http://twitter.com/stackideas
  • Paul replied on Sunday, October 25 2015, 12:41 PM
    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.
    generic forum signature ;)
  • Mark replied on Sunday, October 25 2015, 01:38 PM
    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.
    Please do take some time to read through some of these links:

    http://stackideas.com/docs
    http://stackideas.com/support


    Our Social Media Pages:

    http://facebook.com/StackIdeas
    http://twitter.com/stackideas
  • Scott Nunemacher replied on Tuesday, May 24 2016, 06:11 AM
    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
  • Mark replied on Tuesday, May 24 2016, 02:13 PM
    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.
    Please do take some time to read through some of these links:

    http://stackideas.com/docs
    http://stackideas.com/support


    Our Social Media Pages:

    http://facebook.com/StackIdeas
    http://twitter.com/stackideas
Your time
Stack Ideas time
Support is
Offline
It's weekend!

It is currently a weekend from where we are at. Some answers may already be available on our documentation at http://stackideas.com/docs

Rest assured that we will get back to your posts as soon as the week starts!


Official support hour is:
Monday — Friday. 10:00 am - 7:00 pm
Our timezone:
Kuala Lumpur (GMT +8)