Warning: Declaration of LJXP_Walker_Category_Checklist::start_lvl(&$output, $depth, $args) should be compatible with Walker::start_lvl(&$output, $depth = 0, $args = Array) in /var/www/u3357911/data/www/karta39.ru/blog/wp-content/plugins/lj-xp/lj-xp-options.php on line 771

Warning: Declaration of LJXP_Walker_Category_Checklist::end_lvl(&$output, $depth, $args) should be compatible with Walker::end_lvl(&$output, $depth = 0, $args = Array) in /var/www/u3357911/data/www/karta39.ru/blog/wp-content/plugins/lj-xp/lj-xp-options.php on line 776

Warning: Declaration of LJXP_Walker_Category_Checklist::start_el(&$output, $category, $depth, $args) should be compatible with Walker::start_el(&$output, $object, $depth = 0, $args = Array, $current_object_id = 0) in /var/www/u3357911/data/www/karta39.ru/blog/wp-content/plugins/lj-xp/lj-xp-options.php on line 781

Warning: Declaration of LJXP_Walker_Category_Checklist::end_el(&$output, $category, $depth, $args) should be compatible with Walker::end_el(&$output, $object, $depth = 0, $args = Array) in /var/www/u3357911/data/www/karta39.ru/blog/wp-content/plugins/lj-xp/lj-xp-options.php on line 793

Warning: Use of undefined constant odnaknopka - assumed 'odnaknopka' (this will throw an Error in a future version of PHP) in /var/www/u3357911/data/www/karta39.ru/blog/wp-content/plugins/odnaknopka/ok2.php on line 11

Warning: Use of undefined constant ddsg_language - assumed 'ddsg_language' (this will throw an Error in a future version of PHP) in /var/www/u3357911/data/www/karta39.ru/blog/wp-content/plugins/sitemap-generator/sitemap-generator.php on line 44
Blog » Поиск в LiveStreet 0.3.1
Главная > разработка > Поиск в LiveStreet 0.3.1

Поиск в LiveStreet 0.3.1


Т.к. вопросы по добавлению родного поиска для LS, поднятого темой которую я начал здесь продолжают возникать — выкладываю последнюю сборку :)

файлы для добавления родного поиска для LS 0.3.1 можно скачать здесь:
http://karta39.ru/blog/wp-content/uploads/2009/05/ls-search-031.zip

единственная доработка, которая потребуется:
в файле templates\skin\new\header.tpl
после строчки

нужно добавить строчку

— это нужно чтобы подключить файл my.js в котором содержится функция

function submitSearch(sText) {
window.location=DIR_WEB_ROOT+'/search/?searchfor='+sText;
return false;
}

впрочем, эту функцию можно перенести в ActionSearch\index.tpl

Пример работы всегда можно посмотреть на idea2.ru :)
Успехов!

  1. Пока что нет комментариев.
Необходимо войти на сайт, чтобы написать комментарий.