Page 1 of 1

PHP Include

Posted: Fri Nov 17, 2006 10:50 pm
by Faltzer
I tried including PHP with CMSMS, and it didn't work. Might I suggest to add a tag/module in CMSMS to include PHP please? It's disturbing to not be able to include your own code in PHP.

Re: PHP Include

Posted: Sat Nov 18, 2006 7:54 am
by tsw
copy paste your php into user defined tag (remove ) then call that tag from your page or template.

or change config.php to allow smarty php tag (this isnt really supported but should work) and use {php} include('foo') {/php}

hope this helps