MLE and Recently_updated Tag

This is a FORK of the CMS Made Simple project and is not oficially supported in any way by the CMS Made Simple development team.
Locked
Amancham

MLE and Recently_updated Tag

Post by Amancham »

Short question and maybe I'm just too stupid ...

I wanted to use the "Recently_updated" tag on an MLE website with two languages (English and German).  It spits out a list alright, but there's no titles in the list. So what I get is like this:

Recently updated pages

    *
      Last changes: 19.03.09
    * Home
      Home Page, shortcut key=1
      Last changes: 18.03.09
    *
      Last changes: 18.03.09
    *
      Home Page, shortcut key=1
      Last changes: 18.03.09
    *
      Last changes: 12.03.09

Home is the only one where it actually gets a title for the page. Everything else is empty and the tag is of no use like this. :(

I'm guessing it's something like the statistics module which also didn't get the titles or menunames or anything on an MLE-Installation for most viewed pages and such.

Is there a fix for this tag so I can use it on an MLE installation?

Link to look at it: http://www.intayale.de/forge/cmsms/index.php/en_US/home
left  side the last box would be the recently_updated tag in use.

Help would be appreciated.
alby

Re: MLE and Recently_updated Tag

Post by alby »

Amancham wrote: I wanted to use the "Recently_updated" tag on an MLE website with two languages (English and German).  It spits out a list alright, but there's no titles in the list. So what I get is like this:
This is UNTESTED and please report if work or not

Apply this patch (this should work even with extended MLE)

Alby
Amancham

Re: MLE and Recently_updated Tag

Post by Amancham »

don't know if you want me to report back here or in your fix post... I just changed the function.recently_updated.php

on refreshing the website, this is what I get:

Parse error: syntax error, unexpected T_GLOBAL in /var/www/web1009/html/forge/cmsms/plugins/function.recently_updated.php on line 73
alby

Re: MLE and Recently_updated Tag

Post by alby »

Amancham wrote: don't know if you want me to report back here or in your fix post... I just changed the function.recently_updated.php

on refreshing the website, this is what I get:

Parse error: syntax error, unexpected T_GLOBAL in /var/www/web1009/html/forge/cmsms/plugins/function.recently_updated.php on line 73
I have tested with {recently_updated showtitle=1} and works

EDIT: doubt? you've added the + also?

Alby
Last edited by alby on Fri Mar 20, 2009 5:06 pm, edited 1 time in total.
Amancham

Re: MLE and Recently_updated Tag

Post by Amancham »

Awwww! I'm sorry!
Shouldn't do stuff like this while fighting a stomach bug ... I just forgot to delete all the + in the beginning of the lines.  Works perfeclty now. Deeply sorry. I'm not quite okay  at the moment.  Seems like my mind is working really slow today. :(

Thanks for the fix!
Locked

Return to “[locked] CMSMS MLE fork”