I'm new to Drupal 7.
I'm trying to append an HTML strin开发者_JS百科g, from inside the template_process_page()
function in my module.
Is there any tricky way to do this?
Thanks.
In short, add it to the $variables array inside your preprocess function, such template_preprocess_page. See the handbook page on Setting up variables for use in a template, for more information.
精彩评论