We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

{stylesheet} hook?

Development and Programming

djensen's avatar
djensen
10 posts
13 years ago
djensen's avatar djensen

Hi there,

I am trying to write a extension that will add a template_type for LESS file and process into css. Everything is working, but when I started to look for a hook for the {stylesheet} tag, no luck…

Is there such a hook? Or should I be looking into another approach?

Thank!

       
Enviromed's avatar
Enviromed
375 posts
13 years ago
Enviromed's avatar Enviromed

You might look at: http://devot-ee.com/add-ons/eeless

       
djensen's avatar
djensen
10 posts
13 years ago
djensen's avatar djensen

I saw that one. I was looking to avoid writing a plugin. I figured if there is a way to hook into {stylesheet}, it would be cool. Is it possible?

I should also say that I looked into the EE_stylesheet.php and I couldn’t tell if there is hooks being called.

Thanks!

       
djensen's avatar
djensen
10 posts
13 years ago
djensen's avatar djensen

Is there a standard way for me to override the EE_stylesheet class with my own that would process LESS?

       

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.