Last changes
Moderator: Tata
Last changes
Is there a way to make a visible list, e.g. in a newsbox, of the page’s who are new added ore changed?
Rob Zeijen,
Valkenswaard (NL)
Valkenswaard (NL)
Re: Last changes
„Bevor du den Pfeil der Wahrheit abschießt, tauche die Spitze in Honig!“ Ludwig's XH-Templates for MultiPage & OnePage
Re: Last changes
Have you tested utaka's Simpleplugins_XH -> recently_changed? I am not sure if it is still available somewhere. His page doesn't exist anymore.
It would maybe require only extending the "date of change" parameter.
Have a look here.
It would maybe require only extending the "date of change" parameter.
Have a look here.
You do not have the required permissions to view the files attached to this post.
CMSimple.sk
It's no shame to ask for an answer if all efforts failed.
But it's awful to ask without any effort to find the answer yourself.
It's no shame to ask for an answer if all efforts failed.
But it's awful to ask without any effort to find the answer yourself.
Re: Last changes
See also recently_changed Addon from cmb and olape: viewtopic.php?f=12&t=10543
„Bevor du den Pfeil der Wahrheit abschießt, tauche die Spitze in Honig!“ Ludwig's XH-Templates for MultiPage & OnePage
Re: Last changes
Tata wrote: ↑Mon Feb 08, 2021 8:31 pmRecently_changed is contained in simpleplugins_xh.
Actually, the code is almost the same.
@EDIT
I remember now a plugin Latest News from Jens (in late CMSimple times). It has shown short teasers of recently changed pages with the date of last change. But I can't find it anymore. I am looking after it. But it is years away...
Ich habe Jens Bröcher contacted (sofar no answer). I was wrong about the plugin name. It was Preview Navigator, though. And I tested it with one of earlier versions of CMSimple_XH. But canät find it anymore. Does somebody have it?
Christoph M. Becker – Plugins for CMSimple_XH
Re: Last changes
Rob Zeijen,
Valkenswaard (NL)
Valkenswaard (NL)
Re: Last changes
Well, the function recently_changed both as unserfunncs and simpleplugins_xh does the same reliably. However, a stylesheet would be nice and a more complex format would be good as well. E.g. something like:
Recently Changed
Page 1 - dd.mm.yyyy hh:mm:ss
Page 2 - dd.mm.yyyy hh:mm:ss
Page 3 - dd.mm.yyyy hh:mm:ss
There is the info in page_data()=array(...last_edit...) which can be easily used in
I just can't find how to set the exact page related value of the $last_update. The code above returns the same date (1970-01-01 01:00:00) for each changed page.
Recently Changed
Page 1 - dd.mm.yyyy hh:mm:ss
Page 2 - dd.mm.yyyy hh:mm:ss
Page 3 - dd.mm.yyyy hh:mm:ss
There is the info in page_data()=array(...last_edit...) which can be easily used in
Code: Select all
$html .= '<li>
<a href="' . "$sn?$u[$page]" . '">' . $h[$page] . '</a> ('.date("Y-m-d H:i:s", $last_update).')
</li>';
CMSimple.sk
It's no shame to ask for an answer if all efforts failed.
But it's awful to ask without any effort to find the answer yourself.
It's no shame to ask for an answer if all efforts failed.
But it's awful to ask without any effort to find the answer yourself.
Re: Last changes
Ich habe versucht die Funktion zum Plugin übertragen und es scheint zu funktionieren soweit.
Es ist ermöglicht bißchen stylen und die Liste entw. als ungeordnette oder geordnette Liste ausgeben.
Noch habe ich nocht geschafft das jeweilige Datum hinter dem Seitentitle zu geben.
Der Plugin wurde nur aus de Funktion (cmb) übertragen und sehr wenig und primitiv erweitert.
Es könnte wohl jemand meine Idee zum Effekt bringen (?).
Es ist ermöglicht bißchen stylen und die Liste entw. als ungeordnette oder geordnette Liste ausgeben.
Noch habe ich nocht geschafft das jeweilige Datum hinter dem Seitentitle zu geben.
Der Plugin wurde nur aus de Funktion (cmb) übertragen und sehr wenig und primitiv erweitert.
Es könnte wohl jemand meine Idee zum Effekt bringen (?).
You do not have the required permissions to view the files attached to this post.
CMSimple.sk
It's no shame to ask for an answer if all efforts failed.
But it's awful to ask without any effort to find the answer yourself.
It's no shame to ask for an answer if all efforts failed.
But it's awful to ask without any effort to find the answer yourself.
Re: Last changes
Tata,
I like the idea of the ordered list.
That's how it looks like. I've put the 2 versions in the right column.
https://www.beremooiehymers.nl
I like the idea of the ordered list.
That's how it looks like. I've put the 2 versions in the right column.
https://www.beremooiehymers.nl
Rob Zeijen,
Valkenswaard (NL)
Valkenswaard (NL)
Re: Last changes
There's not too much I've done. I have only created the backend and added some styling. The date of the recent change is still missing and I don't know, how to include it.
CMSimple.sk
It's no shame to ask for an answer if all efforts failed.
But it's awful to ask without any effort to find the answer yourself.
It's no shame to ask for an answer if all efforts failed.
But it's awful to ask without any effort to find the answer yourself.