<!-- Create the search code for Ditto, and choose which form to use for the search, ditto output --> [!tvExplorer? &dittoName=`Ditto` &dittoSnippetParameters=`tpl:TherapistList|parents:22|display:10|paginate:1|sortDir:asc|sortBy:pagetitle` &formTPL=`TherapistSearchForm` !] <!-- Show the search form from the formTPL call above --> [+tve.searchForm+] <hr> <br /> <!-- Show the results for the Search --> <div class="list"><ul>[+tve.dittoList+]</ul></div> <!-- Show the pagination code --> <p>Showing <strong>[+start+]</strong> - <strong>[+stop+]</strong> of <strong>[+total+]</strong> results | Page <strong>[+currentPage+]</strong> of <strong>[+totalPages+]</strong></p> <div id="ditto_pages"> [+previous+] [+pages+] [+next+] </div> </div>
<form name="search" action="[~[*id*]~]" method="get"> <input type="hidden" name="id" value="[*id*]" /> [+tve.Nationality:label->Select Nationality:tvtype->select:filter->7:blankLabel-> :+] <br /> [+tve.Languages:label->Select Language Spoken:tvtype->select:filter->7:blankLabel-> :+] <br /> [+tve.Location:label->Select Location:tvtype->select:filter->7:blankLabel-> :+] <br /> <input type="submit" name="search" value="Search" /> </form>
I can post those if people are interested.that’s great - thanks!
[[tvExplorer? &dittoName=`Ditto` &dittoSnippetParameters=`tpl:ProductSearchTpl|parents:5|depth:3|display:all|paginate:1|sortBy:pagetitle|sortDir:asc|hideFolders:1` &formTPL=`tveProductSearch`]] <!-- Show the search form from the formTPL call above --> [+tve.searchForm+]
<strong>Search by your application needs:</strong><br />
<form method="get" action="[~226~]">
<input type="hidden" name="id" value="226" />
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td colspan="2"> </td>
</tr>
<tr>
<td><b>Video:</b></td>
<td>[+tve.video-channels:filter->6:label->:tvtype->select:blankLabel->Select+]</td>
</td>
</tr>
<tr>
<td><b>Data:</b></td>
<td>
[+tve.data-channels:filter->6:label->:tvtype->select:blankLabel->Select+]</td>
</tr>
<tr>
<td><b>Audio:</b></td>
<td>
[+tve.audio-channels:filter->6:label->:tvtype->select:blankLabel->Select+]</td>
</tr> <tr>
<td><b>Contact:</b></td>
<td>
[+tve.cc-channels:filter->6:label->:tvtype->select:blankLabel->Select+]</td>
</tr><tr>
<td><b>Ethernet:</b></td>
<td>
[+tve.ethernet-channels:filter->6:label->:tvtype->select:blankLabel->Select+]</td>
</tr>
<tr>
<td>
</td>
<td><input type="submit" name="search" value="Search" /></td>
</tr>
</table>
</form><div class="ProductList"> <table width="760" cellpadding="4" cellspacing="0" id="ProductList"><tbody> <tr> <th valign="bottom" align="left" width="100" rowspan="2"><b>Preview</b></th> <th valign="bottom" align="left" width="510" rowspan="2"><b>Description</b></th> <th valign="bottom" align="left" colspan="5"><b>Signals of:</b></th> </tr> <tr> <th valign="bottom" align="left" width="50"><b>Video</b></th> <th valign="bottom" align="left" width="50"><b>Data</b></th> <th valign="bottom" align="left" width="50"><b>Audio</b></th> <th valign="bottom" align="left" width="50"><b>Contact</b></th> <th valign="bottom" align="left" width="50"><b>Ethernet</b></th> </tr> <tr> <td valign="middle" align="left"><img src="../products/[+category_code+]/100_[+product_filename+].jpg" height="50" width="50" alt="[+title+]" style="margin:0px; width: auto; border: 1px solid #5E6A71;" /></td> <td valign="middle" align="left"><b>[+longtitle+]</b><br />[+description+]<br /><a href="[+url+]">More Information</a></td> <td valign="middle" align="left">[+video-channels+]</td> <td valign="middle" align="left">[+data-channels+]</td> <td valign="middle" align="left">[+audio-channels+]</td> <td valign="middle" align="left">[+cc-channels+]</td> <td valign="middle" align="left">[+ethernet-channels+]</td> </tr> </tr></table></div>
[[tvExplorer? &dittoName=`Ditto` &dittoSnippetParameters=`tpl:ProductSearchTpl|parents:5|depth:3|display:all|paginate:1|sortBy:menuindex|sortDir:ASC|hideFolders:1` &formTPL=`tveProductSearch`]] [+tve.dittoList+]

# The minimum and maximum lengths of words to be indexed are defined by the ft_min_word_len and ft_max_word_len system variables. (See Section 5.1.4, “Server System Variables”.) The default minimum value is four characters; the default maximum is version dependent. If you change either value, you must rebuild your FULLTEXT indexes. For example, if you want three-character words to be searchable, you can set the ft_min_word_len variable by putting the following lines in an option file:
[mysqld]
ft_min_word_len=3
Then restart the server and rebuild your FULLTEXT indexes. Note particularly the remarks regarding myisamchk in the instructions following this list.
<?php
$out = "";
if ($output=="zero") {
$out = '0';
} elseif ($output=="one") {
$out = '1';
} elseif ($output=="two") {
$out = '2';
} elseif ($output=="three") {
$out = '3';
} else{
$out = '<font color=red>Check your work!</font>';
}
return $out;
?>
[+ethernet-channels:digitSwitch+]
dittoName is missing. This parameter is mandatory
&dittoName=`Ditto`