Does anyone know how to create more blocks in browse pages?
Does anyone know how to create more blocks in browse pages? |
go to the page builder in administration select All Members from the list then add some HTML Block . just drag&drop them anywhere you like Always remember that the future comes one day at a time. |
I am looking to solve the exact same problem as innovati posted about. Why are there no browse pages in the template builder. Where are the browse templates? They must be created through some means.... |
I don't think there is a way, I tried for months and couldn't find a way to add more blocks to the browse pages. Can't even find it in phpmyadmin |
All of those pages are a presentation of search results using the various filters (popular, top, featured, etc). The same search functionality is used across multiple modules. The php file that does the work here is /templates/base/BxBaseSearchResult.php Multiple modules call this same file, and search results are displayed in a container specified in BxBaseSearchResult.php function displayResultBlock ()
{
$sCode = '';
$aData = $this->getSearchData();
if ($this->aCurrent['paginate']['totalNum'] > 0) {
$sCode .= $this->addCustomParts();
foreach ($aData as $aValue) {
$sCode .= $this->displaySearchUnit($aValue);
}
$sCode = '<div class="result_block">' . $sCode . '<div class="clear_both"></div></div>';
}
return $sCode;
}
All search results, are place in this container with the $sCode variable you see in the line of code highlighted in red above. All of the search result pages share this same code, and if you wanted to display additional blocks that were relevant to each module, then each module would need it's own isolated search functionality. That's not the way Dolphin was designed. To be able to put relevant blocks on a search result page with dynamically generated content would be quite a chore and would require a degree of customization that you probably wouldn't want to pay for. If you wanted to add some simple html code that would be common to ALL search result pages, then I suppose you could add something to that line in red above. To have something in page builders however, will take some work. For now, just think of it as a display of search results, rather than a "Page", and it'll give you less stress. My opinions expressed on this site, in no way represent those of Boonex or Boonex employees. |