The question is very simple but regular incoming support.
In the search template by goods modules/shop/views/shop.view.show_search.php find the cycle of additional features:
Example:
foreach ($result["rows"] as $row)
{
//...
}
Features of the types of "select" and "select multiple" are displayed with the following lines:
Example:
case 'select':
case 'multiple':
echo '
<span class="input-title">'.$row["name"].':</span>';
foreach ($row["select_array"] as $key => $value)
{
echo '<input type="checkbox" id="shop_search_p'.$row["id"].'_'.$key.'" name="p'.$row["id"].'[]" value="'.$key.'"'.(in_array($key, $row["value"]) ? " checked" : '').'>
<label for="shop_search_p'.$row["id"].'_'.$key.'">'.$value.'</label>
<br>';
}
Replace the following code:
Example:
case 'select':
case 'multiple':
echo '
<span class="input-title">'.$row["name"].':</span>
<select name="p'.$row["id"].'[]">';
foreach ($row["select_array"] as $key => $value)
{
echo '<option value="'.$key.'"'.(in_array($key, $row["value"]) ? " selected" : '').'>'.$value.'</option>';
}
echo '</select>';
An example can be applied to "Ads" module.
Methods with the same name as their class will not be constructors in a future version of PHP; Markdown_Parser has a deprecated constructor #1 include_once() called at [/var/www/diafan/data/www/diafancms.com/modules/docs/docs.model.php:499] #2 Docs_model->prepare_text( The question is very simple but regular incoming support. In the search template by goods *modules/shop/views/shop.view.show_search.php* find the cycle of additional features: ---example--- forea...) called at [/var/www/diafan/data/www/diafancms.com/modules/docs/docs.model.php:94] #3 Docs_model->show() called at [/var/www/diafan/data/www/diafancms.com/modules/docs/docs.php:29] #4 Docs->init() called at [/var/www/diafan/data/www/diafancms.com/includes/init.php:474] #5 Init->module() called at [/var/www/diafan/data/www/diafancms.com/includes/init.php:119] #6 Init->start() called at [/var/www/diafan/data/www/diafancms.com/index.php:62] | /var/www/diafan/data/www/diafancms.com/modules/docs/docs.model.php:499 |