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

iamcarrico’s picture

Status: Active » Postponed (maintainer needs more info)

It 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.

iamcarrico’s picture

Issue summary: View changes
Status: Postponed (maintainer needs more info) » Closed (cannot reproduce)

Closing, as there has been no further discussion.

Melissamcewen’s picture

Status: Closed (cannot reproduce) » Active

It's not getting called for me either. I put this code in template.php to test

function aurora_preprocess_page(&$vars) {
  drupal_set_message("HI!", 'error');
}
iamcarrico’s picture

Status: Active » Closed (won't fix)

Again, @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.

Melissamcewen’s picture

Thanks, BTW anyone who is having this issue you can set Devel to "Krumo backtrace above the rendered page" to get it to work.