with that said, can you tell me how i can generate the drop-down tvs (with all the available values for the tv) on my custom front-end form (just as you have accomplished with tvExplorer? i can’t seem to find an explanation in the forums on how to do this. if it matters, my tv’s that i am using in my form are @CHUNK bindings.
once more question about tvExplorer for my future knowledge. can it also incorporate search on a standard document variable like ’pagetitle’ (ie. have a search form with pagetitle, TV1 and TV2)?
[[tvExplorer? &dittoName=`Ditto` &formTPL=`ZoekFietsForm` &dittoSnippetParameters=`debug:1|parents:2|summarize:5|tpl:ditto_producten|paginate:1|extenders:summary|paginateAlwaysShowLinks:1|truncText:Lees verder|truncLen:200|dateFormat:%d-%m-%Y|language:nederlands`]] [+tve.searchForm+] nb documents: [+total+] [+tve.dittoList+] U bekijkt [+start+] - [+stop+] van [+total+] gevonden fietsen Navigatie [+previous+] [+pages+] [+next+]
<form action="[~[*id*]~]" method="get" > <fieldset> [+tve.productomschrijving:type->text:filter->7+] <br /> [+tve.opmerkingen:type->text:filter->7+] <br /> [+tve.prijs:filter->7+] <br /> [+tve.leeftijd:filter->7+] <br /> <input type="submit" name="search" value="Search" /> </fieldset> </form>
dateFormat %d-%m-%Y debug 1 dittoName Ditto dittoSnippetParameters debug:1|parents:2|summarize:5|tpl:ditto_producten|paginate:1|extenders:summary|paginateAlwaysShowLin ks:1|truncText:Lees verder|truncLen:200|dateFormat:%d-%m-%Y|language:nederlands extenders summary formTPL ZoekFietsForm language nederlands paginate 1 paginateAlwaysShowLinks 1 parents 2 save 2 summarize 5 tagData productomschrijving,opmerkingen,prijs,leeftijd tagDelimiter , tpl ditto_producten truncLen 200 truncText Lees verder
Hi,
I guess this is because of the summary extenders.
It overwrites the inclusion of tvefilter.extender
The snippet code needs to be changed to deal with this parameter.
This was on my todo list but I have no free time at the moment to fix it.
:-)
<form action="[~[*id*]~]" method="get" >
[+tve.productomschrijving:label->Productomschrijving:type->text:filter->7+]
<br />
[+tve.opmerkingen:label->Opmerkingen:type->text:filter->7+]
<br />
[+tve.prijs:#RANGE{tvtype->dropdown:filter->3:elements->@Chunk ZoekFietsPrijs:label->Prijs van||tvtype->dropdown:elements->@Chunk ZoekFietsPrijs:label->tot:filter->4}+]
<br />
[+tve.leeftijd:#RANGE{tvtype->dropdown:filter->3:elements->@Chunk ZoekFietsLeeftijd:label->Leeftijd van||tvtype->dropdown:elements->@Chunk ZoekFietsLeeftijd:label->tot:filter->4}+]
<br />
<input type="submit" name="search" value="Zoeken" />
</form>[+tve.leeftijd:#RANGE{tvtype->dropdown:filter->3:elements->@Chunk ZoekFietsLeeftijd:label->Leeftijd van||tvtype->dropdown:elements->@Chunk ZoekFietsLeeftijd:label->tot:filter->4}+]
The parser in this version is not very evolved
I’m sure there was a fix for this error but cannot find it any more.
Will try to find it later, quite busy at this time
:-)
[[tvExplorer? &dittoName=`Ditto` &formTPL=`formVin` &dittoSnippetParameters=`tpl:nn|summarize:30|debug:1|paginate:1|depth:5|startid:8`]] [+tve.searchForm+] nb documents: [+total+] [+tve.dittoList+] Page [+currentPage+] of [+totalPages+] [+previous+] [+pages+] [+next+]
<form action="[~[*id*]~]" method= "get" > <input type="hidden" name="id" value="[*id*]" /> <fieldset> [+tve.real_more:filter->9+] </fieldset> <fieldset class="sendForm" > <input type="submit" name="search" value="Search"/> </fieldset> </form>
nb documents: Open Debug Console Save Debug Console No documents found. Page of
http://localhost/index.php?id=1&real_more=100&search=Search
[b][*sidebar*] (tv)[/b] [[tvExplorer? &formTPL=`tveSearchGrundstuecke` &dittoName=`Ditto` &dittoSnippetParameters=`tpl:ListGrundstueckeDefault|parents:19|display:25|paginate:1` &showRs=`true`]] [+tve.searchForm+]