Adding ListIt2/ListItExtended items to Sitemap w/ SitemapMS
Posted: Wed Feb 20, 2013 9:34 am
I'm looking to add ListIt2 items to my sitemap using SitemapMadeSimple and figured it would be quite easy - I've got rules in there currently that add CGCalendar events, CGBlog articles and News articles.
I tried something as simple as this:
But there seems to be a PHP error being generated and I get a white screen with a couple of the admin menu items in text on it. Hitting back and removing that entry makes it work again.
ListIt2FAQs is, of course, the duplicate in this instance.
I can't think why this would be causing an error unless I'm missing something simple?
In case it helps I'm using
CMSMS 1.11.4
ListIt2 1.3.2
SitemapMadeSimple 1.2.7
I tried something as simple as this:
Code: Select all
{capture assign='junk'}{ListIt2FAQs}{/capture}
{foreach from=$items item='entry'}
<url>
<loc>{$entry->url}</loc>
</url>
{/foreach}
ListIt2FAQs is, of course, the duplicate in this instance.
I can't think why this would be causing an error unless I'm missing something simple?
In case it helps I'm using
CMSMS 1.11.4
ListIt2 1.3.2
SitemapMadeSimple 1.2.7