Welcome message on new site / homepage #856
Closed
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
GitHub Issue: (link)
What does this Pull Request do?
Makes the homepage an editable TWIG file by routing all traffic to the URL alias "/islandora_welcome" use the welcome.html.twig file.
What's new?
/welcome
route.How should this be tested?
Before you start, using terminal go to the system's default theme directory and check that within the "templates" directory there is no welcome & welcome_base twig files. Running through these steps should result in those files being copied into this directory. The demo build uses Solid so the directory is /var/www/drupal/web/themes/contrib/solid/templates/.
drush php-eval "module_load_install('islandora'); reset_homepage();"
This last step should show that it makes the change once but can be overridden. And because the reset was written as a function
reset_homepage()
it can be manually triggered at a later time if the user wishes.Documentation Status
Additional Notes:
N/A
Interested parties
@Islandora/8-x-committers