Giter VIP home page Giter VIP logo

addon_template's Introduction

LESS for REDAXO

About this Addon

<<<<<<< HEAD
This Addon includes the LESS Stylesheet Parser into REDAXO. It includes the lessPHP project class. The Version Number of this addon corresponds with the lessPHP class version.
===
This Addon includes the LESS Stylesheet Parser into REDAXO. It includes the lessPHP project class. The Version Number of this addon corresponds with the lessPHP class version.
>>>>>>> d65427a87cb5f24c9ad40c04e553a371effa3232

How to use it

This addon is a proof of concept. There might be errors, so take care! Follow these instruction and you shouldn’t be harmed:

  • Enter an existing folder in the “Folder” Settings field.
  • By default, the path to “files” is prefilled. If you enter “files” as a setting, you can easily upload LESS files via the Mediapool
  • All files in the specified folder that have an extension of “.less” will be parsed as CSS files. They will be written in the same folder as the source file.
  • Caching is activated

Examples

If you use the Mediapool and have “files” entered as folder, include the following line in your main HTML template, assuming that you uploaded “yourfile.less”:

<link href="<?php echo $REX['HTDOCS_PATH'] ?>files/yourfile.css" rel="stylesheet">

Accordingly, if you entered another location as folder, include the following line in your main HTML template, assuming that you entered “layout/css” in the addon settings section:

<link href="<?php echo $REX['HTDOCS_PATH'] ?>layout/css/yourfile.css" rel="stylesheet">

Download

http://github.com/cukabeka
<<<<<<< HEAD

===
>>>>>>> d65427a87cb5f24c9ad40c04e553a371effa3232

addon_template's People

Contributors

cukabeka avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.