Sterc / seosuite

This repository contains the SEOSuite 2.x MODX extra.
GNU General Public License v2.0
13 stars 18 forks source link

Can't uncheck “Include this page in the sitemap?” #97

Closed lottaar closed 1 year ago

lottaar commented 1 year ago

If I uncheck “Include this page in the sitemap?”, save the resource and then re-open the resource, it’s checked again. So there’s no way of excluding pages from the sitemap.

MODX 3.0.4-dev & SEO Suite 3.1.2.

halftrainedharry commented 1 year ago

The problem is probably caused by the changes in commit https://github.com/Sterc/seosuite/commit/9ab62243f77e83ac236a88cb576ea4af69d65cd6.

It seems that the POST parameter "seosuite_sitemap" is only sent, when the checkbox is checked. When the checkbox is unchecked, no parameter is sent and the value is reset to the default of 1.

lottaar commented 1 year ago

Good to know the cause. I hope a fix is released quickly so we can keep using the Extra, it's got some great functionality.