Posts for: #programming

Javascript short tags - don’t do it.

Yeah, so I just spent about an hour trying to figure out why javascript had stopped working. <script src="blah.js" type="text/javascript" /> will cause some very strange things to happen. You *must* have a closing tag. <script src="blah.js" type="text/javascript"></script>
[Read more]

ClearSilver PHP module on Ubuntu

I recently got the ClearSilver PHP module working on my Ubuntu laptop as we use it on a number of our web sites and I needed to develop a site with it locally. Then this morning I stupidly upgraded PHP and of course the module had un-resolved symbols. Dohh! So I decided this time I’d write a better document on how to get it working, one which might actually help me and could perhaps help others.
[Read more]