Include PHP

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Locked
rwesterh

Include PHP

Post 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
Last edited by rwesterh on Sat Mar 26, 2005 5:10 pm, edited 1 time in total.
raziel
New Member
New Member
Posts: 6
Joined: Sun Mar 27, 2005 10:56 am
Location: Germany

Re: Include PHP

Post 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 :)
rwesterh

Re: Include PHP

Post by rwesterh »

It works by now! Thanks!
Locked

Return to “CMSMS Core”