Comment to Page Title Placeholder
-
You may try to add the code of the page.php file directly to searchKeyword.php. Just change this part:
require_once("./page.php");
to those:
$oPage = BxDolPage::getObjectInstanceByURI('', false, true);
if ($oPage) {
$oPage->displayPage();
} else {
$oTemplate = BxDolTemplate::getInstance();
$oTemplate->displayPageNotFound();
}
Then before the $oPage->displayPage(); add the parsing of the GET / POST argument about modules and keyword and then pass it to the template class. It will look like:
if ($oPage) {
// your parsing code here
$oTemplate = BxDolTemplate::getInstance();
$oTemplate->setPageHeader(given new page header);
$oPage->displayPage($oTemplate);
}