Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
In a template I'm currently creating I've tried to add the new HTML5 `<aside>` tag to my markup.
<aside class="secondary-content">
<img src="images/content_image1.jpg" alt="Alt text 1" />
</aside>
However, I get the following error when viewing the page.
Type 'umbraco.presentation.templateControls.Item' does not have a public property named 'aside'.
Is there anyway to allow this tag to be allowed in Umbraco 4.7?
Hi Benjamin
Umbraco couldnt care less about your html :-) Meaning - you can put anything being valid or invalid html/text/mumblejumble in the templates.
I assume you are using mastertemplates. Question is - did you add the html within a content placeholder. Like this:
<asp:Content ContentPlaceHolderID="ContentPlaceHolderDefault" runat="server">
(... lots of html)
</asp:content>
/Jesper
Hi,
Thanks for your input jesper.
As usual figured out the issue a couple of minutes after psoting this. Turns out I hadnt closed the <umbraco:item /> tag directly above the aside which caused the error to show.
Once I closed the tag it worked as planned. :)
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
HTML5 <aside> tag in Umbraco
In a template I'm currently creating I've tried to add the new HTML5 `<aside>` tag to my markup.
<aside class="secondary-content">
<img src="images/content_image1.jpg" alt="Alt text 1" />
</aside>
However, I get the following error when viewing the page.
Type 'umbraco.presentation.templateControls.Item' does not have a public property named 'aside'.
Is there anyway to allow this tag to be allowed in Umbraco 4.7?
Hi Benjamin
Umbraco couldnt care less about your html :-) Meaning - you can put anything being valid or invalid html/text/mumblejumble in the templates.
I assume you are using mastertemplates. Question is - did you add the html within a content placeholder. Like this:
(... lots of html)
</asp:content>
/Jesper
Hi,
Thanks for your input jesper.
As usual figured out the issue a couple of minutes after psoting this. Turns out I hadnt closed the <umbraco:item /> tag directly above the aside which caused the error to show.
Once I closed the tag it worked as planned. :)
is working on a reply...