掲示板

Get layout template name applied to page

10年前 に Jesse Paria によって更新されました。

Get layout template name applied to page

Junior Member 投稿: 69 参加年月日: 11/03/04 最新の投稿
Is it possible to get the layout template name that is applied to a particular page in velocity?
thumbnail
10年前 に Ryan Schuhler によって更新されました。

RE: Get layout template name applied to page (回答)

Junior Member 投稿: 77 参加年月日: 12/07/06 最新の投稿
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.
10年前 に Jesse Paria によって更新されました。

RE: Get layout template name applied to page

Junior Member 投稿: 69 参加年月日: 11/03/04 最新の投稿
Ryan: thanks that is exactly what I needed.