Developer forum

Forum » Templates » Design and layout - dwcontent()

Design and layout - dwcontent()


Reply

Hi,

For some reason, this is not working:

My

isn't shown in the parsed code.

Changing aside to div or box-wrap to boxwrap doesn't solve it.

What's wrong?

Anders Olsen
 


Replies

 
Reply
Well... this forum module have a hard time with html and I don't have time to try different setups.

I have attached a screenshot with my code - and question.

What a debut in here... :-/

Anders
screenshot.PNG
 
Nicolai Høeg Pedersen
Reply
Hi Anders

Sorry about problems with pasting html - it is a bug in the forum that should be fixed one of these days...

Your template writes DWContent() and it is called DwContent() - casing is the issue.

Also the dash could be a problem - check the .parsed.html file for the exact name DW uses.
 
Reply
Ups. I've changed DWContent to DwContent - no luck.

You're right about the dash. The parsed html/tag doesn't contain the dash. I've changed box-wrap to boxwrap but still no luck.
 
Nicolai Høeg Pedersen
Reply
OK.

Can see you are using ASIDE html 5 tag. Layouts are parsed using htmlagility pack, and I do not think it recognises that tag and hence is not handled correctly.

Try with a div tag and see if that works. Otherwise I need a link to help you further.
 
Nicolai Høeg Pedersen
Reply
Just tested using aside - and it works great.

Attached my markup in a screen dump.

So check your markup that it closes correctly etc. Or drop me a link and I'll have a look.
asidetest.PNG
 
Reply
Changing to div doesn't work either. Mail coming up...

 

You must be logged in to post in the forum