We're way behind the times with Miva, still using MMUI and working on a conversion to CSSUI. Because we have heavily modified MMUI this is a very complicated conversion for us, but we're getting through the worst of it.
We're still using Powersearch, which allowed us to offer very targeted searches of our custom fields - we're an online record store, so searching on record label, artist, country, &c is important to our customer base. I understand that we should migrate to Miva's own search, but I can't find any documentation on how to target custom fields or apply and/or logic to the search results.
For now we'd like to stick with Powersearch and after the conversion work on a search replacement. I've verified that our Powersearch is installed at version 5.1240, and our search fields and html results carried over from the initial conversion.
However, when I use the form we have on the MMUI site the results are returned using Miva's native search. Can anyone tell me the (probably obvious) error I'm making in calling Powersearch? It's been years since we've implemented Powersearchm but I've read through all the installation doc again and can't figure out what I'm doing wrong.
Can anyone point out my error?
Sincerely,
phil
https://www.squidco.com
<form method="post" name="powerSearchNav" action="&mvt:global:sessionurl;">
<INPUT TYPE="text" NAME="Search" SIZE="30" VALUE="">
<input type="submit" value="Search">
<input type="checkbox" name="artistOnly" value="0" onClick="
javascript:document.powerSearchNav.titleOnly.check ed=0;
javascript:document.powerSearchNav.labelOnly.check ed=0;
javascript:document.powerSearchNav.srch_all.value= 0;
javascript:document.powerSearchNav.srch_name.value =1;
javascript:document.powerSearchNav.srch_country.va lue=0;
javascript:document.powerSearchNav.srch_label.valu e=0;
javascript:document.powerSearchNav.srch_title.valu e=0;
javascript:document.powerSearchNav.srch_artist.val ue=1;
javascript:document.powerSearchNav.srch_personnel. value=1;
javascript:document.powerSearchNav.srch_code.value =0;
javascript:document.powerSearchNav.srch_descrip.va lue=0;
javascript:document.powerSearchNav.PowerSearch_Beg in_Only.value=0;">
<font size="-1" color="white">Artist</font>
<input type="checkbox" name="titleOnly" value="0" onClick="
javascript:document.powerSearchNav.artistOnly.chec ked=0;
javascript:document.powerSearchNav.labelOnly.check ed=0;
javascript:document.powerSearchNav.srch_all.value= 0;
javascript:document.powerSearchNav.srch_name.value =0;
javascript:document.powerSearchNav.srch_country.va lue=0;
javascript:document.powerSearchNav.srch_label.valu e=0;
javascript:document.powerSearchNav.srch_title.valu e=1;
javascript:document.powerSearchNav.srch_artist.val ue=0;
javascript:document.powerSearchNav.srch_personnel. value=1;
javascript:document.powerSearchNav.srch_code.value =0;
javascript:document.powerSearchNav.srch_descrip.va lue=0;
javascript:document.powerSearchNav.PowerSearch_Beg in_Only.value=0;
"><font size="-1" color="white">Title</font>
<input type="checkbox" name="labelOnly" value="0" onClick="
javascript:document.powerSearchNav.artistOnly.chec ked=0;
javascript:document.powerSearchNav.titleOnly.check ed=0;
javascript:document.powerSearchNav.srch_all.value= 0;
javascript:document.powerSearchNav.srch_name.value =0;
javascript:document.powerSearchNav.srch_country.va lue=0;
javascript:document.powerSearchNav.srch_label.valu e=1;
javascript:document.powerSearchNav.srch_title.valu e=0;
javascript:document.powerSearchNav.srch_artist.val ue=0;
javascript:document.powerSearchNav.srch_personnel. value=0;
javascript:document.powerSearchNav.srch_code.value =0;
javascript:document.powerSearchNav.srch_descrip.va lue=0;
javascript:document.powerSearchNav.PowerSearch_Beg in_Only.value=0;
"><font size="-1" color="white">Label</font>
<select name="filter_cat">
<option value="0">Format</option>
<option value="9" >CDs</option>
<option value="143" >Vinyl</option>
<option value="165" >Cassettes</option>
<option value="12" >Books</option>
<option value="307" >Box Sets</option>
<option value="219" >3" CDs</option>
<option value="2" >CD - Used</option>
</select>
<input type="hidden" name="srch_all" value="1"> <input type="hidden" name="PowerSearch_Begin_Only" value="0"> <input type="hidden" name="srch_name" value="0">
<input type="hidden" name="srch_personnel" value="0">
<input type="hidden" name="srch_country" value="0">
<input type="hidden" name="srch_label" value="0">
<input type="hidden" name="srch_title" value="0">
<input type="hidden" name="srch_artist" value="0">
<input type="hidden" name="srch_code" value="0">
<input type="hidden" name="srch_descrip" value="0">
<input type="hidden" name="Store_Code" value="S">
<input type="hidden" name="Screen" value="SRCH">
</form>
We're still using Powersearch, which allowed us to offer very targeted searches of our custom fields - we're an online record store, so searching on record label, artist, country, &c is important to our customer base. I understand that we should migrate to Miva's own search, but I can't find any documentation on how to target custom fields or apply and/or logic to the search results.
For now we'd like to stick with Powersearch and after the conversion work on a search replacement. I've verified that our Powersearch is installed at version 5.1240, and our search fields and html results carried over from the initial conversion.
However, when I use the form we have on the MMUI site the results are returned using Miva's native search. Can anyone tell me the (probably obvious) error I'm making in calling Powersearch? It's been years since we've implemented Powersearchm but I've read through all the installation doc again and can't figure out what I'm doing wrong.
Can anyone point out my error?
Sincerely,
phil
https://www.squidco.com
<form method="post" name="powerSearchNav" action="&mvt:global:sessionurl;">
<INPUT TYPE="text" NAME="Search" SIZE="30" VALUE="">
<input type="submit" value="Search">
<input type="checkbox" name="artistOnly" value="0" onClick="
javascript:document.powerSearchNav.titleOnly.check ed=0;
javascript:document.powerSearchNav.labelOnly.check ed=0;
javascript:document.powerSearchNav.srch_all.value= 0;
javascript:document.powerSearchNav.srch_name.value =1;
javascript:document.powerSearchNav.srch_country.va lue=0;
javascript:document.powerSearchNav.srch_label.valu e=0;
javascript:document.powerSearchNav.srch_title.valu e=0;
javascript:document.powerSearchNav.srch_artist.val ue=1;
javascript:document.powerSearchNav.srch_personnel. value=1;
javascript:document.powerSearchNav.srch_code.value =0;
javascript:document.powerSearchNav.srch_descrip.va lue=0;
javascript:document.powerSearchNav.PowerSearch_Beg in_Only.value=0;">
<font size="-1" color="white">Artist</font>
<input type="checkbox" name="titleOnly" value="0" onClick="
javascript:document.powerSearchNav.artistOnly.chec ked=0;
javascript:document.powerSearchNav.labelOnly.check ed=0;
javascript:document.powerSearchNav.srch_all.value= 0;
javascript:document.powerSearchNav.srch_name.value =0;
javascript:document.powerSearchNav.srch_country.va lue=0;
javascript:document.powerSearchNav.srch_label.valu e=0;
javascript:document.powerSearchNav.srch_title.valu e=1;
javascript:document.powerSearchNav.srch_artist.val ue=0;
javascript:document.powerSearchNav.srch_personnel. value=1;
javascript:document.powerSearchNav.srch_code.value =0;
javascript:document.powerSearchNav.srch_descrip.va lue=0;
javascript:document.powerSearchNav.PowerSearch_Beg in_Only.value=0;
"><font size="-1" color="white">Title</font>
<input type="checkbox" name="labelOnly" value="0" onClick="
javascript:document.powerSearchNav.artistOnly.chec ked=0;
javascript:document.powerSearchNav.titleOnly.check ed=0;
javascript:document.powerSearchNav.srch_all.value= 0;
javascript:document.powerSearchNav.srch_name.value =0;
javascript:document.powerSearchNav.srch_country.va lue=0;
javascript:document.powerSearchNav.srch_label.valu e=1;
javascript:document.powerSearchNav.srch_title.valu e=0;
javascript:document.powerSearchNav.srch_artist.val ue=0;
javascript:document.powerSearchNav.srch_personnel. value=0;
javascript:document.powerSearchNav.srch_code.value =0;
javascript:document.powerSearchNav.srch_descrip.va lue=0;
javascript:document.powerSearchNav.PowerSearch_Beg in_Only.value=0;
"><font size="-1" color="white">Label</font>
<select name="filter_cat">
<option value="0">Format</option>
<option value="9" >CDs</option>
<option value="143" >Vinyl</option>
<option value="165" >Cassettes</option>
<option value="12" >Books</option>
<option value="307" >Box Sets</option>
<option value="219" >3" CDs</option>
<option value="2" >CD - Used</option>
</select>
<input type="hidden" name="srch_all" value="1"> <input type="hidden" name="PowerSearch_Begin_Only" value="0"> <input type="hidden" name="srch_name" value="0">
<input type="hidden" name="srch_personnel" value="0">
<input type="hidden" name="srch_country" value="0">
<input type="hidden" name="srch_label" value="0">
<input type="hidden" name="srch_title" value="0">
<input type="hidden" name="srch_artist" value="0">
<input type="hidden" name="srch_code" value="0">
<input type="hidden" name="srch_descrip" value="0">
<input type="hidden" name="Store_Code" value="S">
<input type="hidden" name="Screen" value="SRCH">
</form>
Comment