freemarker - Liferay Sitemap: Filter List of Layouts by SEO Settings -


as know, there sitemap-portlet in liferay can bring form using freemarker-template in portlet-configuration.

now in normal liferay page under "seo settings" can decide whether include page sitemap or not.

if don't include it, gets removed actual sitemap (/sitemap.xml) still shown in portlet.

is there way access these "seo settings" (from freemarker code) somehow filter setting?

thanks in advance!

nevermind, found out when looking liferay database table 'layout'. there column typesettings contained 'sitemap-include=1', checked using layout.gettypesettingsproperty("sitemap-include").


Comments

Popular posts from this blog

javascript - jQuery: Add class depending on URL in the best way -

caching - How to check if a url path exists in the service worker cache -

Redirect to a HTTPS version using .htaccess -