Loading...
 
Skip to main content

Features / Usability


Show date modified on Last Changes module

is there any way to show the date modified when showing the latest WIKI modified pages module (mod-last_modif_pages) ?

thks,
ak

Very easily. Actually, it is already there (when you mouseover the link) but to get it to display as part of the link:

  1. Edit your ../templates/modules/mod-last_modif_pages.tpl file.
  2. Find the text:
    {$modLastModif[ix].pageName|escape|truncate:$maxlen:"...":true}
    (aprox line 20).
  3. This is the line that displays the link text. Simply add the date variable to it:
    {$modLastModif[ix].pageName|escape|truncate:$maxlen:"...":true} on {$modLastModif[ix].lastModif|tiki_short_datetime}
  4. Repeat this on each line that displays the link title (aprox. lines 22, 28, and 30.


HTH,

-Rick

> is there any way to show the date modified when showing the latest WIKI modified pages module (mod-last_modif_pages) ?
>
> thks,
> ak

thanks . one followup questions. how can i change the date modified format from:

"Sun 28 of Jan, 2007 15:47"

to simply display

"1/28/07"


thks,
ak


> Very easily. Actually, it is already there (when you mouseover the link) but to get it to display as part of the link:
>
> #Edit your ../templates/modules/mod-last_modif_pages.tpl file.
> #Find the text:
{$modLastModif[ix].pageName|escape|truncate:$maxlen:"...":true}
(aprox line 20).
> #This is the line that displays the link text. Simply add the date variable to it:
{$modLastModif[ix].pageName|escape|truncate:$maxlen:"...":true} on {$modLastModif[ix].lastModif|tiki_short_datetime}
> #Repeat this on each line that displays the link title (aprox. lines 22, 28, and 30.
>
> HTH,
>
> -Rick
>
> > is there any way to show the date modified when showing the latest WIKI modified pages module (mod-last_modif_pages) ?
> >
> > thks,
> > ak

You can change the long and short date formats on the General Admin page. See the docsQuestion for details.

HTH,

-RickQuestion

> thanks . one followup questions. how can i change the date modified format from:
>
> "Sun 28 of Jan, 2007 15:47"
>
> to simply display
>
> "1/28/07"
>
>
> thks,
> ak
>