#import "/ccm-core/user-banner.ftl" as UserBanner>
<#import "/language.ftl" as Language>
<#import "/utils.ftl" as Utils>
<#import "/ccm-cms/pages.ftl" as Pages>
<#import "/ccm-navigation/navigation.ftl" as Navigation>
- UserBanner.getGreeting
- ${UserBanner.getGreeting()}
- UserBanner.isLoggedIn
- ${UserBanner.isLoggedIn()?c}
- UserBanner.isAuthenticated
- ${UserBanner.isAuthenticated()?c}
- UserBanner.isNotLoggedIn
- ${UserBanner.isNotLoggedIn()?c}
- UserBanner.isNotAuthenticated
- ${UserBanner.isNotAuthenticated()?c}
- UserBanner.getChangePasswordUrl
- ${UserBanner.getChangePasswordUrl()}
- UserBanner.getLoginLink
- ${UserBanner.getLoginLink()}
- UserBanner.getLogoutLink
- ${UserBanner.getLogoutLink()}
- UserBanner.getScreenName
- ${UserBanner.getScreenName()}
- UserBanner.getUserGivenName
- ${UserBanner.getUserGivenName()}
- UserBanner.getUserFamilyName
- ${UserBanner.getUserFamilyName()}
- Language.getSupportedLanguages
-
<#list Language.getSupportedLanguages()>
<#items as lang>
- ${lang}
#items>
<#else>
No supported languages
#list>
- Language.getSupportedLanguages
-
<#list Language.getAvailableLanguages()>
<#items as lang>
- ${lang}
#items>
<#else>
No languages available
#list>
utils.ftl as Utils
- Utils.getPageApplication()
- ${Utils.getPageApplication()}
- Utils.getPageTitle()
- ${Utils.getPageTitle()}
- Utils.getSiteHostName()
- ${Utils.getSiteHostName()}
- Utils.getSiteHDomain()
- ${Utils.getSiteDomain()}
- Utils.getSiteName()
- ${Utils.getSiteName()!""}
ccm-cms/pages.ftl as Pages
- Pages.getCategoryPath()
-
Path length: ${Pages.getCategoryPath()?size}
<#list Pages.getCategoryPath()>
<#items as cat>
-
- Name
- ${cat.categoryName}
- Title
- ${cat.categoryTitle!""}
#items>
#list>
- Pages.getPagePath()
-
Path length: ${Pages.getPagePath()?size}
<#list Pages.getPagePath()>
<#items as cat>
-
- Name
- ${cat.categoryName}
- Title
- ${cat.categoryTitle!""}
#items>
#list>
- Pages.isRootPage()
- ${Pages.isRootPage()?c}
- Pages.getSelectedCategory()
-
<#if Pages.getSelectedCategory()??>
${Pages.getSelectedCategory().categoryName}
<#else>
No category selected.
#if>
- Pages.getSelectedCategoryId()
-
${Pages.getSelectedCategoryId()}
- Pages.getNavigationRootUrl()
${Pages.getNavigationRootUrl()}
- Pages.getCategoryHierarchy()
-
<#list Pages.getCategoryHierarchy()>
<#items as cat>
-
${cat.categoryId}:${cat.categoryName}
#items>
<#else>
No categories in hierarchy.
#list>
- Pages.getIndexItem()
-
<#assign indexItem = Pages.getIndexItem()>
<#if (indexItem?keys?size > 0)>
${indexItem.uuid}:${indexItem.name}:${indexItem.title}
<#else>
No index item
#if>
ccm-navigation/navigation.ftl as Navigation
Note: Deprecated, replaced by ccm-cms/pages.ftl
- Navigation.getCategoryPath
-
Path length: ${Navigation.getCategoryPath()?size}
<#list Navigation.getCategoryPath()>
<#items as cat>
-
- Name
- ${cat.categoryName}
- Title
- ${cat.categoryTitle!""}
#items>
#list>