Hello,
Have written some module. Want to have access from this module to $variables variable generated for each instance of page.tpl.php. What is the correct way to do this?
Tried to using '$global $variables' declaration in mymodule.module, but it does not work -- no effect. Tried to pass $variables from theme_preprocess(&$variables) function using $_SESSION: part is passed ok, but most important part for me is not passed yet. For example: $variables['primary_links'] became empty on the side of mymodule.module; I tried explicit serialization -- still no effect.
How to solve this issue?
Thanks,
Read »








