C1 CMS Versions supported
This package requires CMS version 6.8 or newer (Build: 6.8.7271.23834).
Launch the CMS Console, then open the top menu item “Help” and click “About C1 CMS”.
Installation steps
- Log into the CMS Console as an administrator.
- Go to the "System" perspective.
- Open the folders “Packages” | “Available Packages” | " Composite.Web".
- Select " Composite.Web.Css.Less" and click “Install”.
- Complete the wizard.
Editing .less files
To edit .less files, you can use one of the ad-hoc extensions for Visual Studio:
Configuring .LESS on IIS6
Show information about configuring .LESS on IIS6If you are using IIS6 or not using IIS's integrated pipeline, you'll need to configure your web server's settings so that requests for .LESS files are routed to the ASP.NET engine (so that they can be processed by the .LESS HTTP Handler):
- In IIS Manager, select the website you want to configure for .LESS and on the Actions menu, select Properties.
- On the Home Directory tab, click Configuration.
- In the Application extensions list, click Add.
- Fill out the fields as follows:
- Executable: path to the ASP.NET DLL, by default:
c:\windows\microsoft.net\framework\v4.0.30319\aspnet_isapi.dll
- Extension: .less
- Uncheck the Verify that file exist option.
- Click OK in the Add/Edit Application Extension Mapping window, and then in the Application Configuration window.
Now add the MIME Type for .LESS in the website's properties:
- On the HTTP Headers tab, click MIME Types.
- Click Newand fill out the fields as follows:
- Extension: .less
- MIME type: text/css
- Click OK in the MIME Type window and then in the MIME Types window.
- Click OK in the Properties window.
Also, make sure that dotLess handler is defined in the <system.web>
section in Web.config
:
Expand code<system.web>
<httpHandlers>
<add type="dotless.Core.LessCssHttpHandler, dotless.Core" path="*.LESS" verb="*" />
</httpHandlers>
</system.web>
Version info
- Current version
- 1.3.3
- Package ID
- b1b27757-a065-41fd-91b0-e8e5f2a0e8d0