// -------------------- // Snippet: PermaLink // -------------------- // Version: 1.0 // Date: 2005.06.25 // [email protected] // // This snippet was designed to show the // link for the current page. // // *********************************** // END CONFIG SETTINGS // THE REST SHOULD TAKE CARE OF ITSELF // *********************************** $PermaLink = '<a href="[~'.$modx->documentObject["id"].'~]" rel="bookmark" title="Permanent Link to '.$modx->documentObject["pagetitle"].'">'.$modx->documentObject["pagetitle"].'</a>'; return ($PermaLink);