Jump to:

3439 Posts in 1028 Topics by 869 members

Template Questions

SilverStripe Forums » Template Questions » Conditional comments & require

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

Page: 1
Go to End
Author Topic: 276 Views
  • thany
    Community Member
    6 Posts

    Conditional comments & require Link to this post

    When I use the require tag in a template, all that is required, is inserted at the bottom, instead of at the position of the require. This is not what I want, first of all. Secondly and more importantly, this goes wrong when including css in a conditional comment, like so:

    <!--[if lt IE 9]>
    <% require themedCSS("ie8") %>

    What should I do to get css at the position of the require, while still maintaining the version/filedate/hash (whatever it is) in the querystring for a css file?

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.