We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 3002
    • 25 Posts
    Hey, Banzai, would it be possible for you to post your code for the search form?
      • 16429
      • 254 Posts
      Quote from: banzai at Nov 27, 2006, 07:16 AM

      Great work Kudo in this latest beta.
      Tested with 0.9.5 Ditto 1.1 beta 2 and a "search form" with two dropdown and works great! wink

      Thanks Banzai! But don’t forget that Mark has done impressive work with Ditto itself.
      I’ve just written 8-10 lines of code... but Ditto is huge!
      I only hope to lift some (very little) weight from Mark’s shoulders if possible. He can’t always work for us without help, alone.
        kudo
        www.kudolink.com - webdesign (surprised?)

        [img]http://www.kudolink.com/kudolinkcom.png[/img] [sup]proudly uses[/sup] [img]http://www.kudolink.com/modx.png[/img]
        • 3002
        • 25 Posts
        hey, guys - i’ve been wracking my brains trying to get my filter to choose ALL the tags in a TV, I don’t know what to use for a wildcard. I tried Banzai’s way (I have several dropdowns):

        <form method="get" action="http://www.example.com/index.php?id=63" class="FSF_form">
        	<fieldset>
        		<strong><label>Range<br />
        		<select title="Range" id="rangefilter" name="ditto_filter_1">
        			<option value="tvProductCategory,*">
        				Show me all
        			</option>
        			<option value="tvProductCategory,Outdoor Seating,7">
        				Outdoor Seating
        			</option>
        
        			<option value="tvProductCategory,Indoor Seating,7">
        				Indoor Seating
        			</option>
        ...
        


        But when I choose "Show all" it just returns all the products and disregards any filters.

        My question is, as a workaround, how do I choose all tags? If I choose "Show all" for one dropdown, then it should work in conjunction with the other filters in the form (ditto_filter_2 and so on).

        I tried these:

        <option value="tvProductCategory,*,7">
        	Show me all
        </option>
        


        <option value="tvProductCategory, ,7">
        	Show me all
        </option>
        


        And Mark’s suggestion:
        <option value="content,foo">
        	Show me all
        </option>
        


        Nothing works.