Hi,
I’m trying to convert this line of HTML :
<link rel="stylesheet/less" type="text/css" href="/less/bootstrap.less">
using registerCssFile :
<?php Yii::app()->getClientScript()->registerCssFile('/less/bootstrap.less');?>
when I do this, the HTML generated by Yii looks like this :
<link rel="stylesheet" type="text/css" href="/less/bootstrap.less">
My LESS file isn’t interprated this way because of the ‘rel’ attribute
I just want to replace the default [ rel="stylesheet" ] by [ rel="stylesheet/less"]
>> Is it possible to custom this ‘rel’ attribute using ‘registerScriptFile’ ??
Thanx alot