PDA

View Full Version : Delete Post



Errol
March 14, 2018, 09:57 PM
If country is set at default

Why not country be default in search dropdown for homepage and search page

278627872788

Rudi
March 15, 2018, 04:36 AM
Hello,

You can add it manually through the code,

go to ftp > templates > your template > tpl > blocks > fields_search.tpl, fields_search_horizontal.tpl, fields_search_box.tpl

find a row {elseif $field.Type == 'select'} > next find an {else} block inside

change:


{if isset($fVal.$fKey) && $fVal.$fKey == $key}selected="selected"{/if}


to:


{if (isset($fVal.$fKey) && $fVal.$fKey == $key) || ($field.Default == $key) || $option.Default}