Problems, need help? Have a tip or advice? Post it here.
12 posts Page 2 of 2
<cms:if k_is_home>
<cms:masquerade "<cms:link masterpage='home.php' />" />
</cms:if>

that is the exact code that is on my index.php, but site.com redirects to site.com/home/
OK, that would happen when 'curl' is not installed on your server.

So either you try to enable curl or try using the following method -
Place the following in index.php (in place of the code we used previously)
Code: Select all
<cms:if k_is_home>
   <cms:pages masterpage='home.php' limit='1'>
      .. all variables from home.php are available here. Display them as you wish ..
   </cms:pages>
</cms:if>

Display home.php's HTML in there in the indicated area. To keep things clean, you can also put that part in a snippet. N.B. Please take care not to put the <cms:editable ..> tags originally in home.php up there - only the display HTML).

Hope this helps.
12 posts Page 2 of 2