Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I had a bit of trouble figuring out why my preprocess-html.inc file wasn't working in my first Omega 4 subtheme. I found this blogpost and fubhy's comment pointed me to the base theme for examples, there I learnt the file naming was different.
I noticed the readme's in Omega 4.x just say 'Fill me.' so I've modified the Omega 3.x /process & /preprocess readme files to indicate the new naming conventions, hope this helps! Thanks for the great theme!
eg.
Omega 3.x preprocess.inc file naming: preprocess-html.inc
Omega 4.x preprocess.inc file naming: html.preprocess.inc
Comment | File | Size | Author |
---|---|---|---|
#3 | preprocess-README.txt | 1.29 KB | reubenavery |
#3 | process-README.txt | 1.25 KB | reubenavery |
process-README.txt | 1.26 KB | PI_Ron | |
preprocess-README.txt | 1.3 KB | PI_Ron |
Comments
Comment #1
fubhy CreditAttribution: fubhy commentedThanks for starting this. I rewrote them from scratch though and extended them a bit :).
Commited to 7.x-4.x-dev 42b5634
Comment #3
reubenavery CreditAttribution: reubenavery commentedThe last bit in these README's re THEMENAME_alpha_preprocess_HOOK() is confusing as well. it ought to read THEMENAME_preprocess_HOOK()
see attached