xoops forums

Forum Index


Board index » All Posts (aglchina)




aglchina

Just popping in
Posted on: 2007/6/28 0:48
aglchina
aglchina (Show more)
Just popping in
Posts: 6
Since: 2005/6/28
#1

Re: How can I allow content on homepage and block from registration page.

You can modify index.php like this:
include "header.php";
  
$xoopsTpl->assign'is_homepage',true); //add this code 
  
include "footer.php";


And edit you theme
<{if $is_homepage}>Show This<{else}>Show That<{/if}>



TopTop