CMS MADE SIMPLE FORGE

SiteMapMadeSimple

 

[#5740] The static sitemap.xml is not immediately updated

avatar
Created By: Carsten Wiedmann (wiedmann)
Date Submitted: Tue Nov 23 16:42:18 -0500 2010

Assigned To:
Version: 1.2.2
CMSMS Version: None
Severity: Minor
Resolution: None
State: Open
Summary:
The static sitemap.xml is not immediately updated
Detailed Description:
The static sitemap.xml is not immediately updated (from the event) after adding
or deleting a content page, only after changing an existing content page.


History

Comments
avatar
Date: 2010-11-23 16:43
Posted By: Carsten Wiedmann (wiedmann)

---
Downloads/SiteMapMadeSimple-1.2.2/SiteMapMadeSimple/SiteMapMadeSimple.module.php
+++
public_html/cmsmadesimple-dev/modules/SiteMapMadeSimple/SiteMapMadeSimple.module.php
@@ -229,6 +220,7 @@
 
     $config =& $gCms->GetConfig();
     $contentops =& $gCms->GetContentOperations();
+    $contentops->SetAllHierarchyPositions();
     $allcontent = $contentops->GetAllContent(false);
 
     $priority_field = $this->GetPreference('priority_field','');

      
Updates

Updated: 2010-12-09 17:47
resolution_id: 11 => 5

Updated: 2010-11-23 16:43
resolution_id: => 11