Developer forum

Forum » Templates » Template tag not rendering

Template tag not rendering

Replies

 
Nicolai Høeg Pedersen
Reply

Hi Andrew

 

Which version did you upgrade from?

 

And have you had the opportunity to try this with the latest 8.2.3? That version have had a change to the scope of template tags due to the implementation of Razor that should also solve this issue.

 

BR Nicolai

 
Merethe Nielsen
Reply

Hi

 

I have tried to reproduce the problem, but DwPageUpdateDate and DwPageUpdateDateTime are rendered in 8.2.2.6 and in our latest version 8.2.3.3.

Remember to enable the time stamp in page properties in "Display ´last update´" in order to render these 2 tags. Here is a video that shows that it works in 8.2.2.6 when the setting is enabled: http://screencast.com/t/Hl6QBTll.

 

Read about the tags here: 
http://templates.dynamicweb-cms.com/TemplateTags/Dynamicweb-template-tags/Page-tags/Page/DwPageUpdateDate.aspx
http://templates.dynamicweb-cms.com/TemplateTags/Dynamicweb-template-tags/Page-tags/Page/DwPageUpdateDateTime.aspx

 

 

Another tag that is always rendered is DwPageUpdatedDate.
http://templates.dynamicweb-cms.com/TemplateTags/Dynamicweb-template-tags/Page-tags/Page/DwPageUpdatedDate.aspx
 

 

Kind regards,

Merethe Nielsen

 
Andrew Mannell
Reply

Thank you for your fast response, the issue seems to be that the template tag is in the paragraph template not page template! It all worked before on the DW7? the page setting etc are correct.

I will have to test before updating the solution again as we need to check all custom modules!

 

Page example: http://www.biogenidec.fr/mentions_obligatoires.aspx?ID=12500

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

Hi Andrew

 

The template engine in DW8 is different than in DW7 and that is why you cannot use page tags in paragraphs on DW 8.

 

The issue is solved though with the latest 8.2.3

 

BR Nicolai

Votes for this answer: 1
 
Andrew Mannell
Reply

Hi Nicole,

 

Again thanks for the info, I have gone for the upgrade after checking a few items first and it has solved the issue!

 

To keep the Forum up to date:

Version 8.2.2.6 does not render in paragraph templates the 

<!--@DwPageUpdateDate-->

tag  - solution update to 8.2.3

 

You must be logged in to post in the forum