
<form id="tr" action='[~[*id*]~]' method= "get”> [+tve.keywordsSearch:excludeTVs->all:label->Слова:+]<br> [+tve.category:filter->9:label->Категория:tvtype->dropdown:blankLabel->ВСЕ+]<br> [+tve.avtor-text:filter->9:label->Автор:tvtype->text+]<br> <input type= "submit" name="search" value= "Search"/> </form>
« Execution of a query to the database failed - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ’)’ at line 1 »Это и это пробовал - не помогло. Больше ни чего не нашел (точнее нашел много всего, но не о том). Может кто-то сталкивался?
SQL: SELECT DISTINCT sc.id, sc.pagetitle, sc.longtitle, sc.introtext, sc.description, sc.content FROM `site-primer_modx`.mx_site_content sc WHERE (sc.pagetitle LIKE ’%test%’ OR sc.longtitle LIKE ’%test%’ OR sc.introtext LIKE ’%test%’ OR sc.description LIKE ’%test%’ OR sc.content LIKE ’%test%’ ) AND sc.privateweb = 0 AND sc.published = 1 AND sc.searchable=1 AND sc.deleted=0 AND sc.parent IN ()
<form action= " [~[*id*]~] “method= "get” > <fieldset> [+tve.product:tvtype->dropdown:filter->9:+] </fieldset> <fieldset class= "sendForm" > <input type= "submit" name= "search" value= "Search"/> </fieldset> </form>
[!tvExplorer? &dittoName=`Ditto`&formTPL=`mytv`&dittoSnippetParameters=`startID:18|tpl:CATAL_1|tplAlt:CATAL_2|display:6`!] [+tve.searchForm+] [+tve.dittoList+]
.....blablabla.php%20%E2%80%9Cmethod=?product=one%2B&search=Search
Омг, с кавычками метко подметил.
Какие-то кавычки у тебя странные.. попробуй <form action= " [~[*id*]~] “method= "get” > заменить на <form id="pr" action=’[~[*id*]~]’ method= "get”>

В общем, одну вещь я всё таки понял, выглядит по уродски, но работает:
Но я не понял одну вещь, можно ли в tvExplorer сделать так, чтобы при первом заходе на страницу с вызовом сниппета (т.е. данные из формы ещё не отсылались) выводились все документы без сортировки (как при обычном дитто) ?
Или кто-то знает другой способ этого достичь
Вариант, когда на одной странице выводятся все документы при помощи дитто, а результаты работы tvExplorer выводится на другой странице, мне к сожалению не подходит.
<fieldset>
[+tve.cost:#RANGE{label->от:filter->6||label->до:filter->5}+]
</fieldset>