Page 1 of 1

Include PHP

Posted: Sat Mar 26, 2005 5:05 pm
by rwesterh
(Sorry for this bad english > But i'm dutch so...)

Is it possible to include a PHP file (I want to include CuteNews.. Path: http://www.rene.gtacrime.nl/cutenews/show_news.php )
I know there is another topic about that, but the link wich is in that file is referring to a 404-Error.

Can somebody give me the code?

Greetings
Rene

Re: Include PHP

Posted: Sun Mar 27, 2005 11:00 am
by raziel
You can define your own smarty-tags in the plugin-section of the the admin-area.

simply name it "cute_news" and set code to:

Code: Select all

include('cutenews/show_news.php');
finally insert "{cute_news}" wherever you want on your site :)

Re: Include PHP

Posted: Sun Mar 27, 2005 12:11 pm
by rwesterh
It works by now! Thanks!