Hi!
I've been studying BxDolSearch (and its children BxDolSearchResult) and the Blogs module to display search result for my module.
It's almost working (among other things...). Actually the search is done correctly (verified by displaying the sql query and testing it in phpmyadmin) but it seems that my template is not displayed (even the static content does not appear).
At the end of the displaySearchUnit method, in my own class extending BxTemplSearchResultText, I have:
PHP Code:
$oMain = BxDolModule::getInstance('DagRcpModule');
$sCode = $oMain->_oTemplate->parseHtmlByName('recipe_unit.html', $aUnitReplace);
return $sCode;
(and a file called recipe_unit.html in my templates\base folder of my module.)
Do you have an idea of what could be wrong?
Thanks.