From 4f6111f7eec71cf4fc1b0eff85c0552aef114592 Mon Sep 17 00:00:00 2001 From: ClaraFlo2 Date: Wed, 15 Oct 2025 15:41:32 +0200 Subject: [PATCH] LUT-30951 : Add freemarker bookmark for new pluginmenus custom menus --- .../templates/skin/site/page_frameset.html | 17 ++++++++++++++++- .../templates/skin/site/page_header_home.html | 6 +++++- .../skin/site/page_header_internal.html | 6 +++++- 3 files changed, 26 insertions(+), 3 deletions(-) diff --git a/webapp/WEB-INF/templates/skin/site/page_frameset.html b/webapp/WEB-INF/templates/skin/site/page_frameset.html index 7504b34b2f..60d2211ca5 100644 --- a/webapp/WEB-INF/templates/skin/site/page_frameset.html +++ b/webapp/WEB-INF/templates/skin/site/page_frameset.html @@ -64,10 +64,25 @@ @Extender[${page_id},PAGE,rating,{show:"all"}]@ @Extender[${page_id},PAGE,actionbar]@ -
+
+
+<#if customMenuSideBar??> + ${customMenuSideBar} +
+ +
+ ${page_content} + <#if display_last_modified?? && display_last_modified >

#i18n{portal.site.site_property.page.lastModified} ${last_modified!}

+
+
+<#else> +
${page_content} <#if display_last_modified?? && display_last_modified >

#i18n{portal.site.site_property.page.lastModified} ${last_modified!}

+ +
+
<#if page_id?? && isExtendInstalled?? && isExtendInstalled> @Extender[${page_id},PAGE,comment]@ diff --git a/webapp/WEB-INF/templates/skin/site/page_header_home.html b/webapp/WEB-INF/templates/skin/site/page_header_home.html index dc0fd64b9b..332ff3582a 100644 --- a/webapp/WEB-INF/templates/skin/site/page_header_home.html +++ b/webapp/WEB-INF/templates/skin/site/page_header_home.html @@ -15,6 +15,9 @@ + <#if customMenuMainPage??> + ${customMenuMainPage} + <#else> <#assign menu=page_main_menu> ${page_main_menu_html!menu} + + ${pageinclude_userlogin?default("")}
diff --git a/webapp/WEB-INF/templates/skin/site/page_header_internal.html b/webapp/WEB-INF/templates/skin/site/page_header_internal.html index dc0fd64b9b..957d17dc34 100644 --- a/webapp/WEB-INF/templates/skin/site/page_header_internal.html +++ b/webapp/WEB-INF/templates/skin/site/page_header_internal.html @@ -15,7 +15,10 @@ - <#assign menu=page_main_menu> + <#if (customMenuInternalPage??)||(customMenuMainPage??)> + ${customMenuInternalPage!customMenuMainPage} + <#else> + <#assign menu=page_main_menu/> ${page_main_menu_html!menu} + ${pageinclude_userlogin?default("")}