Шаблон Veronika

ребят как убрать ограничение на минимальное количество символов в тайтле?
уже вроде все просмотрел, а он только 5 дает
 
Привет дурзя при активаций шаблона выдаёт такой ошыбку
Fatal error: Call to undefined method AdminMenu::add_submenu_divider() in K:\home\b.az\www\oc-content\themes\veronika\functions.php on line 1431
 
ребят как убрать ограничение на минимальное количество символов в тайтле?
уже вроде все просмотрел, а он только 5 дает

in item-post.php & item-edit.php

// Code for form validation
$("form[name=item]").validate({
rules: {
"title[<?php echo osc_current_user_locale(); ?>]": {
required: true,
minlength: 5
},
 
Здравствуйте Veronica 1.1.8 ?

Кто-нибудь знает, как настроить Highlighting в теме Veronica?

Setting highlighting

Need small modifictions of theme files. Need add 2 id with functions in search files.
For premium items id="<?php if(function_exists('upayments_premium_get_class_color')){echo upayments_premium_get_class_color(osc_premium_id());}?>" .
For items id="<?php if(function_exists('upayments_get_class_color')){echo upayments_get_class_color(osc_item_id());}?>"
We selected color ads will be shown - id = "colorized", normal - id = "normal" and add to the stylesheet template color: #colorized {background:#F0E68C!important;} . Color of course you can change as you need.
Example, the template Bender:
File loop-single.php - 2-line :
<li class = "listing-card <?php echo $class; if(osc_item_is_premium()){echo'premium';}?>" id="<?php if(function_exists('upayments_get_class_color')){echo upayments_get_class_color(osc_item_id());}?>">
File loop-single-premium.php :
<li class = "listing-card <?php echo $class; if(osc_item_is_premium()){echo'premium';}?>" id="<?php if(function_exists('upayments_premium_get_class_color')){echo upayments_premium_get_class_color(osc_premium_id());}?>">
and add the main.css #colorized{background:#F0E68C!important;}
Modified files for Modern and Bender(for examples) in /oc-content/plugins/ultimatePayments/examples.
 
Кто-нибудь знает, как настроить Highlighting в теме Veronica?

Setting highlighting

Need small modifictions of theme files. Need add 2 id with functions in search files.
For premium items id="<?php if(function_exists('upayments_premium_get_class_color')){echo upayments_premium_get_class_color(osc_premium_id());}?>" .
For items id="<?php if(function_exists('upayments_get_class_color')){echo upayments_get_class_color(osc_item_id());}?>"
We selected color ads will be shown - id = "colorized", normal - id = "normal" and add to the stylesheet template color: #colorized {background:#F0E68C!important;} . Color of course you can change as you need.
Example, the template Bender:
File loop-single.php - 2-line :
<li class = "listing-card <?php echo $class; if(osc_item_is_premium()){echo'premium';}?>" id="<?php if(function_exists('upayments_get_class_color')){echo upayments_get_class_color(osc_item_id());}?>">
File loop-single-premium.php :
<li class = "listing-card <?php echo $class; if(osc_item_is_premium()){echo'premium';}?>" id="<?php if(function_exists('upayments_premium_get_class_color')){echo upayments_premium_get_class_color(osc_premium_id());}?>">
and add the main.css #colorized{background:#F0E68C!important;}
Modified files for Modern and Bender(for examples) in /oc-content/plugins/ultimatePayments/examples.

Там все просто, найди нужный клас (показа обьявления) и добавь
id="<?php if(function_exists('upayments_get_class_color')){echo upayments_get_class_color(osc_item_id());}?>".........search_gallery,search_list,main - вот в етих файлах
 
Там все просто, найди нужный клас (показа обьявления) и добавь
id="<?php if(function_exists('upayments_get_class_color')){echo upayments_get_class_color(osc_item_id());}?>".........search_gallery,search_list,main - вот в етих файлах
Можете ли вы помочь мне с этим ? Я пришлю Ultimate Payments
если тебе надо.
.
 

Вложения

  • 20170227113401_790_veronika.zip
    3 MB · Просмотры: 198
Как поправить код в item-post.php
чтобы страна автоматом без выбора ставилась при подаче объявления, т.к. страна одна?
 
Последнее редактирование:
Можете ли вы помочь мне с этим ? Я пришлю Ultimate Payments
если тебе надо.
.


ок, вечером напишу

Как поправить код в item-post.php
чтобы страна автоматом без выбора ставилась?

В настройках есть вроде, у меня автоматом ставит
 
Последнее редактирование модератором:
Назад
Сверху