Developer
Supported
Sitemap Module
ExpressionEngine 2, ExpressionEngine 3, ExpressionEngine 4, ExpressionEngine 5, ExpressionEngine 6
Back to this add-on's main page
View Other Add-ons From PutYourLightsOn
Rendered sitemap not listing some entries
Support (Resolved)
erbert
|
Posted: 06 October 2015 10:19 AM |
|
|
|
I’ve just set up sitemap and it seems to work as expected.
On the site in question there are a lot of entries to one channel which are regularly added to (approx. 500). When this channel is outputted on the rendered sitemap, only 3 of these entries show, I was expecting them to all be listed?
|
|
|
PutYourLightsOn
|
Posted: 06 October 2015 10:46 AM |
# 1
|
|
Developer
|
Anything particular about the entires that show? Are the other entries of a different status? Or expired? Or future-dated?
|
|
|
erbert
|
Posted: 06 October 2015 10:53 AM |
# 2
|
|
|
The entires which I need to display are in fact all future entries. Is there a setting for that?
|
|
|
PutYourLightsOn
|
Posted: 06 October 2015 11:16 AM |
# 3
|
|
Developer
|
Not at present, no. We’ll consider this for a future release though.
If you want to hack this in to your copy, you can simply comment out lines 263-267 of mod.sitemap.php:
// if future entry date then don't include /* Commenting this out to allow future entries if ($entry->entry_date && $entry->entry_date > time()) { continue; } */
|
|
|
erbert
|
Posted: 06 October 2015 11:23 AM |
# 4
|
|
|
Excellent. Thank you very much. That’s done the trick!
|
|
|