Posted By

maetmar on 04/29/11


Tagged


Versions (?)

CMSMS How to add php code in a page


 / Published in: ActionScript
 

1.Use a User Defined Tag. 2.Edit your config.php, change $config['usesmartyphptags'] from false to true and clear cache. Now you can insert php source with mask {php}yoursource{/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']);

  1. include($params['filename']);

Report this snippet  

You need to login to post a comment.