WebsiteBaker 2.13.8 is now available!
R.I.P Dietmar (luisehahne) and thank you for all your valuable work for WBhttps://forum.websitebaker.org/index.php/topic,32355.0.html
global $database, $wb; $query=$database->query("SELECT link FROM ".TABLE_PREFIX."pages where page_id=".$id); $link=$query->fetchRow(); return "http://".$_SERVER['HTTP_HOST']."/pages".$link[0].".php";
$pid = $title "";return '<a href="[wblink'.$pid.']">'.$title.'</a>';
Code: [Select]global $database, $wb; $query=$database->query("SELECT link FROM ".TABLE_PREFIX."pages where page_id=".$id); $link=$query->fetchRow(); return "http://".$_SERVER['HTTP_HOST']."/pages".$link[0].".php";I have mad the Droplet that make it the link.I have sent it at Amasp.
Since WB 2.8.1 Rev.1292 from 2010-02-19 this Droplet is never needed.It's enough to place [wblink123] somewhere in in the template. WB will replace it with a valid internal link.
True, but wblink doesn't work in Bakery full descriptions or in show_menu2