Sorry, this page is only available in one language


Suggested dropletname: SiteModifiedLink

Published by: rsmith

Modification of the SiteModified Droplet, SiteModifiedLink will display and link to the last modified public page
Create information and link to the last public page that was updated

global $database, $wb;
if (PAGE_ID>0) {
	$query=$database->query("SELECT modified_when, link,page_title FROM ".TABLE_PREFIX."pages where visibility='public' order by modified_when desc limit 1 ");
	return "<a href='".PAGES_DIRECTORY.$mod_details[1].PAGE_EXTENSION."'>Last Modified: ".$mod_details[2]." ".date("m/d/Y",$mod_details[0]). " at ".date("H:i",$mod_details[0])."</a>";



« Previous droplet | Overview | Next droplet »