Page 1 of 1

Creating content page for sitemap using SitemapMgr

Posted: Sun Feb 14, 2021 11:16 pm
by mdsebans
Hi Team,
I was successfully able to create a sitemap using SitemapMgr, just checking to see if I can display the links in the sitemap in one of my templates just like people do it on Wordpress websites? Basically just making sitemap easy to read?

Re: Creating content page for sitemap using SitemapMgr

Posted: Sun Feb 14, 2021 11:17 pm
by DIGI3
You can use Navigator for that - sitemap manager is specifically for the search engine sitemaps, not the human-readable ones as far as I know.

Re: Creating content page for sitemap using SitemapMgr

Posted: Sun Feb 14, 2021 11:21 pm
by mdsebans
Thanks for the reply, that makes sense.
But will the navigator show the pages from News or LISE instances? Are there any solutions for that?

Re: Creating content page for sitemap using SitemapMgr

Posted: Mon Feb 15, 2021 12:46 am
by DIGI3
I think CGSmartNav might let you do that but I'm not familiar with it. If you're okay with them being somewhat separated, perhaps after a heading, you could just call a lise and news template separately. If you want it part of the hierarchy then you'd call them from within your Navigator template at the appropriate place (e.g. {if $node->alias == 'news'}{News template='foo'}{else}regular nav item{/if}. Just make News and LISE templates that output the appropriate <li>[link]</li> stuff as needed.