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.

We're retiring the forums!

The SilverStripe forums have passed their heyday. They'll stick around, but will be read only. We'd encourage you to get involved in the community via the following channels instead:

Archive /

Our old forums are still available as a read-only archive.

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo


Go to End

5 Posts   3384 Views


Community Member, 53 Posts

3 September 2008 at 4:17am

A site for Optoskand AB. Built with silverstripe 2.2.2.


Community Member, 167 Posts

4 September 2008 at 2:06am

Hi superautomatic, you're building some nice sites there!

I was wondering: you seem to be serving HTML 4.01 with SS, is that just a matter of switching off the content negotiator and then using the right doc type in your templates? What about code that SS generates then, like img tags etc.?

Also, the image fading in/out on the HP of the Fleissner site, can you shed some light on that? I was looking for something similar and wanted to avoid Flash...



Community Member, 53 Posts

4 September 2008 at 2:27am

Edited: 04/09/2008 2:28am

Usually i start all my page templates with a <% include Doctype %>. That makes doctype switching easy.

The content Negotiator Class automatically rewrites the DOCTYPE and content code to the HTML 4.01 if it does not detect the document serving as XML with an XML header. See

The image fading in/out is done with smoothgallery. See

It's hardcoded at the moment, but making it dynamic wold be really easy by extending the homepage with a couple of images.



Community Member, 167 Posts

4 September 2008 at 2:34am

Thanks Jens, much appreciated!



Community Member, 24 Posts

25 September 2008 at 9:42am

Hi Jens

You have some amazing designs.

Thanks for sharing!