Return to Snippet

Revision: 45419
at April 29, 2011 20:42 by maetmar


Initial Code
include($params['filename']);

Initial URL

                                

Initial Description
1.Use a User Defined Tag.
2.Edit your config.php, change $config['use_smarty_php_tags'] from false to true and clear cache. Now you can insert php source with mask {php}your_source{/php}. Note: It's a bit risky and unsecure.
3. This is a mix of both. Create a User Defined Tag named extfile and insert the following

include($params['filename']);

Initial Title
CMSMS How to add php code in a page

Initial Tags

                                

Initial Language
ActionScript