Cotonti / Open Source PHP Content Management FrameworkContent Management Framework

Extensions / vless

less compiler based on lessc for cotonti cms.

cotonti-vless

less compiler, based on Lessc for cotonti cms. Support cached compile, forced compile.

Usage:

  1. copy the files in the plugins directory.
  2. Install the plugin through admin panel.
  3. Register your less file in mytheme.rc.php

example:

  //themes/mytheme/mytheme.rc.php 
  Resources::addFile($cfg['themes_dir'].'/'.$usr['theme'].'/bootstrap/less/bootstrap.less', 'less'); 

be sure to specify the second parameter file extension "less".

Force compile.

  1. Enable debug mode in the file "datas/config.php"
  //datas/config.php
  $cfg['debug_mode'] = true;

           2. Send your request to the server with a parameter vlessforce = 1 *example: http://mydomain/index.php?vlessforce=1 *


No comments yet
Only registered users can post new comments