Convivial Gov is a Drupal “template” for building quality Drupal websites in the government sector. The template is generic enough to be well-suited for a wide range of sites, including publishing, marketing and agency sites.
Convivial Gov is based on the latest Drupal innovations, including Canvas, Single Directory Components, and Recipes. The theme layer is based on Tailwind, a popular front-end framework, and Daisy UI, which provides a semantic wrapper for Tailwind. Other leading libraries have been included to provide extended functionality where needed. Convivial Gov provides ambitious sitebuilders the ability to build flexible, functional and beautiful websites without ever touching any code. The template leverages the capabilities of Canvas (layouts and design) whilst also providing functionality suitable for the government domain.
Marketplace
Convivial Gov is part of Drupal CMS and is listed in the Drupal Marketplace.
https://new.drupal.org/site-template/convivial-gov
Demo
Convivial Gov is installed as a site template which includes code, theme and content. The content is made up of Canvas pages, Nodes and Media. The demo site shows what the template looks like out of the box. Be sure to take a look through the demo section to see all of the features.
Documentation
We have developed a getting-started guide and have documented the various features of Convivial Gov.
https://docs.morpht.com/convivial-gov
Support
Morpht provides support via Drupal Slack in the convivial-gov channel. If you have any questions or suggestions, please let us know.
https://drupal.slack.com/archives/C0ALXTBUJ1K
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.
Project information
- By murrayw on , updated
Stable releases for this project are covered by the security advisory policy.
Look for the shield icon below.











