听说code能改变world,所以就学了

drupal首页不显示默认内容列表方法

默认显示的代码为

<?php print render($page['content']); ?>  

 修改后为

    <?php if ( !$is_front ): ?>  
      
                <?php print render($page['content']); ?>  
      
    <?php endif ?>  

 

posted @ 2013-12-25 11:15  李腾  阅读(366)  评论(0编辑  收藏  举报

如果我加了黑链呢:http://liteng.org