Developer forum

Forum » Templates » Display item page with old template based layout

Display item page with old template based layout

Anders Ebdrup
Reply

Hello guys,

 

How can I specify a page template for outputting an item based page with the old template based layout? Right now when accessing an item page nothing is outputted... frown

 

Best regards, Anders


Replies

 
Nicolai Høeg Pedersen
Reply

Items are created for designs & layout only.

But the item properties are rendered to the pageview's template instance which is the same in designs & layout and in the old template based version. So in any page template you can access the item tags.

To change the template for a page not using designs and layouts, use the properties on the page.

BR Nicolai

 
Anders Ebdrup
Reply

Hi Nicolai,

 

Thanks for your answer, but how do I set a template for a page not using designs and layouts??

 

Best regards, Anders??

 
Nicolai Høeg Pedersen
Reply
This post has been marked as an answer

Oh, forgot - so many years ago I last used it...

http://manual.dynamicweb-cms.com/Dynamicweb-On-line-Manual/Pages/Page-properties.aspx

You have to create a new stylesheet in MC and attach the page template to that, and choose the stylesheet in the composition dialog of page properties...

Or override the page template in code...

Votes for this answer: 1

 

You must be logged in to post in the forum