Tag software
Joomla - Modules within modules
Today I discovered that Joomla modules can act like russian dolls! In that if the mood takes you, it is entirely possible to load and render a module inside another module.
Fixing Google Chrome fonts in Mac OS X
Today my install of Google Chrome went a little mad and decided that Times New Roman was the best font in the world and should have the whole internet rendered in it. To fix this I had to clear OS X’s font caches using the following commands: sudo atsutil databases -remove atsutil server -shutdown atsutil server -ping And there was much rejoicing…
Reset Auto Increment with MySQL
Alot of the time when you are working with MySQL you will need a table that has an auto incrementing id field. This is great and usually doesn’t pose you any problems, but i’ve noticed that if you are deleting rows manually alot (as you will during development), then it can get a little confused.
Randomising MySQL results
Today I came across a situtation where I needed to have a particular set of MySQL database results to be in a random order. This was for an image slideshow that was being employed on a new project we are working on, the client wanted a random order to the pictures.
Showing local times with PHP
Here’s a little snippet of PHP that will help anyone grappling with a project that involves (or will be used in) multiple timezones.