Love Fuel?    Donate

FuelPHP Forums

Ask your question about FuelPHP in the appropriate forum, or help others by answering their questions.
Asset::css attribute override
  • I would use LessCss and set header links with Asset class. I have to render :
    <link rel="stylesheet/less" type="text/css" href="styles.less">
    [removed][removed]
    

    So I've used :
    <?php echo Asset::css('style.less', array('rel'=>'stylesheet/less')); ?>
    <?php echo Asset::js('less.js'); ?>
    

    But specified "rel" attribute doesn't ovveride the standard rel="stylesheet". There's somthing wrong in my code?
  • This is an issue in the 1.1 release which was fixed on 2012-01-03. So either switch to 1.1/develop (if you're using git), install it manually, or wait a few days for the 1.2 release.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

In this Discussion