Developer forum

Forum » Templates » Page template and the settings attribute

Page template and the settings attribute

Martin Gammelholm
Reply

Hello,

I'm having troubles getting the default paragraph template attribute working in my page template.

I've been following the example in this PDF:
http://developer.dynamicweb.com/Admin/Public/DWSDownload.aspx?File=Files%2fFiler%2fDocumentation%2fDesign%2f(en-US)+Designs+and+Layouts.pdf
Page 19.

When creating a new paragraph, the default paragraph template isn't chosen by default.

Am I missing something here?

 

BR
Martin


Replies

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

Hi Martin

It is not chosen in the template selector in the backend. It is just applied when rendering the paragraph without the editor needs to make a choice. So if the template selector is left blank, the default paragraph template will be used.

BR Nicolai

Votes for this answer: 1
 
Martin Gammelholm
Reply

Hi Nicolai,

I see, a bit confusing, but it's working.
Would be nice if the default paragraph template was shown in the backend also :)

 

BR
Martin

 
Nicolai Høeg Pedersen
Reply

Hi Martin

The backend shows which template is used - in the info bar in the bottom of the paragraph edit screen.

The template selector will have to remain empty, so you can change default template at any time without having to open all the paragraphs that was created when the other one was default. Makes sense?

BR Nicolai

 
Martin Gammelholm
Reply

Hi Nicolai,

Alright, good point - that makes perfect sense.
I can see that the default paragraph template is indeed showing in the bottom.

 

BR
Martin

 

You must be logged in to post in the forum