- ๐ฌ๐งUnited Kingdom newaytech
Thanks for the patch #151 - this applied for me on Drupal 9.5 - and I was able to change the offline page within a minimal theme I have created just for offline pages across all my multisites.
The issues I cannot fathom - is how to elegantly alter the response code of the error page. If we have a database issue - I need a 504 - such that my upstream proxy serves an interim cached site page - any thoughts around this? Previously, we could achieve that using a preprocess hook - but as we're bypassing the drupal ecosystem and going direct via twig - I can't see how to alter the response code.
- ๐บ๐ธUnited States jrb Raleigh-Durham Area, NC, USA
Here's the patch in #135 re-rolled for 10.1.
142 applies, but it's not picking up my maintenance-page--offline.html.twig file.
Ahh... I was missing this step:
Edit settings.php, uncomment the line $settings['maintenance_theme'] = 'bartik';, and change the value from bartik to the machine name of the theme you chose in step one above.
- ๐ฎ๐ณIndia Binoli Lalani Gujarat
Binoli Lalani โ made their first commit to this issueโs fork.
- Merge request !8040Issue #2720109: Fix missing hyphens for prefixes - Words starting with "de" โ (Open) created by Binoli Lalani
- ๐ช๐จEcuador jwilson3
@binoli-lalani: Please change the title of the MR back the way it was. This issue has nothing to do with fixing missing hyphens for prefixes - Words starting with "de"
The title should be:
Issue #2720109 by Spokje, kndr, sharma.amitt16, maacl, felribeiro, Neslee Canil Pinto, yogeshmpawar, quietone, zeuty, joey-santiago, Brian-C, ranjith_kumar_k_u, seppelM, jenny.cha, kiwimind, NikLP: maintenance-page--offline.html.twig is not picked up when system is offline
- First commit to issue fork.
- ๐ฎ๐ณIndia adwivedi008
Hello @everyone
I also tried to change the title using git (by changing the commit message ), but sadly, that is not working, and I don't have access to change it directly at MR - ๐ง๐ทBrazil brandonlira
Hi @jwilson3,
The original merge request seemed to be abandoned and the title was still incorrect.
Since there was no update, I created a new branch using cherry-pick and opened a new MR with the correct title as suggested.Some minor adjustments were also made to fix issues that were causing test failures.
Let me know if there's anything that needs to be changed or improved.