Neues Plugin lastmodfied

Hilfe zu Modulen und Tags
Post Reply
Piratos

Neues Plugin lastmodfied

Post 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.
Post Reply

Return to “Module und Tags”