Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

Customising the CMS


5 Posts   1946 Views


30 September 2009 at 8:47am Community Member, 2 Posts

Im having trouble getting to work in my silverstripe installation. Im sure its possible to implement but for some reason the script isnt running.

I created a new folder called scripts under and put the .htc file in there with it referencing the blank.gif in the images folder.

So if anyone has managed to get working please could you describe how. I imagine its got something to do with the rewriting of the url that silverstripe is doing but I dont know where to look.

Anyone who wants to have a look at what the script can do check it out --> [url][/url]



30 September 2009 at 9:05am Community Member, 528 Posts

Never tried that one, but DD Belated PNG FIx works okay for me


30 September 2009 at 1:22pm (Last edited: 30 September 2009 1:22pm), Community Member, 190 Posts

I recall a friend having trouble implementing Twin Helix on a SilverStripe site. I don't know if he ever got it to work. I'm about to try it soon on a current project. Making a note of the DD one, thanks.

On some sites, I actually make different graphics for IE6 so I don't have to worry about the PNG fixes. Usually it's just containers with drop shadows on a textured background. I'll just strip out the drop shadows and be done with it.

I'm still waiting for someone to write a virus for that hides IE6 and installs FF on the desktop and makes it the default browser (maybe even change the icon to the IE one). Or at least updates IE6 to 8. Any takers?


1 October 2009 at 2:34am Community Member, 323 Posts

Hi aghy,

Put blank.gif and together in /mysite/javascript (with the appropriate blankImg = 'mysite/javascript/blank.gif';). Then, in your theme /css folder, create, for example, an ie6.css file containing:

img {behavior: url(mysite/javascript/ }

Then, in your page controller, you could have:

class Page_Controller extends ContentController {

function init() {
   // Note: you should use SS template require tags inside your templates
   // instead of putting Requirements calls here. However these are
   // included so that our older themes still work
   // IE hacks
   if($pos = strpos($_SERVER[ 'HTTP_USER_AGENT' ], 'MSIE')) {
      $version = substr($_SERVER[ 'HTTP_USER_AGENT' ], $pos + 5, 3 );
      if( $version < 7 ) {

Hope it helps,


1 October 2009 at 7:58am Community Member, 2 Posts

Thank you all!
Juan thats spot on that works perfect thank you very much.