Message Boards

SiteMap ADT

Irina Russkaya, modified 4 Years ago.

SiteMap ADT

New Member Post: 1 Join Date: 1/30/20 Recent Posts
Hi,where ist the standard ADT for SiteMap Portlet?I could not find it in the control panel under configuration -- ADTs 
Also not on Github under liferay-portal/modules/apps/site-navigation/site-navigation-site-map-web 
Thank you!
thumbnail
Mohammed Yasin, modified 4 Years ago.

RE: SiteMap ADT

Liferay Master Posts: 591 Join Date: 8/8/14 Recent Posts
Hi,
It will be  under global  site -> ADT Section. You can refer below  Multi Column Layout
<#if entries?has_content>
    <@liferay_aui.row>
        <#list entries as entry>
            <#if layoutPermission.containsWithoutViewableGroup(permissionChecker, entry, "VIEW")>
                <@liferay_aui.col width=25>
&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;<div class="results-header">
&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;<h3>
&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;<a< code></a<></h3></div>
<code>&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&lt;#assign layoutType = entry.getLayoutType() /&gt; &lt;#if layoutType.isBrowsable()&gt; href="${portalUtil.getLayoutURL(entry, themeDisplay)}" <!--#if--> &gt;${entry.getName(locale)}   &lt;@displayPages depth=1 pages=entry.getChildren(permissionChecker) /&gt; <!--@liferay_aui.col--> <!--#if--> <!--#list--> <!--@liferay_aui.row--> <!--#if--> &lt;#macro displayPages depth pages &gt; &lt;#if pages?has_content &amp;&amp; ((depth &lt; displayDepth?number) || (displayDepth?number == 0))&gt; <ul class="child-pages"> &lt;#list pages as page&gt; <li> <a <#assign pageType="page.getLayoutType()"></a> &lt;#if pageType.isBrowsable()&gt; href="${portalUtil.getLayoutURL(page, themeDisplay)}" <!--#if--> &gt;${page.getName(locale)} &lt;@displayPages depth=depth + 1 pages=page.getChildren(permissionChecker) /&gt; </li> <!--#list--> </ul> <!--#if--> <!--#macro--></code>