Page 1 of 1

Patch for recently_updated plugin

Posted: Fri Mar 20, 2009 9:58 am
by alby
Apply this patch or add +rows
--- function.recently_updated.php       Tue May 20 22:09:35 2008
+++ function.recently_updated.php.mle   Fri Mar 20 10:55:03 2009
@@ -69,6 +69,11 @@
}
while ($dbresult && $updated_page = $dbresult->FetchRow())
{
+//START MLE
+global $mleblock;
+if(isset($updated_page['content_name'.$mleblock])) $updated_page['content_name'] = $updated_page['content_name'.$mleblock];
+if(! empty($updated_page['titleattribute'.$mleblock])) $updated_page['titleattribute'] = $updated_page['titleattribute'.$mleblock];
+//END MLE

     $curnode =& $hm->getNodeById($updated_page['content_id']);
     $curcontent =& $curnode->GetContent();
     $output .= '';
Alby

Re: Patch for recently_updated plugin

Posted: Sun Apr 12, 2009 4:43 pm
by alby
This is in 1.5.4 release

Alby