We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 18397
    • 3,250 Posts
    Beebob, please place &ditto_summarize=`12` in the URL.
      • 3002
      • 25 Posts
      [!Ditto? &startID=`39` &ditto_summarize=`12` &debug=`1` &config=`request`!]
      



      Ditto Version 1.1
      Debug Info
      Number of documents supposed to summarized : 3
      Count in database: 134
      Sort by : createdon
      Sort direction: DESC
      Start at item 0 and stop at 3 out of 134
      Start IDs: 39
      SQL WHERE statement:
      Filter: None
      Fields:
      
      [+custom+]
        title
        summary
        link
        author
        date
      [+db+]
        id
      
      
      Document Data for BORIS LOUNGE
      [+id+] => 213
      [+type+] => document
      [+contentType+] => text/html
      [+pagetitle+] => BORIS LOUNGE
      [+longtitle+] =>
      [+description+] =>
      [+alias+] =>
      [+published+] => 1
      [+pub_date+] => 0
      [+unpub_date+] => 0
      [+parent+] => 39
      [+isfolder+] => 0
      [+introtext+] =>
      [+content+] =>
      [+richtext+] => 1
      [+template+] => 5
      [+menuindex+] => 151
      [+searchable+] => 1
      [+cacheable+] => 1
      [+createdby+] => 1
      [+createdon+] => 1162584121
      [+editedby+] => 1
      [+editedon+] => 1162927326
      [+deleted+] => 0
      [+deletedon+] => 0
      [+deletedby+] => 0
      [+publishedon+] => 1
      [+publishedby+] => 1162584121
      [+menutitle+] =>
      [+donthit+] => 0
      [+haskeywords+] => 0
      [+hasmetatags+] => 0
      [+privateweb+] => 0
      [+privatemgr+] => 0
      [+content_dispo+] => 0
      [+hidemenu+] => 0
      [+title+] => BORIS LOUNGE
      [+summary+] =>
      [+link+] =>
      [+author+] => Built-in Administration account
      [+date+] => 03-Nov-06 14:02
      tpl => FirstRow => <div class="ditto_summaryPost"> <h3><a href="[~[+id+]~]">[+title+]</a></h3> <div>[+summary+]</div> <p>[+link+]</p> <div style="text-align:right;">by <strong>[+author+]</strong> on [+date+]</div> </div> 
      
        • 3002
        • 25 Posts
        I took put all the other dropdowns in my search form and just put in a single dropdown, and I still get the same resuts (Ditto returns all the products).

        Hey, Mark, maybe my syntax in my earlier posts is flawed?

        When I look at the debug code, it says Filter: None. When I hard-code the filter, it returns the right results. So the form parameters are not being picked up.

        This is my latest snippet call:

        [!Ditto? &startID=`39` &debug=`1` &summarize=`12` &tagMode=`onlyTags` &displayArchive=`0` &tpl=`DittoTemplate` &paginate=`1` &config=`request` &tagData=`tvProductCategory` &tagDelimiter=`,`!]
          • 18397
          • 3,250 Posts
          Your syntax is correct. Try running it without the debug parameter.
            • 3002
            • 25 Posts
            I took out debug, still get the same results.
              • 3002
              • 25 Posts
              Is anyone experiencing the same problems? The regular Ditto calls function properly, it’s only when I do it DittoMachine-like do I get into trouble (i.e., no filtering).

              FYI, the problem is when filtering is done via multiple dropdowns, the results that are returned are unfiltered.
                • 3002
                • 25 Posts
                Can someone confirm that naming the filters ditto_filter_1 and ditto_filter_2 works?
                  • 18397
                  • 3,250 Posts
                  It works for me fine in 2 test test installs...
                    • 3002
                    • 25 Posts
                    Were you using 0.9.2.2? I was thinking,as a last resort, maybe trying 0.9.5 RC2.
                      • 18397
                      • 3,250 Posts
                      I am testing on 0.9.2.1 (localhost)