WebsiteBaker Community Forum (upd)

WebsiteBaker Support (2.8.x) => Droplets & Snippets => Topic started by: Pastor-a on April 09, 2009, 06:13:36 AM

Title: the new function: get_modified_when()
Post by: Pastor-a on April 09, 2009, 06:13:36 AM
I added this to my addons.  Unfortunately it only shows in German on the page.  How do I get it to show the particulars in English please  :-)

Thanks for your assistance

Always yours in His service,
Andrew
New Hope Ministries - www.newhope.org.au
Title: Re: the new function: get_modified_when()
Post by: doc on April 09, 2009, 07:25:22 AM
Hi,

this code snippet does not have multilingual support. If you only need the text output in Englisch, you need to modifiy the hardcoded text outputs in /modules/last_update_info/include.php. This could be done with the Addon File Editor (http://addons.websitebaker.org/pages/modules/admin-tools.php) for example.


Echo "Seite zuletzt geändert am: ".date("d.m.Y, H:i",$mod_details[0])."  von ".$nameresult[0];


Doc
Title: Re: the new function: get_modified_when()
Post by: BlackTiger on April 09, 2009, 12:00:43 PM
Hi Andrew,

alternatively you can use the Droplet ModifiedWhen (http://www.websitebakers.com/pages/droplets/official-library/information/last-modified.php).

regards
Michael