convivial_gov
Quick Start with DDEV
mkdir my-drupal-site && cd my-drupal-site
ddev config --project-type=drupal11 --docroot=web
ddev start
ddev composer create-project drupal/cms
ddev composer require drupal/convivial_gov
ddev launchInstall via Drush
mkdir my-drupal-site && cd my-drupal-site
ddev config --project-type=drupal11 --docroot=web
ddev start
# Download Project
ddev composer create-project drupal/cms
ddev composer require drupal/convivial_gov
# Install Site Template
ddev drush site:install --yes ../recipes/convivial_gov
ddev drush cr
# Generate login url
ddev drush uli FAQ
I get a PHP exception error about an entity type not existing.
After installing, you may see an error like:
The "webform" entity type does not exist.The entity type can vary (e.g. "webform", "workflow", etc.). This is an intermittent issue likely caused by a race condition in the installer. The site itself is unaffected.
To fix it, clear the cache:
drush crYou may need to run this twice. See #3563044 for more details.
Customize Morphos ThemeĀ
The Convivial Gov site template utilizes the Morphos theme, a component-based Drupal theme built with Tailwind CSS and Drupal Canvas.
Morphos is designed to be copied and customized rather than used as a base theme.
To clone the theme for your site, copy it into your custom themes directory:
mkdir -p web/themes/custom
cp -R web/themes/contrib/morphos web/themes/custom/morphos
git add web/themes/custom/morphos
composer remove morpht/morphosThis will create a copy of Morphos in `web/themes/custom/morphos`. This theme is yours, and you can customize it in any way you see fit!
Important: If you are using the default content, do not rename the theme. The components are namespaced to `morphos`, and renaming the theme will break them.
You should also ensure that `morpht/morphos` is removed from Composer (as shown above) so that it is not reinstalled or updated, which could conflict with your custom copy.