Hello.
Thank you for the Corporate Clean theme. I'm using Drupal 11, as well as Corporate Clean 1.0.5, and I want to create a subtheme based on the Corporate Clean theme.
The Corporate Clean theme is saved under /themes/contrib, and I've tried to save my subtheme under /themes/custom. When I select the Corporate Clean Subtheme as the default, the site is crashing, and I get the message "The website encountered an unexpected error. Try again later."
Please, note that when I create a subtheme for other themes, for example, the Olivero, it works perfectly fine, it doesn't crash. However, if I create a subtheme for BaseCore 1.0.4 theme, it crashes as well.
I need to create the subtheme in order to style the regions and blocks, either by overriding the already existing template by adding my custom twig files, or either by adding my custom CSS classes to the corresponding CSS files. But I realize, I need a subtheme for this, unless I'm wrong.
Please, could you inform me whether there is any known issue between Corporate Clean 1.0.5 and Drupal 11 when it comes to creating a subtheme? Please, feel free to correct me if I haven't realized something obvious. Your reply would be so much appreciated.
Thank you very much in advance.
Issue fork corporateclean-3562013
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
rossescob commentedComment #3
rossescob commentedComment #4
ravi kant commentedMessage "The website encountered an unexpected error. Try again later." is not actual error message.
Add
$config['system.logging']['error_level'] = 'verbose';in settings.php and clear cache.Now refresh the page and check the error message.
Also share full message here.
Comment #5
rossescob commentedThank you for your message. I added what you said, and now the whole message is the following:
So, taking into account the above, is it the BaseCore theme (where the Corporate Clean is based on) that is actually crashing?
Comment #6
svetlio commentedYou might be interested to use corporateclean as starterkit theme.
This way you will be able to create a "duplicate" of corporateclen but under your_themename. So in result your theme will be identical to corporateclen, at least in the beginning, unless you start to change stiles, templates, etc. in your_themename directories. Fallow https://www.drupal.org/docs/core-modules-and-themes/core-themes/starterk... to learn how.
Comment #7
cindyr commentedI too am using Drupal 11, and just tried to install Corporate Clean 1.0.5 via Composer. I received two errors. During the composer process it returned this error:
When I go to Appearance and try to enable the theme, it displays:
Requires: basecore (missing)
This theme requires the base theme basecore to operate correctly.
I then installed BaseCore via Composer and received the same process error as above (not able to delete the file). However, the installation did allow me to then use Corporate Clean as a theme. The dependency just hasn't been included.