Hi
Is there a way to output the name of the current pagetemplate from a paragraph template view?
@TemplateTags does not reveal this, but maybe somehow via the API this could be done?
/Hans
Hi
Is there a way to output the name of the current pagetemplate from a paragraph template view?
@TemplateTags does not reveal this, but maybe somehow via the API this could be done?
/Hans
Dynamicweb.Frontend.PageView.Current().Layout.File.FullName
You can find all the available properties of the .File property here:
https://doc.dynamicweb.com/api/html/51cb2a8a-6b1b-e6d3-4885-d30921322c77.htm
Dynamicweb.Frontend.PageView.Current().Layout.File.FullName
You can find all the available properties of the .File property here:
https://doc.dynamicweb.com/api/html/51cb2a8a-6b1b-e6d3-4885-d30921322c77.htm
You must be logged in to post in the forum