4
coderme
7y

So we used to build these awful "promotion" pages for a leading manufacturer in the area. Because the website was old as dirt, there was no CMS and everything was static html using Coldfusion for a few include files like for the nav and such.

Every year we would get a new project to tweak the promotion details a little, and change the year from 2011 to 2012, etc.

My predecessor put the digit "1" in an HTML file called year.html, then included it like:
"valid from January 1 though December 31, 201<cfinclude template="year.html">..."

Why? Just why? And if you're going to use include files, for Pete's sake at least use the proper .cfm file extension!

Comments
  • 0
    @Torbuntu Eh, if you hold the hammer wrong, don't blame the hammer.
Add Comment