Hello bruiser_brian,
Some steps to create subtheme.
1. Make a copy evolve theme. Example evolve_sub.
2. Rename evolve_sub/evolve.info file to evolve_sub.info
3. Open evolve_sub.info file, change the theme name to "Evolve Sub", change "base theme" change to evolve
name= Evolve Sub
base theme = evolve
4. Open template.php and replace all function prefix form "evolve_" to "evolve_sub_".
5. Open theme-settings.php and replace all function prefix form "evolve_" to "evolve_sub_".
Done.
Hi,
Thank you for the instructions to create the sub theme. I performed your instructions after installing evolve.
As mentioned above, when I switched to the evolve_sub theme, all layouts were lost.
When I logged out, I was not able to log back in either.
Luckly I was logged into the system twice so that I could revert back to the main evolve theme.
Do you instructions in creating the sub-theme pertain to creating the sub-theme pre-installation?
Would you have any idea why I am having the above issues when I switch from the main evolve them to the evolve_sub theme?
Thank You
If I might add explanation. The reason for cloning a theme to make a subtheme is that when DrupalExp issues an update to its theme and you run the update, this will overwrite all your customizations of CSS/less, templates, or anything else.
So what is recommended is to follow the steps above, and strip out anything you don't need to load twice. Anything you have not customized. More about the reasons and methods at this post:
These instructions do not make subtheme, they merely clone the theme eith new name We might as well make edits to theme directly then.
Is there aresaon why standard Drupal instructions to create sub-theme will not work ?
I would also like to make a standard sub-theme of this great theme. Is there any update on this?
Thanks!
Hi predictia,
Our instructions is follow standard way to make a sub-theme for drupal.
You can follow the instructions from drupal site to make it and it will work in our theme.
Thanks!
If I might add explanation. The reason for cloning a theme to make a subtheme is that when DrupalExp issues an update to its theme and you run the update, this will overwrite all your customizations of CSS/less, templates, or anything else.
So what is recommended is to follow the steps above, and strip out anything you don't need to load twice. Anything you have not customized. More about the reasons and methods at this post:
https://www.drupal.org/node/873778
and here:
https://www.drupal.org/node/225125
It’s very excellent information and more real facts to provided that post.Thank you for sharing this information. Jk0-022 Exam Questions