Published by Mijingo

movie icon image

EE Insider Blog

Spend your time learning and developing sites with ExpressionEngine and we'll use this blog to keep you informed of all the news related to ExpressionEngine and CodeIgniter.

» Read more in the Archives.

» Have a tip? Send us your EE news.

Learn ExpressionEngine Today

Over a series of 8 videos, watch and learn as Ryan builds an entire ExpressionEngine website from beginning to end. Get started now.

New in 2.0: Proper File Extensions for Templates

The other day Mark Reeves tweeted about problems getting Coda to recognize his CSS template as CSS. This is a problem because EE 1.6.x uses the .php extension on all template files, no matter if they’re HTML, CSS or even RSS.

Fortunately, ExpressionEngine 2.0 has fixed this problem. Your templates are now saved with the proper extensions:

  • Webpage Templates: .html
  • RSS Templates: .rss
  • CSS Templates: .css
  • Javascript Templates: .js
  • Static Templates: .html
  • XML Templates: .xml

This will solve any issues you may have with your text editor properly recognizing all of the different type of documents.

And there was much rejoicing.

Posted on Dec 07, 2009 by Ryan Irelan

Filed Under: ExpressionEngine 2