How can I get a value from a preprocess function to template.php, in a function named sitename_modulename_user_loginblock($form)?
I created the value in the preprocess function with a custom query so I could do that in the loginblock function itself, but only $form is available there and I need 3 other variables to construct the query.
the loginblock function returns $output which is markup and a few variables. afaik there is no additional step between this function and the display of its return value on the page?