PDA

View Full Version : include code no longer works in 4.1


johnner
01-12-2011, 09:25 PM
Hi guys,
this no longer works for me either when i call this include from my leftside.tpl page

Content visible to registered users only.

If you try and pull up the link directly, it works, fine, but with this include call, nothing shows up, no errors its just blank.

has something changed with the way includes work?

James
01-12-2011, 09:27 PM
use full server path

johnner
01-12-2011, 09:48 PM
james thanks. I tried using the full server path (/home/username/public_html/ instead of my URL but that made no difference.

perhaps rss2html.php no longer compatible with smarty?

shinchan
02-13-2011, 04:30 AM
{include_php file="whatever your file.php"}

this works just fine, I use it in 4.1
you don't need your how string just where your file is.

????/?????/????.php
see banners on my site (http://kissmydirectory.com)