cotonti.com : [Release] LESS CSS compiler https://www.cotonti.com Son konu mesajları Cotonti en Mon, 01 Dec 2025 19:34:11 -0000 GHengeveld
[BEGIN_SED_EXTPLUGIN]
Code=lessc
Part=main
File=lessc
Hooks=header.first
Tags=
Order=10
[END_SED_EXTPLUGIN]
Note the block tags. In Siena there are no more references to Seditio, so SED is replaced by COT. Same goes for the setup file, where in Genoa you have:
[BEGIN_SED_EXTPLUGIN] ... [END_SED_EXTPLUGIN]
[BEGIN_SED_EXTPLUGIN_CONFIG] ... [END_SED_EXTPLUGIN_CONFIG]
In Siena this is:
[BEGIN_COT_EXT] ... [END_COT_EXT]
[BEGIN_COT_EXT_CONFIG] ... [END_COT_EXT_CONFIG]
]]>
Per, 09 Ara 2010 23:42:54 -0000
aiwass # Koradhil : In lessc.php, right below 'Hooks=header.first', add this:
Tags=
The plugin doesn't use any tags. In Siena it's not required, in Genoa it has to be set, even if empty.

I've updated the description to incorporate this change. Also note that updating to v1.1 with Genoa is useless, because it only adds Siena-specific functionality.

Did that, but still the same issue:
Warning: No tags found in ./plugins/lessc/lessc.setup.php

Even if I add tags= to lessc.setup.php as well, it's still the same issue as above.]]>
Per, 09 Ara 2010 21:42:15 -0000
GHengeveld
Tags=
The plugin doesn't use any tags. In Siena it's not required, in Genoa it has to be set, even if empty.

I've updated the description to incorporate this change. Also note that updating to v1.1 with Genoa is useless, because it only adds Siena-specific functionality.]]>
Per, 09 Ara 2010 21:31:48 -0000
aiwass Per, 09 Ara 2010 20:44:58 -0000 pieter
Note:
This plugin is written for Siena. In order for it to work in Genoa (0.6) and before, you have to modify lessc.php to change /themes to /skins.]]>
Per, 09 Ara 2010 20:07:35 -0000
aiwass
lessc Warning: No tags found in ./plugins/lessc/lessc.setup.php

So, I can't install it via the Admin Panel > Plugins

I'm running the 0.6.12]]>
Per, 09 Ara 2010 19:55:02 -0000
GHengeveld
LESS CSS compiler v1.1

Without caching, the plugin will run a search for .less files in theme directory on every page load.]]>
Per, 09 Ara 2010 18:01:19 -0000
MIHDev Cheers]]> Per, 09 Ara 2010 00:32:27 -0000 GHengeveld This plugin is based on lessphp, a compiler for LESS written in PHP. LESS extends CSS with variables, mixins, operations and nesting.

More information about LESS syntax:

What it does:
The plugin will look for .less files in your theme (skin) folder, as well as its /css subdirectory. It will compile any .less files it finds to the .css counterpart (using the same filename), but only if the file doesn't exist yet or the .css file is older than the .less file.

What does this mean for theme development:
Instead of writing regular .css files, you can write .less files using the LESS syntax. You still include the .css file in your header.tpl, not the .less file. The .css file is created automatically. To get started, you can simply rename your existing .css files to .less, because the LESS syntax is based on regular CSS (it's just an extension). Using LESS doesn't change the way you develop themes, other than using the .less file extension (and allowing you to use the LESS features of course).

Note for Genoa users:
This plugin is written for Siena. In order for it to work in Genoa (0.6) and before, you have to modify lessc.php to change /themes to /skins. Also, right below 'Hooks=header.first' (line 4), add this line:

Tags=

Installation:

  1. Upload the plugin files as normal.
  2. Install the plugin through the admin panel.
  3. Set CHMOD 777 on /themes/yourtheme and /themes/yourtheme/css. This can be done with most FTP clients. For Genoa and before its in /skins.

» Download here

]]>
Çrş, 08 Ara 2010 22:32:22 -0000