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
// Change this to the section number you need!$section_id = 65;// Get requested section for requested page$query_sections = $database->query("SELECT section_id,module FROM ".TABLE_PREFIX."sections WHERE section_id = '$section_id' ");// Make sure there is oneif($query_sections->numRows() > 0) { $section = $query_sections->fetchRow(); $section_id = $section['section_id']; $module = $section['module']; require(WB_PATH.'/modules/'.$module.'/view.php');}
<?php// Change to the number you need!$section_id = 65;// Get requested section for requested page$query_sections = $database->query("SELECT section_id,module FROM ".TABLE_PREFIX."sections WHERE section_id = '$section_id' ");// Make sure there is oneif($query_sections->numRows() > 0) { $section = $query_sections->fetchRow(); $section_id = $section['section_id']; $module = $section['module']; require(WB_PATH.'/modules/'.$module.'/view.php');} ?>