Hi, I installed a module where I can create a PHP block and insert it on any page... how can I find the PHP code for "People Search" and for "Keyword Search" ?
Thanks
Naser
Hi, I installed a module where I can create a PHP block and insert it on any page... how can I find the PHP code for "People Search" and for "Keyword Search" ? Thanks Naser |
Site's search PHP code: echo $GLOBALS['oFunctions']->genSiteSearch(); Rules → http://www.boonex.com/terms |
People's search PHP code: bx_import('BxDolProfileFields'); $oPF = new BxDolProfileFields(9); // 9 - simple search, 10 - quick search, 11 - advanced search echo $oPF->getFormCode(); Rules → http://www.boonex.com/terms |