CMS MADE SIMPLE FORGE

SiteMapMadeSimple

 

[#11489] {$page->date} is empty after updating to CMSMS 2.2.2.

avatar
Created By: Steve B (stv)
Date Submitted: Fri Jul 14 08:46:38 -0400 2017

Assigned To: Robert Campbell (calguy1000)
Version: 1.2.8
CMSMS Version: 2.2.2
Severity: Major
Resolution: None
State: Closed
Summary:
{$page->date} is empty after updating to CMSMS 2.2.2.
Detailed Description:
{$page->date} returns empty after updating to CMSMS 2.2.2.


History

Comments
avatar
Date: 2018-12-30 07:55
Posted By: Jean-Claude Etiemble (jce76350)

Confirmed on last rev SiteMapMadeSimple 2.0.1  On: 2018-12-09 18:09

sitemap.xml =
<url>
  <loc>http:/...n</loc>
  <lastmod></lastmod>
  <priority>0.7</priority>
  <changefreq>hourly</changefreq>
</url>

problem from SiteMapMadeSimple.module.php line 110

$obj->date = trim($db->DbTimeStamp($mdate),"'"); //  bug ;)

so I think the correction will be $obj->date = ($mdate); 
and thee sitemap.xml = 
<url>
  <loc>http://...</loc>
  <lastmod>2018-12-30</lastmod>
  <priority>0.7</priority>
  <changefreq>hourly</changefreq>
</url>

      
avatar
Date: 2018-12-31 03:17
Posted By: Jean-Claude Etiemble (jce76350)


solved in version 2.0.2 Released On: 2018-12-30 but you have to delete line 110
(die...) which displays a page with the date and blocks the module ;)
      
Updates

Updated: 2019-02-13 15:16
resolution_id: => 5
state: Open => Closed