We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 13473
    • 28 Posts
    Can I user the [+summary+] in my results for tvexplorer? I have tried to use it and it displays ok but the search just returns all results when I insert extenders:summary in the ditto snippets element?

    Anyone any ideas please?
      • 11975
      • 2,542 Posts
      Hi,

      i would say No because extenders are not supported by tvExplorer when written in the dittoSnippetparameters.
      This is because i had no time for this :/
      If you have skills in PHP you can easily tweak the snippet code to add the feature.

      Hope that helps.

      :)
        Made with MODx : [url=http://www.copadel.com]copadel, fruits et l
        • 13473
        • 28 Posts
        Hi, Thanks for the reply.... Im not great with PHP but I am assuming something needs to change in here

        //get ditto Params
        if (isset($dittoSnippetParameters)) {//from reflect author Mark Kaplan
        $prohibited = array(’globalFilterDelimiter’,’localFilterDelimiter’,’tags’,’tagData’,’tagDelimiter’,’filter’);
        $dParams = array();
        $givenParams = explode("|",$dittoSnippetParameters);
        foreach ($givenParams as $parameter) {
        $p = explode(":",$parameter);
        if(!in_array($p[0],$prohibited)) $dParams[$p[0]] = $p[1];
        }
        if(isset($tveID)) $dParams[’id’] = $tveID;
        }