开发者

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

开发者 https://www.devze.com 2023-02-09 12:10 出处:网络
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.

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

精彩评论

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