- Issue created by @fionamorrison23
- Assigned to alex.skrypnyk
- Assigned to joshua1234511
- 🇦🇺Australia alex.skrypnyk Melbourne
@joshua1234511
Could you please follow the steps for "Non LaunchPad" an check if the components are present. Thank you - 🇮🇳India joshua1234511 Goa
@alexskrypnyk
Tested the issue in two scenarios:
Test 1
Without running the necessary Drush command:
Components field was missing due to an incomplete installation process.Test 2
With running the necessary Drush command:
Components field was added correctly, and everything worked as expected.Solution:
Ensure that the installation steps are followed correctly, including running the essential Drush command to enable the required modules.
Related to
Please do not submit issues if your installation finished with WSOD - this means that you are using CivicTheme that was not fully installed. Install a patch mentioned above and restart your installation from scratch.
Steps Taken to Debug:
Fresh Installation:
Downloaded CivicTheme as an archive.
Extracted it to the themes directory.
Ran the sub-theme script and followed the instructions in the project/readme.Scenario 1: Missing Components Field
Did not run the necessary Drush command:
drush ev "require_once dirname(\Drupal::getContainer()->get('theme_handler')->rebuildThemeData()['civictheme']->getPathname()) . '/theme-settings.provision.inc'; civictheme_enable_modules();"
Result: The field components were missing due to an incomplete installation process.Scenario 2: Successful Installation
Followed the latest installation steps from CivicTheme Drupal project page.
Ran the necessary Drush command & followed the Patch installation.
drush ev "require_once dirname(\Drupal::getContainer()->get('theme_handler')->rebuildThemeData()['civictheme']->getPathname()) . '/theme-settings.provision.inc'; civictheme_enable_modules();"
Result: All components were added correctly, and everything worked as expected.Conclusion:
The issue of missing components field in the node form display was due to not running the required Drush command during the installation process. https://docs.civictheme.io/development/drupal-theme#usage - Assigned to RichardGaunt
@richardgaunt investigation has taken place in LaunchPad and Joshua has confirmed this issue in with the civictheme_govcms module. Can you please check this one out and add solution direction? Happy to talk further about the issues faced. I believe Toby has also encountered this issue whilst not using LaunchPad, but in creating a fresh CivicTheme for GovCMS site.
- Status changed to Closed: outdated
12 days ago 3:48am 10 December 2024