[!Ditto? &startID=`4` &tpl=`ShopXCategory` &summarize=`20` &truncSplit=`false` &sortby=`menuindex` &sortdir=`asc` &showInMenuOnly=`1` &filter=`tvitemStyles,pajama,1` &hiddenTVs =`itemStyles`!]
), but Ditto wasn’t finding it unless just "pajama" was selected in the document. So I created a new filter method (lucky number 7) that uses strpos() to see if the string exists in the TV output.[!Ditto? &startID=`4` &tpl=`ShopXCategory` &summarize=`999` &truncSplit=`false` &sortby=`menuindex` &sortdir=`asc` &showInMenuOnly=`1` &hiddenTVs =`itemStyles` &filter=`tvitemStyles,pajama,7`!]
case 7 : if (strpos($value[$this->array_key], $this->filterValue)===FALSE) $unset = 0; break;
case 8 : if (strpos($value[$this->array_key], $this->filterValue)!==FALSE) $unset = 0; break;
This discussion is closed to further replies. Keep calm and carry on.