wmk

Fluents sitemap template is in templates/Wilr/GoogleSitemaps/Control/GoogleSitemapController_sitemap.ss , for some reason it doesn't seem to be picked

wmk

it should be the FQCN path; the orig file is in templates/Wilr/GoogleSitemaps/Control/GoogleSitemapController_sitemap.ss

wmk

for some reason the fluent sitemap template isn't choosen, which is a pity. Maybe it helps when you copy it to your project?

wmk

Though it should be fixed according to https://github.com/tractorcow-farm/silverstripe-fluent/issues/332

Show 1 attachment(s)
GitHub  
alternate language not working in ss4.0.1 · Issue #332 · tractorcow-farm/silverstripe-fluent

Using ss4.0.1 the template which adds the alternate language isn't used. The default from googlesitemaps module is used. Copying the code over to the googlesitemaps template is a workaround.

Hide attachment content
wmk

good catch. Just checked on a project and I see the same. Only main locale is in the sitemap

wmk

If you use the ORM the actual DB should be abstracted away... But then you also need to ask ORM how to sort randomly etc, as SQL might differ. But that all is Radio Eriwan... it depends

wmk

you can use sqlight, but IMHO the big speed improvement isn't that much after tests switched to transactions and rollback.

wmk

you can add the modifier, do you want to search by the exact date, or newer or older... Also: Created is a DateTime field, so searching for the "day" might be a bit more tricky