Mon avis: simple et efficace, il permet notamment de créer des comptes avec trois profils (administrateur, rédacteur ou designer) et l'ergonomie et les droits de chaque profil est bien pensée; CMS Made Simple provides a fast and easy way to create a web site and manage its contents

aussi disponible en français

CMS puissant et simple, avec langage de template, demande MySQL et php, à suivre

Migration en cours akademia:

chmod -R 777 tmp/ touch config.php chmod 777 config.php chmod -R 777 uploads/ chmod -R 777 modules/


 Q: How do I Include External PHP in my Page or Template

I have a script or a snippet of php code from my old site, and I want to include it into my new CMS pages. How do I do that?
A1: Using User Defined Tags (recommended)

You can create a user defined tag (under Extensions >> User Defined Tags) and include the php code there. i.e: create a php tag called my_phpinfo and in it, place this code

  phpinfo();  //(notice that the <?php and ?> tags aren't necessary).

Then you use the following syntax in your page to call that script:


You can use any valid php code in a user defined tag, including the "include" command to include external scripts. You also have access to all of the CMS API, and global variables. This is the recommended way of including PHP code, as you can prevent people from editing this code via the permissions model.
A2: Using {php} and {/php} Tags

The second way to include php code into your page is by using {php} and {/php} tags to surround your php code in your page or template (you do not need the <?php and ?> tags with this syntax). However, this functionality is disabled by default on new installs.

To enable this functionality, you need to change one line of the config.php file in your installation. Change the "use_smarty_php_tags" setting to true. i.e.:

  #Allow smarty {php} tags?  These could be dangerous if you don't trust your users.
  $config['use_smarty_php_tags'] = true;

Now you can place php code into your page or template at will. i.e.:


Note: This is not the recommended way of accomplishing this task, as any user with the ability to edit the page, or the template could edit the php code, and besides causing script errors, could potentially introduce security issues.
  • info/cmsms.txt
  • Dernière modification : 2018/07/18 09:45
  • de radeff