[development] _preprocess_ issues

Matt Funk matze999 at gmx.net
Fri Oct 30 22:56:15 UTC 2009


Hi,

I tried the support forum first, but no one seems to answer there, so forgive 
me if this is thread is misplaced.

I am trying a simple thing:
I declare (straight from pro drupal development):

function phptemplate_preprocess_breadcrumb(&$variables) {
 drupal_set_message(print_r("some message,true));
}

After clearing the cache, i also check the theme-registry (via the developer 
module) and it is listed under breadcrumb->phptemplate_preprocess_breadcrumb

as:
2 (String, 33 characters ) phptemplate_preprocess_breadcrumb | (Callback) 
phptemplate_preprocess_breadcrumb(); 

However, it is NEVER called as far as i can tell. Variables set in there are 
always empty and message set as shown above never show either.

I am sorry to bother the list with this, but WHAT am i doing wrong?


thanks
matt
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.drupal.org/pipermail/development/attachments/20091030/df416772/attachment-0001.html 


More information about the development mailing list