Jump to:

17452 Posts in 4473 Topics by 1971 members

Archive

SilverStripe Forums » Archive » Optoskand

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

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

Page: 1
Go to End
Author Topic: 2879 Views
  • superautomatic
    Avatar
    Community Member
    53 Posts

    Optoskand Link to this post

    A site for Optoskand AB. Built with silverstripe 2.2.2.

    www.optoskand.se

  • SilverRay
    Avatar
    Community Member
    167 Posts

    Re: Optoskand Link to this post

    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...

    Thanks!

  • superautomatic
    Avatar
    Community Member
    53 Posts

    Re: Optoskand Link to this post

    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 http://doc.silverstripe.com/doku.php?id=html

    The image fading in/out is done with smoothgallery. See http://smoothgallery.jondesign.net/showcase/simple-slideshow/

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

    /Jens

  • SilverRay
    Avatar
    Community Member
    167 Posts

    Re: Optoskand Link to this post

    Thanks Jens, much appreciated!

    Ray.

  • Mishy
    Avatar
    Community Member
    24 Posts

    Re: Optoskand Link to this post

    Hi Jens

    You have some amazing designs.

    Thanks for sharing!
    Michelle

    2879 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.