Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion Joomla 3.0: Working with LESS
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Viktor Iwan  
View profile  
 More options Oct 4 2012, 12:23 am
From: Viktor Iwan <vic...@doxadigital.com>
Date: Wed, 3 Oct 2012 21:23:06 -0700 (PDT)
Local: Thurs, Oct 4 2012 12:23 am
Subject: Joomla 3.0: Working with LESS

Hello,
i would like to know on how we work with LESS in joomla 3.0 ?

At the moment i build my own bootstrap template in Joomla 2.5, and i have
variable to switch from LESS 'mode' (with javascript to render) to CSS
'mode', my code is something like this:
<?php
if($useLESS==1){?>
    <link href="<?php echo $this->baseurl ?>/templates/<?php echo
$this->template; ?>/less/bootstrap.less" type="text/css" media="all"  
rel="stylesheet/less" />
    <?php if($rwd==1){?>
    <link href="<?php echo $this->baseurl ?>/templates/<?php echo
$this->template; ?>/less/responsive.less" type="text/css" media="all"  
rel="stylesheet/less" />
    <?php }?>
<script src="<?php echo $this->baseurl ?>/templates/<?php echo
$this->template; ?>/js/less-1.3.0.min.js" type="text/javascript"></script>
<?php }?>

so my usual workflow are:
1. Go with the "LESS" mode, disable cookies in firefox for instant preview
(otherwise it use cookie to avoid precompiled LESS)
2. After everything done, i compile .LESS file into .CSS file
3. replace .CSS file with the new one
4. Switch to "CSS" mode from my template parameter

So, what's the default workflow in Joomla 3.0 (template protostar) ?
i see less folder, but i don't see where it use and get compiled, it seem
like separate system where you setting .less, compile, and replace css
manually.....
if i change the variables in .less in protostrar, can it impact the backend
as well ?

Thanks for sharing


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.