Developer forum

Forum » Templates » Reuse dwcontent on same page

Reuse dwcontent on same page

Martin Kure
Reply

Hi, 

I have a question regarding dwcontent.

I'm using this div-element with the dwcontent class: 

<div class="dwcontent hidden-xs" id="LeftColoumn" title="Venstre kolonne" data-settings="sort:4;"></div>

And I want to reuse it on the same template. Is there a workaround, so I can reuse the content twice on the same template.

 

Regards

Martin


Replies

 
Morten Bengtson
Reply
This post has been marked as an answer

You can use a DwContent tag and insert that multiple times on the same layout template...

<!--@DwContent(LeftColumn)-->

<!--@DwContent(LeftColumn)-->

<!--@DwContent(LeftColumn)-->

Votes for this answer: 1
 
Martin Kure
Reply

Hi Morten, 

definetly didn't know that. Works like a charm and can help me a lot in the future. 

Thank you ever so much.

Regards

Martin

 

You must be logged in to post in the forum