Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
I am trying to use the XSLTsearch to pull from a droplist for <select><option> type queries.
The thing is we have 3 separate <select><option> in our search that we need to query on. I will change to parameters later.
How would I use the <select><option> tag for my search rather than the string inputted in the search box?
Any ideas would be greatly appreciated.
Also, is there a way to redirect the page to a results page once a user uses the search?
Thanks in advance.
You need to post to the search page and pass the value of your dropdown as a a querystring parameter, something like
Just tried that. What about tieing the string together. Since there are 3 separate <select><option> droplists would I tie it together something like
Would that work or am I off?
I can't remember how XSLT search works in terms of 'and' 'or' searches.
However you can experiment by just typing in the values as about on the search page directly into the address bar and see what you need from the drop downs?
I tried the & it was only getting the value of the first vaule not the next values I was trying to input after the &
Think that is the way XSLT is supposed to read the string connectors.
Any other ideas would be awesome
Thanks this is really getting me on the right track though.
You won't want an & you'll need something like:
Yep you are right Rich.
I have another question but I will make another topic question for it.
This is actually a continuation.
In the results, Lets say I am tagging items as First Value, Second Value and Third Value and am only doing the search based off of my predefined tags.
Node One is tagged with First Value and Second Value
Node Two is tagged with the Second and Third Value.
Is there a way for the search results to only bring up when the droplist values are selected:
Droplist 1 (Grades) valuesGrade OneGrade TwoGrade ThreeGrade FourGrade Five
Droplist 2 (Subjects) valuesSubject OneSubject TwoSubject Three
Droplist 3 (Room) valuesRoom OneRoom TwoRoom Three
So if a user select just Grade One it will bring up all items tagged under Grade One.If a user select just Subject Two it will bring up all items tagged under Subject Two.
If the user refines the search to pull Grades One and Subject Two. We want to only match items to pull items tagged Grade One and Subject Two only. Not all Grade One items and Subject Two items in the same results. Just the ones that have been tagged as being Grade One with the Subject Two tagged with it.Do you get what I am saying?
Does this work currently in the XSLT Search or does it need to be modified?
If it does need modified, where in the XSLT or how would I modify it to only matched our tagged criteria?
Ok it does work. The tags work everything so far works out of the box.
Huge props to Mr. Douglas Robar for the package.
I have similar situation,i've implemented my node retaionship with ucomponent multi picker , i have the full description here our.umbraco.org/.../30929-advanced-search-on-nodes-relationship-
could some please take a look and give me insights? much appreciated. Atoosa
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted