Keyword Search not in page builder

Keyword Search not in page builder

how can we edit or add column, HTML blocks, etc.

What file to edit ?

Quote · 18 Aug 2010

 

Keyword Search not in page builder

how can we edit or add column, HTML blocks, etc.

What file to edit ?

This page has not been added in page builder. Open the - searchKeyword.php and add you needed code in this code line :

$_page_cont[$_ni]['page_main_code'] = $sForm . $sSearchArea;

for eaxmple :

$_page_cont[$_ni]['page_main_code'] = $sForm . $sSearchArea .  DesignBoxContent(_t( "_My new block" ), 'BLock content' 1);

PS: If possible do not write me personally, please try to ask on the forum first
Quote · 18 Aug 2010

Thanks, it works fine.

In SearchKeyword.php

To be able to add a column with 2 boxes and keep the search and result in the same column I did this :

I replaced the code :

$sForm = getSearchForm();
$sSearchArea = '<div id="searchArea">'.$sCode.'</div>';
$_page_cont[$_ni]['page_main_code'] = $sForm . $sSearchArea;

By :

$jContent =
'<div id="page_column_1" class="page_column page_column_first" style="width: 77%;">'.
'<div class="page_block_container">'.
getSearchForm().
'</div>'.
'<div id="searchArea" class="page_block_container">'.
$sCode.
'</div>'.
'</div>'.
'<div id="page_column_2" class="page_column page_column_last" style="width: 23%;">'.
'<div class="page_block_container">'.
DesignBoxContent(_t(_LanguageKey), 'HTML CODE HERE', 1) .
'</div>'.
'<div class="page_block_container">'.
DesignBoxContent(_t(_LanguageKey), 'HTML CODE HERE', 1) .
'</div>'.
'</div>'

;

$_page_cont[$_ni]['page_main_code'] = $jContent ;

 

See the result (attached jpg)

result.jpg · 60.8K · 217 views
Quote · 18 Aug 2010

We are at 7.0.5 and there is still no pagebuilder for searchKeyword.php

Why is that ?

Quote · 12 Mar 2011

We are now at 7.1 and there is still no pagebuilder for searchKeyword.php.  simple search yes, but not keyword search.

Geeks, making the world a better place
Quote · 24 Nov 2012
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.