DNYR

Hi,

I’m having great success with the most awesomeness that is Contenbox! It’s truly a gift!

I installed the Twitter Bootstrap theme and I’ve been hacking around and it’s great!

I’m looking for a nice pattern to keep things more centralized and address some DNYR issues I have with maintaining common information in the HEAD block of all the layouts, like common CSS and JS files (that may optionally be manufactured down from LESS or Coffeescript files, etc).

In CB 3.5, what’s the best practice for injecting CSS/Javascript assets into headers?

Thanks again for the amazing work!

Kind wishes,

John Engstrom

You can use the HTML helper addAsset() methods, or you can use something like our JSMin compressor, that can enable compression and caching for you.

Luis F. Majano
CEO
Ortus Solutions, Corp
www.ortussolutions.com

ColdBox Platform: http://www.coldbox.org
Linked In: http://www.linkedin.com/pub/3/731/483
Blog: http://www.luismajano.com
IECFUG Manager: http://www.iecfug.com

Social: twitter.com/lmajano facebook.com/lmajano