【发布时间】:2011-03-31 19:11:44
【问题描述】:
以下代码在我的 page.tpl.php 中运行良好,但我无法让它在一个块中运行:
<?php if (function_exists('twitter_pull_render')) { print twitter_pull_render('@ahmednuaman', $title = NULL, $num_items = 5); } ?>
我尝试了完整的 html 和 php 输入格式。我试过删除打开和关闭 php 标签。我试过关闭我所有的输入过滤器。
有人知道为什么这不起作用吗?我之前没有尝试过将 php 放在一个块中,所以我可能做错了。 谢谢
【问题讨论】:
标签: drupal-theming