taocean

If it's using http://Page.ss on SSP without populating with `http://SitemapPage.ss layout, like @muskie9 said, I'd suspect the sitemap template files aren't being picked up

taocean

@pn are the template files in templates/TractorCow/Sitemap2/SitemapEntry.ss and templates/TractorCow/Sitemap2/Layout/SitemapPage.ss relative to either your project or theme? /app/templates or /themes/theme_name/templates

muskie9

ya, we have it in and the PR for the renderWith() bug was merged

taocean

Could it be due to tractorcow/silverstripe-sitemap2 having a requirement of SS3.1 when it's being used on a SS4.2.1 site? If using this addon would still be fine, templates would need to be in the root template dir, wouldn't it? E.G. /app/templates/SitemapPage.php or /themes/theme_name/templates/SitemapPage.php

pn

@muskie9 - Seems to be - although I am not overriding any of the module's templates

muskie9

@pn, are your directories correct from a case sensative standpoint for your theme/templates? I think we had an issue with a small diff in how directory names are handled at one point

👍 (1)
pn

UAT page settings for the sitemap page