留言板
Get layout template name applied to page
Jesse Paria,修改在10 年前。
Get layout template name applied to page
Junior Member 帖子: 69 加入日期: 11-3-4 最近的帖子
Is it possible to get the layout template name that is applied to a particular page in velocity?
Ryan Schuhler,修改在10 年前。
RE: Get layout template name applied to page (答复)
Junior Member 帖子: 77 加入日期: 12-7-6 最近的帖子
I know I have gotten the layout template id before using:
$themeDisplay.getLayout().getTypeSettingsProperty('layout-template-id')
Its not the name, but you might be able to use it to get the name, or it might be useful for whatever you are trying to accomplish.
$themeDisplay.getLayout().getTypeSettingsProperty('layout-template-id')
Its not the name, but you might be able to use it to get the name, or it might be useful for whatever you are trying to accomplish.
Jesse Paria,修改在10 年前。
RE: Get layout template name applied to page
Junior Member 帖子: 69 加入日期: 11-3-4 最近的帖子
Ryan: thanks that is exactly what I needed.