Page 1 of 1

Neues Plugin lastmodfied

Posted: Mon Oct 31, 2005 2:29 pm
by Piratos
http://piratossmarty.pi.funpic.de/funct ... dified.zip

Ich habe hier im eglischen Forum aufgeschnappt, dass da ein keiner Bedarf besteht, das Datum der letzten Modifizierung einer Seite darzustellen.

Ich hatte ja bereits ein ähnliches kleines Plugin aber dieses ist besser.

Es erzeigt nur Smartyvariablen, so das man gestalten kann wie man will.
What does this do?

Creates Smarty - Data with information about the User and the Date of last modified the page you see.
How do I use it?

Just insert the tag into Template after content like: {lastmodified}

You can use the Smartyvariables as follow:
{$username} - the name of the user
{$first_name}- the first name of the user
{$last_name} - the last name of the user
{$email} - the email of the user
{$modified_date} - the last date, you can format it with smarty - controls
Examples:
{$modified_date|date_format}
{$modified_date|date_format:"%A, %B %e, %Y"}
{$modified_date|date_format:"%H:%M:%S"}
The rules are like strftime formatting. You can all use.