Не работает поиск на сайте

(Ответов: 21, Просмотров: 4424)
Страница 1 из 3 123 Последняя
  1. Сам себе режиссер Аватар для Steel
    • Регистрация: 30.08.2011
    • Сообщений: 1,235
    • Репутация: 753
    Использовал несколько модулей поиска - не один не работает. Сейчас установлен RokAjaxSearch. Пробовал поиск от яндекса - тоже не ищет. Основная задача - адекватный поиск товара на сайте.

    Сайт в подписи. Joomla Версия 1.5.25 + Virtuemart 1.1.3
    • 0
  2. Опытный Аватар для archerl
    • Регистрация: 02.10.2011
    • Сообщений: 469
    • Записей в дневнике: 1
    • Репутация: 26
    • Webmoney BL: ?
    Попробуйте поискать плагины для виртуамарта
    http://seogram.ru - Продвижение сайтов с оплатой только за потенциальных клиентов.
    • 0
  3. Сам себе режиссер Аватар для Steel
    • Регистрация: 30.08.2011
    • Сообщений: 1,235
    • Репутация: 753
    archerl,
    Дело в том, что поиск не работает даже в пределах сайта без вирта. Например у меня есть меню "Доставка". При вводе "доставка" в строке поиска - пишет, что ни чего не найдено.
    • 0
  4. Сам себе режиссер Аватар для Steel
    • Регистрация: 30.08.2011
    • Сообщений: 1,235
    • Репутация: 753
    Установил скрипт поиска от Яндекса, все работает. Господа форумчане, без вас не обойтись. Нужно заменить серый цвет фона на прозрачный и немного поднять форму поиска вверх(на пару миллиметров), чтобы была по центру. Сайт в подписи.
    Вот скрипт:
    PHP код:
    <div class="yandexform" onclick="return {'bg': '#cccccc', 'language': 'ru', 'encoding': '', 'suggest': false, 'tld': 'ru', 'site_suggest': false, 'webopt': false, 'fontsize': 12, 'arrow': true, 'fg': '#000000', 'logo': 'rb', 'websearch': false, 'type': 2}"><form action="http://yandex.ru/sitesearch" method="get" target="_blank"><input type="hidden" name="searchid" value="1880539"/><input name="text"/><input type="submit" value="Найти"/></form></div><script type="text/javascript" src="http://site.yandex.net/load/form/1/form.js" charset="utf-8"></script> 
    • 0
  5. Гуру Аватар для En@n
    • Регистрация: 20.09.2007
    • Сообщений: 522
    • Репутация: 51
    А если убрать 'bg': '#cccccc'
    прозрачным не становится?
    • 0
  6. Сам себе режиссер Аватар для Steel
    • Регистрация: 30.08.2011
    • Сообщений: 1,235
    • Репутация: 753
    En@n,
    Неа, становится желтым(дефолтным).
    • 0
  7. Дипломник Аватар для valear
    • Регистрация: 15.01.2012
    • Сообщений: 179
    • Репутация: 39
    Steel,

    В style.css

    .yaform {
    background-color: none /*transparent*/;
    }

    Ну и поиграть с margin/padding

    Должно сработать.
    • 0
  8. Сам себе режиссер Аватар для Steel
    • Регистрация: 30.08.2011
    • Сообщений: 1,235
    • Репутация: 753
    valear,
    В каком style.css? Подробнее, пожалуйста.
    • 0
  9. Дипломник Аватар для valear
    • Регистрация: 15.01.2012
    • Сообщений: 179
    • Репутация: 39
    Steel, в корне сайта в папке templates есть Ваш шаблон gk_mystore, который Вы используете, а в нем - папка css. Сорри, на автомате прописал style.css, потому как работаю сейчас с WP, Ваш случай - это template.css, который находится в оной папке.

    Если работаете на Mozilla - то проще сразу юзать Firebug (или "инспектировать элемент" на Chrome) и просмотреть, какие стили у этого блока подгружаются по умолчанию.
    • 0
  10. Сам себе режиссер Аватар для Steel
    • Регистрация: 30.08.2011
    • Сообщений: 1,235
    • Репутация: 753
    valear,
    Вот template.css моего шаблона, нет там такого...
    PHP код:
    /*
    #------------------------------------------------------------------------
    # myStore - May 2010 (for Joomla 1.5)
    #
    # Copyright (C) 2007-2010 Gavick.com. All Rights Reserved.
    # License: Copyrighted Commercial Software
    # Website: http://www.gavick.com
    # Support: support@gavick.com   
    #------------------------------------------------------------------------ 
    # Based on T3 Framework
    #------------------------------------------------------------------------
    # Copyright (C) 2004-2009 J.O.O.M Solutions Co., Ltd. All Rights Reserved.
    # @license - GNU/GPL, http://www.gnu.org/copyleft/gpl.html
    # Author: J.O.O.M Solutions Co., Ltd
    # Websites: http://www.joomlart.com - http://www.joomlancers.com
    #------------------------------------------------------------------------
    */
    body line-height:1.8background:#efefef url('../images/main_bg.jpg') no-repeat center center fixed; }
    body#bd { color:#555; }
    body.fs1 font-size:10px }
    body.fs2 font-size:11px }
    body.fs3 font-size:12px }
    body.fs4 font-size:13px }
    body.fs5 font-size:14px }
    body.fs6 font-size:15px }

    /* 
     * links
     */
    color:#cf052b; text-decoration:none }
    a:hover,
    a:active,
    a:focus color:#202020; text-decoration:underline }

    /*
     * Content spacing 
     */
    .column p,
    .
    column pre,
    .
    column blockquote,
    .
    column ol,
    .
    column ul margin:10px 0padding:}

    /* 
     * Headings &Titles
     */
    h1,
    h2,
    h3,
    h4,
    h5 color:#202020; }
    h1 font-size:180% }
    h2 font-size:150% }
    h3 font-size:125% }
    h4 font-size:110% }
    h5 font-size:100% }

    /*
     * Main wrapper
     */
    #gk-wrapper { padding:0; margin:0 auto 20px auto }

    /*
     * Top+Header
    */

    #gk-toolbar { margin:20px 0 0 0; padding:10px 0 0 0; overflow:hidden; color:#6c6459; height:25px; }
    #gk-search { float:right; width:auto; padding:6px 10px 6px 0; }
    #gk-tools { float:right; min-width:300px; text-align:right; }
    div#gk-tools #btn_tools { margin-right: 16px }
    div#gk-tools .tools_btn { cursor:pointer; padding:0; display:block; float:left; width:16px; height:16px; border:none; text-indent:-10000px; text-align:left; background:transparent url('../images/user-tools.png') no-repeat 0 0 }
    div#gk-tools a { float:right; display:block; }
    div#gk-tools a:hover.tools_btn { background-position:0 100% }
    #gk-tool-reset { background-position:-16px 0!important }
    #gk-tool-decrease { background-position:-32px 0!important }
    #gk-tool-auto { background-position:-69px 0!important }
    #gk-tool-wide { background-position:-94px 0!important }
    #gk-tool-narrow { background-position:-117px 0!important }
    #gk-tool-reset:hover { background-position:-16px 100%!important }
    #gk-tool-decrease:hover { background-position:-32px 100%!important }
    #gk-tool-auto:hover { background-position:-69px 100%!important }
    #gk-tool-wide:hover { background-position:-94px 100%!important }
    #gk-tool-narrow:hover { background-position:-117px 100%!important }
    #gk-nav { background:#fff url('../images/menu_lvl1_bg.png') repeat-x 0 bottom; border:1px solid #dcdcdc; height:42px; position:relative; margin:10px 0 0 0; z-index:100; }
    #gk-mainnav { width:auto; float:left; }

    /* logo styling */
    h1.logo,
    div.logo-text float:leftpadding:0 10px 0 10pxbackground:#e3012d url('../images/style1/color_bg.png') repeat-x 0 bottom; height:44px; position:relative; z-index:101; }
    h1.logo background:#e3012d url('../images/style1/color_bg.png') repeat-x 0 bottom; }
    h1.logo>text-indent:-999emdisplay:blockwidth:119pxheight:44pxbackground:transparent url('../images/style1/logo.png'no-repeat 0 0padding:0; }
    div.logo-text h1 font-size:18pxline-height:26pxheight:26pxcolor:#fff; }
    div.logo-text h1 a color:#fff; }
    div.logo-text h1 a:hover text-decoration:none; }
    div.logo-text p font-size:11pxline-height:14pxheight:14pxcolor:#fff; letter-spacing:0.65px; }
    /*
     * Header modules
     */
    #gk-nav-wrap { margin-bottom:10px; }
    #gksdl-subnav,
    .sublevel height:30pxborder:1px solid #dcdcdc; border-top:none; background:#fff url('../images/menu_lvl2_bg.png') repeat-x 0 bottom; }
    #gk-header { background:#fff; padding:20px; margin:0 0 20px 0; }
    #gk-cart { float:right; width:auto; }
    #gk-top-menu { float:left; width:auto; }
    #gk-top-menu a,
    #gk-cart a,
    #gk-tools a,
    #gk-items { color:#999; line-height:11px; font-size:11px; }
    #gk-items { margin-left:5px; }
    #gk-top-menu a:hover,
    #gk-cart a:hover,
    #gk-tools a:hover { color:#000; text-decoration:none; }
    #gk-tools a { border-right:1px solid #dcdcdc; text-decoration:none!important; }
    #gk-tools a:first-child { border-right:none; }
    #gk-cart { padding:2px 0 0 20px; margin:-2px 0 0 25px; background:transparent url('../images/style1/cart_icon.png') no-repeat left 0; height:20px; }
    #gk-cart a { color:#cf052b; }
    #gk-cart a span,
    #gk-tools a span { padding:0 10px; margin:0 2px; display:block; text-decoration:none!important; }
    #gk-cart a.popup,
    #gk-tools a.popup { height:24px; margin-top:-4px; line-height:17px; display:block; text-decoration:none!important; }
    #gk-cart a.popup { border-right:none!important; }
    #gk-tools a.popup { border-right:1px solid transparent; }
    #gk-cart a.popup span,
    #gk-tools a.popup span { height:24px!important; display:block; color:#fff; background:#cf052b; text-decoration:none; line-height:19px; }
    #gk-top-menu li { float:left; padding:0 12px; border-left:1px solid #dcdcdc; line-height:11px; }
    #gk-top-menu li:first-child { padding-left:0; border-left:none; }
    #popup_cart { width:280px; }

    /* Breadrump and date container */
    div#gk-breadcrumb { margin-bottom: 10px; font-size: 90%; }
    div#gk-date { text-align: right; color: #999 }

    /*
     * Top modules
     */
    #gk-botsl1 .gk-box-full>div,
    #gk-topsl1 .gk-box-full>div{ padding:8px; }
    #gk-botsl1 .gk-box-center>div,
    #gk-topsl1 .gk-box-center>div { margin:0 10px; padding:8px; }
    #gk-botsl1 .gk-box-left>div,
    #gk-topsl1 .gk-box-left>div { margin:0 10px 0 0;padding:8px; }
    #gk-botsl1 .gk-box-right>div,
    #gk-topsl1 .gk-box-right>div { margin:0 0 0 10px;padding:8px; }

    /*
     * Content block
     */
     
    #gk-container { background:#fff; padding:20px 20px 4px 20px; margin:0 0 10px 0; }

    /*
     * Modulepositions
     * 
     * available suffixes:
     * - _menu
     * - _text
     * - clear
     * - color
     */
     
    .moduletable,
    .
    moduletable_menu,
    .
    moduletable_text,
    div.colordiv.color1 margin0 0 12pxbackground:#fff; }
    div.color1 {backgroundurl("../images/style1/color_bg.png"repeat-x scroll 0 bottom #E3012D}
    .moduletable>h3,
    .
    moduletable_menu>h3,
    .
    moduletable_text>h3,
    div.color>h3 backgroundurl('../images/moduletable_title.png'repeat-x 0 0height35pxline-height35pxfont-size12pxpadding0 12pxmargin0 0 12pxborder1px solid #e7e7e7 }
    div.color>h3 backgroundurl('../images/style1/moduletable_title-color.png'repeat-x 0 0border1px solid #d5042c; color: #fff; }
    .moduletable .moduletable_content,
    .
    moduletable_menu .moduletable_content,
    .
    moduletable_text .moduletable_content clear:bothpadding0 6px; }
    .
    moduletable ul,
    .
    moduletable_menu ul,
    .
    moduletable_text ul padding:0margin:0; }
    .
    moduletable ul li,
    .
    moduletable_menu ul li,
    .
    moduletable_text ul li border-top:1px dotted #ddd; min-height:30px; line-height:30px; padding:0 0 0 13px; }
    .moduletable_menu ul ul border-left:1px dotted #ddd; padding: 0 0 0 12px; margin:0 0 6px 10px; }
    .moduletable_menu ul li,
    .
    moduletable ul li.even,
    .
    moduletable ul li.odd backgroundurl('../images/arrow.png'no-repeat 0 12pxpadding-left16px; }
    .
    moduletable ul li:first-child,
    .
    moduletable_menu ul li:first-child,
    .
    moduletable_text ul li:first-child border-top:none!important; }
    /* restriction */
    .moduletable_menu ul li a,
    .
    moduletable ul li.even a,
    .
    moduletable ul li.odd a color#666; }
    .moduletable_menu ul li a:hover,
    .
    moduletable ul li.even a:hover,
    .
    moduletable ul li.odd a:hover color#CF052B; }
    /* clear */
    .moduletable.clear,
    .
    moduletable.clear .moduletable_content background:none!importantborder:none!importantpadding:0!important }

    /*
     * Footer
     */
    #gk-footer { overflow:hidden; color:#555; font-size:90%!important; margin:10px 0 0 0; height:24px; line-height:24px; }
    #gk-footer a { color:#666; }
    #gk-footer a:hover { text-decoration:underline; }
    #stylearea { float:right; margin:0 0 0 20px; width:auto; font-size:90%!important }
    .gk-footnav float:leftwidth:auto; }
    .
    gk-footnav li float:leftwidth:automargin:0 12px 0 0; }
    .
    gk-copyright float:right; }
    #t3_logo { display:block; width:160px; height:25px; margin:20px auto; background:url('../images/t3-logo.png') no-repeat 0 0; text-indent:-999em }
    #t3_logo:hover { background-position:0 bottom }

    /* module VM Cart */
    .gk_popup_wrap .vmCartModule font-size14pxpadding-bottom12px; }
    .
    gk_vm_minicart_product background#fff url('../images/moduletable_title.png') repeat-x 0 100%; padding: 6px 9px; border: 1px solid #c20025; margin-bottom: 6px; font-size: 12px; }
    .gk_vm_product,
    .
    gk_vm_attributes color#777; font-weight: normal }
    .gk_vm_product a font-weightboldcolor#202020 }
    .gk_vm_price color#CF1919; font-weight: bold; text-align: right }
    .gk_vm_attributes font-family"Consolas""Monaco""Bitstream Vera Sans Mono""Courier New"Couriermonospace !importantfont-size11px; }
    .
    gk_vm_show_cart clearbothtext-aligncenterpadding-top12px; }
    .
    gk_vm_show_cart a background#ececec url('../images/button-h.png') repeat-x 0 100%; cursor:pointer; color: #444; font:bold 10px Arial, Helvetica, sans-serif; margin:0 0 0 4px; padding:6px 9px; text-align:center; text-decoration:none; text-transform:uppercase; }
    .gk_vm_show_cart a:hover background#e3012d url('../images/style1/button.png') repeat-x 0 100%; color: #fff; } 
    • 0
Страница 1 из 3 123 Последняя

Похожие темы

Темы Раздел Ответов Последний пост
Поиск нужной функции/поиск в файлах .tpl
Web программирование 2 07.02.2012 13:58
Не работает код
Web программирование 12 02.01.2012 18:49
Не работает pr-cy
Софт, скрипты, сервисы 7 08.08.2011 12:21
АП тИЦ 24.12 - что работает, что - нет.
Апдейты Yandex 39 27.12.2009 11:23
Не работает поиск по форуму
Партнерские программы 47 13.09.2009 18:38

У кого попросить инвайт?

Вы можете попросить инвайт у любого модератора:

Информеры