1
HTML & templates / Re: .tpl is downloading in browser regardless of settings
« on: September 10, 2014, 12:50:35 PM »what is that .tpl file exactly?
if it is a whole html page, then you should rename it to "index.html"
if it's a template, you should name it hfs.diff.tpl
the reason why it is downloaded is that the browser doesn't know what to do with that file.
If it is an html and for some strange reason you want to keep the name .tpl then you have to configure the mime type for tpl files, and give it "text/html" as value
What I was trying to do was have every folder have it's own .tpl code in it. So what I did was have "hfs.diff.tpl" in each folder and that worked perfectly. Thank you so much