• twitter image
  • facebook image
  • youtube image
  • linkedin image
Language: CMS Made Simple Czech CMS Made Simple France CMS Made Simple Hungary CMS Made Simple Russia CMS Made Simple Netherlands

All times are UTC




Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 
Author Message
 Post subject: Patch for recently_updated plugin
PostPosted: Fri Mar 20, 2009 9:58 am 
Offline
Support Guru
Support Guru
User avatar

Joined: Mon Jul 04, 2005 5:12 pm
Posts: 4809
Location: Ferrara, Italy
Apply this patch or add +rows

Quote:
--- 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

    _________________
    Former Italian Admin and Moderator
    Multilingual: MLE is not CMSMS


    Top
      Profile  
     
    Share On:
    Share on Facebook Share on Twitter Share on Google+
     Post subject: Re: Patch for recently_updated plugin
    PostPosted: Sun Apr 12, 2009 4:43 pm 
    Offline
    Support Guru
    Support Guru
    User avatar

    Joined: Mon Jul 04, 2005 5:12 pm
    Posts: 4809
    Location: Ferrara, Italy
    This is in 1.5.4 release

    Alby

    _________________
    Former Italian Admin and Moderator
    Multilingual: MLE is not CMSMS


    Top
      Profile  
     
    Share On:
    Share on Facebook Share on Twitter Share on Google+
    Display posts from previous:  Sort by  
    Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 

    All times are UTC


    Who is online

    Users browsing this forum: No registered users


    You cannot post new topics in this forum
    You cannot reply to topics in this forum
    You cannot edit your posts in this forum
    You cannot delete your posts in this forum
    You cannot post attachments in this forum

    Search for:
    Jump to:  
    A2 Hosting