<![CDATA[ tvExplorer 0.7 betaTest - My Forums]]> https://forums.modx.com/thread/?thread=35803 <![CDATA[Re: tvExplorer 0.7 betaTest]]> https://forums.modx.com/thread/35803/tvexplorer-0-7-betatest?page=23#dis-post-402106
http://forums.modx.com/thread/27670/updated-gt-tveditor-beta-0-8---tvexplorer-alpha-0-1#dis-post-147156]]>
marinas Dec 01, 2011, 05:54 PM https://forums.modx.com/thread/35803/tvexplorer-0-7-betatest?page=23#dis-post-402106
<![CDATA[Re: tvExplorer 0.7 betaTest]]> https://forums.modx.com/thread/35803/tvexplorer-0-7-betatest?page=23#dis-post-395885 McGregor Oct 04, 2011, 12:27 PM https://forums.modx.com/thread/35803/tvexplorer-0-7-betatest?page=23#dis-post-395885 <![CDATA[Re: tvExplorer 0.7 betaTest]]> https://forums.modx.com/thread/35803/tvexplorer-0-7-betatest?page=23#dis-post-199840
Everything is working fine, except for checkboxes in my search form. When a search is submitted with a checkbox selected, the URL is formatted with some extra characters:
&Features%5B%5D=
%5B%5D being []

I can’t figured our where these brackets are coming from or how to fix it. It only happens when checkboxes are used.

Thanks for your help!
]]>
RedOak Mar 31, 2011, 04:13 PM https://forums.modx.com/thread/35803/tvexplorer-0-7-betatest?page=23#dis-post-199840
<![CDATA[Re: tvExplorer 0.7 betaTest]]> https://forums.modx.com/thread/35803/tvexplorer-0-7-betatest?page=23#dis-post-199839 My call is as follows:

[[tvExplorer? &dittoName=`Ditto` &formTPL=`RefSearch` &dittoSnippetParameters=`tpl:ReferenzenListe|summarize:3|debug:0|paginate:1|depth:4|parents:5|display:all|dateSource:Referenzdatum|showPublishedOnly:1|sortBy:Referenzdatum|sortDir:DESC`]]

[+tve.searchForm+]
available references: [+total+]

[+tve.dittoList+]
references [+start+] - [+stop+] from [+total+]
[+previous+] [+pages+] [+next+]

Everything works fine but [+previous+] and [+next+] are on all languages shown in german which is default language.
I have tried [+(yams_id)_previous+] [+(yams_id)_next+] but then this two buttons won’t even shown.
The page is called uncached.
]]>
universal_next Sep 03, 2010, 03:22 AM https://forums.modx.com/thread/35803/tvexplorer-0-7-betatest?page=23#dis-post-199839
<![CDATA[Re: tvExplorer 0.7 betaTest]]> https://forums.modx.com/thread/35803/tvexplorer-0-7-betatest?page=23#dis-post-199838 I have tried that - called the snippet uncached and the page cached but did not run. I have also tried other combinations of that and alway cleared cache on modx and the browser but did not run. The only combination that at least shows the searchform and runs the search is a cached call and uncached page.
Is there something in addition that can be wrong to get the wrong chunk?

Tanks for help]]>
universal_next Aug 22, 2010, 07:14 AM https://forums.modx.com/thread/35803/tvexplorer-0-7-betatest?page=23#dis-post-199838
<![CDATA[Re: tvExplorer 0.7 betaTest]]> https://forums.modx.com/thread/35803/tvexplorer-0-7-betatest?page=23#dis-post-199837
I really hope tvExplorer will leave beta and be an official part of the "Extras". It’s an extremely helpful snippet and should be made for Revo as well, if you ask me.]]>
Martijn van Turnhout Aug 21, 2010, 03:58 AM https://forums.modx.com/thread/35803/tvexplorer-0-7-betatest?page=23#dis-post-199837
<![CDATA[Re: tvExplorer 0.7 betaTest]]> https://forums.modx.com/thread/35803/tvexplorer-0-7-betatest?page=22#dis-post-199836
I built a homepage with 2 languages using YAMS. tvEditor and tvExplorer are used to search and display for personnel references selected on zip codes.

If I put in my tvExplorer call only in german page it all looks great. If I put in the tvExplorer call in the english page as well, the english search chunk is dispalyed not only on the english page but on german page too.
Even if I called &formTPL=`search_de` and on the english page &formTPL=`search_en` nothing changed.
As soon as I remove the english call everything is alright on the german page.

[[tvExplorer? &dittoName=`Ditto` &formTPL=`search_(yams_id)` &dittoSnippetParameters=`tpl:ReferenzenListe_(yams_id)|summarize:30|debug:0|paginate:1|depth:4|parents:5|display:all|dateSource:Referenzdate|sortBy:Referenzdate|showPublishedOnly:1`]]
[+tve.searchForm+]

The search chunks are named search_de and search_en

What is wrong????

]]>
universal_next Aug 20, 2010, 07:14 AM https://forums.modx.com/thread/35803/tvexplorer-0-7-betatest?page=22#dis-post-199836
<![CDATA[Re: tvExplorer 0.7 betaTest]]> https://forums.modx.com/thread/35803/tvexplorer-0-7-betatest?page=22#dis-post-199835
*** Edit ***

Hmmm... I’ve got this partially working and can sort results by manually adding order parameters to the url in the browser address bar. Ending up with something like:

/search-results?textSearch=&ptyPrice-0=400000&search=search&order=down


But I want the user to be able to sort results via a link or drop-down. How can I build a link that grabs the page url including all current search parameters, and then appends either &order=down or &order=up?

I’ve tried:
<a href="[(site_url)][~[*id*]~]&order=down">

but this produces the url /search-results&order=down and I lose all the search parameters.

Would I need to build a snippet that uses something like the Smart ModX Url function? Javascript? Or could it be simpler? Not sure how to do it!


*****

Ok, found a solution. If anyone is interested, have a look here: http://modxcms.com/forums/index.php?topic=50945.0

There’s probably an answer to everything on these forums, not always easy to find what you’re looking for though undecided

]]>
okyanet Jul 18, 2010, 03:13 AM https://forums.modx.com/thread/35803/tvexplorer-0-7-betatest?page=22#dis-post-199835
<![CDATA[Re: tvExplorer 0.7 betaTest]]> https://forums.modx.com/thread/35803/tvexplorer-0-7-betatest?page=22#dis-post-199834 How might I add a drop-down box or button to allow the user to change the sort order to Descending, e.g. http://www.pogwatch.com/ditto/ditto-config.html]]> anonymized-26931 Jul 17, 2010, 10:54 PM https://forums.modx.com/thread/35803/tvexplorer-0-7-betatest?page=22#dis-post-199834 <![CDATA[Re: tvExplorer 0.7 betaTest]]> https://forums.modx.com/thread/35803/tvexplorer-0-7-betatest?page=22#dis-post-199833
Search results appear on a different page than the initial TvExplorer form.

How might I add a drop-down box or button to allow the user to change the sort order to Descending, or perhaps to sort by a different TV?

I have some ideas about including the same tvExplorer call but with different sort parameters inside a form on the search results page, although I’m not sure how to have it apply to the current set of search results featured on the page. Something to do with ’&save’ perhaps?
]]>
okyanet Jul 17, 2010, 04:02 PM https://forums.modx.com/thread/35803/tvexplorer-0-7-betatest?page=22#dis-post-199833