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've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

Template Questions /

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

HTML5 & CSS3


Go to End


3 Posts   1910 Views

Avatar
Stefdv

Community Member, 110 Posts

11 July 2011 at 10:08pm

Edited: 11/07/2011 10:49pm

Hello,

I'm trying to convert a website made with HTML5 ( en some CSS3 ) to a SilverStripe template. But it seems that the template engine doesn't support the HTML5 tags like; <header> <article> <section> <nav> < hgroup> <aside> <footer> ?

Does this mean that i have to use <div id="***"> and go back to the ' old' way of doing things?
Can i include something in my config to make this work?

tx

So sorry, stupid typo ; folder temlate instead of template.

Avatar
Willr

Forum Moderator, 5523 Posts

12 July 2011 at 6:46pm

The template engine supports anything you want it to support. XML, JSON, HTML5... what issues where you having with those tags?

Avatar
Stefdv

Community Member, 110 Posts

13 July 2011 at 3:59am

Willr

Tx for your reply, but as you can see i corrected my message...

I have absolute no issues, besides the fact that i should pay more attention to my folder structure ( and the names ) :)