Wordpress + TwinHelix ‘IEPNGFIX’
Posted by Keith | Filed under Web Design, Web Programming
If you are having trouble getting the IE PNG FIX from TwinHelix to work in your Wordpress theme, make sure that you set the correct path to the .htc file in your themes stylesheet.
/* To fix IE 6 or less PNG issues */ img, div, span { behavior: url(wp-content/themes/your_theme_name/iepngfix.htc) }
If the relative path doesn’t work for you, try an absolute path instead.
/* To fix IE 6 or less PNG issues */ img, div, span { behavior: url(<a class="linkification-ext" style="color: #3366ff;" title="Linkification: http://www.yourdomain.com/wp-content/themes/your_theme_name/iepngfix.htc" href="http://www.yourdomain.com/wp-content/themes/your_theme_name/iepngfix.htc">http://www.yourdomain.com/wp-content/themes/your_theme_name/iepngfix.htc</a>) }
You also need to set the correct path to the image file in the .htc file.
if (typeof blankImg == 'undefined') var blankImg = 'wp-content/themes/your_theme_name/images/blank.gif';
Again, if the relative path doesn’t work, try the absolute path.
Once you have both paths set correctly everything should work fine. If you’re still having problems, chances are that the paths are still incorrect. Double check them and try again.
It took me a while to figure this out, so I hope this post saves you the bother.
Tags: ie 6, iepngfix, TwinHelix, wordpress
Samsung F480 Tocco Accessories
Posted by Keith | Filed under General, Technology
Since buying the Samsung F480 Tocco a while back, I decided to have a look to see what kind of accessories are available for it.
Here are some of the more essential accessories (to me) that I came across:
- Tocco Car Charger
- International Wall / AC Charger
- Emergency AA Battery Charge Extender
- Ted Baker Ltd Edition Bluetooth Headset
I haven’t bought any of these as of yet so I can’t comment on how good they are.
Tags: accessories, Cell Phone, Mobile Phone, Samsung F480 Tocco
2009: A good year for movies!
Posted by Keith | Filed under General
2009 looks like it’s going to be a very good year for movies. Here are some of the movies I’m looking forward to seeing the most.
X-MEN Origins: Wolverine
Release date: May 1st

Transformers: Revenge of the Fallen
Release date: June 24th

Watchmen
Release date: March 6th

The International
Release date: February 13th

Star Trek
Release date: May 8th

Fast and Furious
Release date: April 3rd
PUSH
Release date: February 6th
Knowing
Release date: March 20th
Terminator Salvation
Release date: May 21st
Inglourious Basterds
Release date: August 21st

Tags: movies
CodeIgniter Profiler: Globally Enable/Disable
Posted by Keith | Filed under Web Programming
Here is a quick tip for users of the CodeIgniter PHP Framework (and a reminder to myself). If you wish to enable or disable the profiler globally while developing your application (as opposed to changing the value in each seperate controller), you can do the following.
1. Open the config.php file in the application/config/ folder.
2. Add a new config setting using the following code:
1 2 3 4 5 6 7 8 9 10 | /* |--------------------------------- | Globally Enable/Disable Profiler |--------------------------------- | | TRUE = On | FALSE = Off | */ $config['profiler_status'] = TRUE; |
3. Then in each of the controllers that you want to the profiler to be displayed on, add the following code to the constructor.
1 | $this->output->enable_profiler($this->config->item('profiler_status')); |
Note: If you prefer to only have the profiler be displayed on some methods, then place the code from step 3 above into each of the methods.
Hope this helps ![]()
Tags: codeigniter, framework, php, profiler
Wordpress Automatic Upgrade
Posted by Keith | Filed under General
I love it! So easy and quick. One click of a button and Wordpress is upgraded to the latest version.







