Can i run a search between with a quera from there ?
Hi again,
I tried the following: every entry from a Channel should run a search and poste the results. But when i tried to put the search between {exp:channel:entries it frist runs the search and then {exp:channel:entries .
I hope my question could be understood (Soryy again for my english)
Replies
Frank Oehrlein 2 Dec 2013 20:32
I try a Little bit an made it work with embedded.
Now is one Problem left:
WIth the {exp:channel:entries i got a word wich i want to seach. But it schould run from itself. When i open the template it schould bring me lists of the search results for every entry in that Channel.
Thanks
Low 2 Dec 2013 20:59
I'm not quite sure what it is you're trying to achieve. Can you post examples of what your output should be? And of what your code looks like now? You can use http://pastie.org/ or http://pastebin.com/ for large chunks of code.
Frank Oehrlein 2 Dec 2013 21:06
my Code is just a Snipplet. I try to explane once more with my best words ;)
I want to get search results for a search word that is saved in a channel.
I call the Channel with:
{exp:channel:entries channel="abo" dynamic="no" show_expired="no" show_future_entries="yes"}
there is the field called title. That is the wich I want to search.
When search is at ist end, start the next Channel Entry.
Hopfully this Explanation is better ;)
thanks frank
Low 2 Dec 2013 21:09
What is the template code you have now? Again, you can use http://pastie.org/ or http://pastebin.com/ for large chunks of code.
Frank Oehrlein 2 Dec 2013 21:14
This is the main Page:
{exp:channel:entries channel="email_abo" dynamic="no" show_expired="no" show_future_entries="yes"}
{embed="abo/abo_suche_embedded" title="{title}"}
and the Embedded:
http://pastie.org/8523861
Low 3 Dec 2013 07:06
Try using keywords="{embed:title}" instead of the query parameter.
Frank Oehrlein 3 Dec 2013 07:09
I tried that, but no result.
Low 3 Dec 2013 07:10
Even if you remove the query parameter entirely?
Frank Oehrlein 3 Dec 2013 07:54
Then there are results. also when I enter this:
{exp:low_search:results query="eyJjb2xsZWN0aW9uIjoibmV3cyIsImxvb3NlX2VuZHMiOiJyaWdodCIsInJlc3VsdF9wYWdlIjoic3VjaGVcL2luZGV4Iiwic2VhcmNoX21vZGUiOiJhbGwiLCJrZXl3b3JkcyI6ImZyYW5rZnVydCIsIm9yZGVyYnkiOiJldmVudF9kYXRlIiwic29ydCI6ImFzYyJ9" limit="10"}
This is from another search with a search form
Maybe I have to change my search Words like Frankfurt into something like that above? But how ?
Low 3 Dec 2013 07:58
The query-parameter contains all parameters, encoded. To hard-code the parameters, use them as you normally would, so:
Frank Oehrlein 3 Dec 2013 08:57
I made a mistake keywords helped me !!!
THANKS !