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.
Share on Twitter