This is a collection of modules and configuration useful for the creation of a new website. THe modules is organized with
- A first module lc_hcommon where are configured the predefined empty nodes of type page (governance, etc) and the menu configuration. The module also pre-install o uninstall some modules. Check the .install page for more details.
- The lc_pages will install some common pages, like cookies and privacy.
- The lc_section_* will install a complete section, with content-type, roles, views, menu entries and permissions
The modules will create:
- Pilot (pilot pages of the project)
- WP (Work package)
- Partner (Partners of the project)
- Pilot list (block, page)
- Partner list (block, page)
- Work package list (block)
- WP Manager
- Partner Manager
- Country (EU27 countries)
- Privacy
- Cookies
- Description of the project
- Governance
- Contact
- Open data
-
Main menu:
- About
- Description of the project (see nodes)
- Partners
- Governance
- News
- Pilots
- Contact
- About
-
Footer menu
- Privacy
- Cookies
- Open data
- Contact
Navigate in the web/modules/custom directory (or create if not exists), than create a "lc" folder and inside this execute the git clone.
mkdir -p web/modules/custom/lc git clone [email protected]:lisboncouncil/drupal-horizon-project.git .
This method has to be improved with the copy of the directories in the modules/custom dir.
Add this to the composer.json
"repositories": [
{
"type": "composer",
"url": "https://packages.drupal.org/8"
},
{
"type": "package",
"package": {
"name": "lisboncouncil/drupal-horizon-project",
"version": "1.0",
"type":"module",
"source": {
"url": "https://github.com/lisboncouncil/drupal-horizon-project.git",
"type": "git",
"reference": "main"
}
}
},
]
After that
composer require lisboncouncil/drupal-horizon-project