[Fixed] Package installs, but not the included theme
Permalink
Hello,
I duplicated the default Elemental theme following the instructions given at:http://legacy-documentation.concrete5.org/tutorials/how-to-copy-the... and it worked.
Then I wanted to put it in a package, so I downloaded the Cloneamental:https://www.concrete5.org/marketplace/themes/cloneamental... and used only the package files, keeping my copy of the default Elemental theme which is more recent.
Now, I can install the theme alone if I put it directly in the application/themes/ folder,
but if try to install the package, the package is installed but not the theme. And it doesn't output or log any error message. I tried purging the cache before installation, I even deleted the application/files/cache/environment.cache which contained the string of the name of my theme, but it didn't work better.
Any idea ? Here is a zip of my theme:https://framadrop.org/r/jLej6I0my8#KCtL8h9fgkpIWpJFGQVud8VxzaPLVtmAZ...
I duplicated the default Elemental theme following the instructions given at:http://legacy-documentation.concrete5.org/tutorials/how-to-copy-the... and it worked.
Then I wanted to put it in a package, so I downloaded the Cloneamental:https://www.concrete5.org/marketplace/themes/cloneamental... and used only the package files, keeping my copy of the default Elemental theme which is more recent.
Now, I can install the theme alone if I put it directly in the application/themes/ folder,
but if try to install the package, the package is installed but not the theme. And it doesn't output or log any error message. I tried purging the cache before installation, I even deleted the application/files/cache/environment.cache which contained the string of the name of my theme, but it didn't work better.
Any idea ? Here is a zip of my theme:https://framadrop.org/r/jLej6I0my8#KCtL8h9fgkpIWpJFGQVud8VxzaPLVtmAZ...
I believe you need to change your theme install to
Thanks, it works.
Though, it is strange, because in the "HEY DJ" theme (https://www.concrete5.org/marketplace/themes/hey-dj), they use the following which works while the directories names are "hey_dj":
But whatever, thanks a lot, it works now.
Though, it is strange, because in the "HEY DJ" theme (https://www.concrete5.org/marketplace/themes/hey-dj), they use the following which works while the directories names are "hey_dj":
$pkg = parent::install(); Theme::add('HeyDj', $pkg);
But whatever, thanks a lot, it works now.