How to access Meta Tags Description under SEO in Page Configuration?How to access Meta Tags Description under SEO in Page Configuration?https://liferay.dev/en/c/message_boards/find_thread?p_l_id=119785333&threadId=1187730872024-03-28T16:09:19Z2024-03-28T16:09:19ZRE: How to access Meta Tags Description under SEO in Page Configuration?Daniw Plaridel Santiagohttps://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=1189137112020-04-13T02:39:39Z2020-04-13T02:39:39ZGot it Mohammed! Thanks a bunch! Hope you and your loved ones are doing okay amidst this pandemic.<br />Thanks again,<br />- DaniwDaniw Plaridel Santiago2020-04-13T02:39:39ZRE: How to access Meta Tags Description under SEO in Page Configuration?Mohammed Yasinhttps://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=1188237072020-03-30T07:06:49Z2020-03-30T07:06:49ZHi,You may need to bind the content to id of anchor tag , as all the anchor tags might have .card-TI-A class , its taking last content .Mohammed Yasin2020-03-30T07:06:49ZRE: How to access Meta Tags Description under SEO in Page Configuration?Daniw Plaridel Santiagohttps://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=1188184532020-03-29T08:04:03Z2020-03-29T08:04:03ZHello Mohammed and Olaf! Thank you very much for taking the time to respond, you guys are awesome!<br /><br />Still having a little trouble though:<br />It seems that only the description for the last navItem is appearing on All navItems? Is there something I should do to properly iterate all the descriptions of each page?<br /><br />Here is what I did (as mentioned, I am planning to turn the descriptions into tooltips for when a visitor hovers to the nav item):Daniw Plaridel Santiago2020-03-29T08:04:03ZRE: How to access Meta Tags Description under SEO in Page Configuration?Olaf Kockhttps://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=1187757932020-03-20T09:41:24Z2020-03-20T09:41:24Z<div class="quote-title">Daniw Plaridel Santiago:</div><blockquote><br />I am currently writing an ADT for a Navigation Menu portlet. I was wondering if I could access the Meta Tags Description under the SEO Options of each of the pages so that I could include it in the design of my menu (like a tooltip on hover)?<br /></blockquote><br />Mohammed beat me to it. Here's some extra information: Freemarker is backed by Java objects - so typically with .getClass().getName() you can (temporarily) output the fully qualified Java classname. With that, you can look for the interface, e.g. <a href="https://docs.liferay.com/dxp/portal/7.2-latest/javadocs/portal-kernel/com/liferay/portal/kernel/model/Layout.html">https://docs.liferay.com/dxp/portal/7.2-latest/javadocs/portal-kernel/com/liferay/portal/kernel/model/Layout.html</a> and explore your options from there.Olaf Kock2020-03-20T09:41:24ZRE: How to access Meta Tags Description under SEO in Page Configuration?Mohammed Yasinhttps://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=1187754682020-03-20T09:33:53Z2020-03-20T09:33:53Z<html><head></head><body>Hi,You can access meta tags description using below code in ADT of Navigation Menu<pre><code>&lt;#if entries?has_content&gt;
&lt;#list entries as navItem&gt;&nbsp;
${navItem.getLayout().getDescription(locale)}&nbsp;
<!--#list-->&nbsp;
<!--#if-->
</code></pre></body></html>Mohammed Yasin2020-03-20T09:33:53ZHow to access Meta Tags Description under SEO in Page Configuration?Daniw Plaridel Santiagohttps://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=1187730862020-03-20T09:03:07Z2020-03-20T09:03:07ZHello err'one, newbie here,<br />I am currently writing an ADT for a Navigation Menu portlet. I was wondering if I could access the Meta Tags Description under the SEO Options of each of the pages so that I could include it in the design of my menu