Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 UTC on 18 March 2024, to get $100 off your ticket.
I'm only starting out with this (=aurora) but find it a bit strange that there is a page.tpl.php file but my themename_preprocess_page() function in template.php never gets called. Is this on purpose and caused by the "blockification" mentioned on the project page or is something broken in my theme?
Comments
Comment #1
iamcarrico CreditAttribution: iamcarrico commentedIt should be being called.
Although dpm I do not think works in the preprocess_page() function due to an oddity with how messages are set. I think you can fix this temporarily by adding in the $messages var back into the page.tpl.php, but I am not certain. If this doesn't work, let me know what code isnt working.
Comment #2
iamcarrico CreditAttribution: iamcarrico commentedClosing, as there has been no further discussion.
Comment #3
Melissamcewen CreditAttribution: Melissamcewen commentedIt's not getting called for me either. I put this code in template.php to test
Comment #4
iamcarrico CreditAttribution: iamcarrico commentedAgain, @Melissamecewen— dpm (which calls drupal_set_message) does not work because of an oddity with blockify and when the messages are called / rendered. If you print out the $messages var within your page.tpl.php, it will work. Any issues should be brought up with blockify, not this theme.
Comment #5
Melissamcewen CreditAttribution: Melissamcewen commentedThanks, BTW anyone who is having this issue you can set Devel to "Krumo backtrace above the rendered page" to get it to work.