Show date modified on Last Changes module Posted by akantro 12 Jan 2007 15:17 UTC is there any way to show the date modified when showing the latest WIKI modified pages module (mod-last_modif_pages) ? thks, ak
Posted by Rick Sapir / Tiki for Smarties 12 Jan 2007 21:26 UTC 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
Posted by akantro 28 Jan 2007 22:02 UTC 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
Posted by Rick Sapir / Tiki for Smarties 29 Jan 2007 11:23 UTC You can change the long and short date formats on the General Admin page. See the docs for details. HTH, -Rick > 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 >