Hi Kyle,
Thank you so much that solved that problem, so now the list persists when I have a hidden field with the listid in it.
Next problem. In the CB Menu List item, I set the "Search Mode" dropdown to "Search only" and then go to the menu item it is showing me the list of members rather than just the search parameters. So, I output the variable: $searchFormValuesRAW from comprofiler.php around line 860 and the array is empty because the $_GET variable is not being filled in.
As you suggested previously, I could try to install the CB2.0B4 cb plugin, which I did. Then when I go to the page I get the search parameters being displayed, as the $searchFormValuesRAW variable gets filled in. But, when I choose something to search for and submit, nothing happens. I just get the search parameters being displayed again.
Here is what gets filled in $searchFormValuesRAW when you go to the search page the first time:
Array ( [option] => com_comprofiler [listid] => 30 [searchmode] => 1 [Itemid] => 205 [task] => userslist )
then you set some search criteria and submit it shows:
Array ( [option] => com_comprofiler [task] => usersList [Itemid] => 205 [limitstart] => 0 [search] => [cbsecuritym3] => cbm_7615fa61_52e3e630_25b60e0c9c80799572221b12e9f5cdaf [firstname] => [lastname] => [cb_weightlbs__minval] => [cb_weightlbs__maxval] => [cb_heightsingle] => [cb_age] => Teen/Youth [cb_sex] => Female [listid] => 30 [view] => userslist [searchmode] => 1 )
I think the problem may be that the [searchmode] is still set to 1 instead of being removed from the array, but I don't know where or how that is being handled.
In case it was something else in the CB plugin that was causing the issue, I tried unpublishing the plugin and moving the onAfterRoute function into comprofiler renaming it and calling it right before the $searchFormValuesRAW is set to the $_GET variables. But got the same results, the [searchmode] is still being set. On the live Joomla 1.5 site I get these settings after the search criteria has been submitted:
Array ( [option] => com_comprofiler [task] => usersList [Itemid] => 49 [limitstart] => 0 [search] => [cbsecuritym3] => cbm_0e95b143_09d760fd_0c2e6fe3d0c6da388bda38617ba2a901 [firstname] => [lastname] => [cb_weightlbs__minval] => [cb_weightlbs__maxval] => [cb_heightsingle] => [cb_zone] => [cb_age] => Teen/Youth [cb_sex] => Female )
Here is the link to the search page:
test.stuntlist.com/west/member-search
Any ideas how to get the search mode to work properly?
We are getting very close to being able to migrate the site, hopefully this is the last issue.
Thank you again for your help.