开发者

How to append an HTML string, from template_process_page() to $page_bottom region in Drupal 7?

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜