[Date Prev][Date Next][Thread Prev][Thread Next][Interchange by date
][Interchange by thread
]
[ic] userdb search
Hi list,
I am trying to create a list of userdb names. I can get a loop list to
work, like this:
[calc]$Config->{NoSearch} = ''[/calc]
[loop search="fi=userdb/ra=yes/tf=lname/ml=9999"]
[loop-data userdb lname]<br>
[/loop]
And an in-page search works:
[calc]$Config->{NoSearch} = ''[/calc]
[search-region more=1
search="
fi=userdb
ra=yes
ml=20
"]
[search-list]
[item-data userdb lname]<br>
[/search-list]
[more-list][more][/more-list]
[no-match]
Sorry, no matches for [value mv_searchspec].
[/no-match]
[/search-region]
But I would really like to do a complex search from the left sidebar,
utilizing more-lists, but this results page does not work, it displays
nothing:
[calc]$Config->{NoSearch} = ''[/calc]
[search-region]
[search-list]
[item-data userdb lname]
[/search-list]
[/search-region]
I get no errors in ic log, these errors in cat error.log:
Search of 'userdb.txt' denied by NoSearch directive
search error: your search file a valid database reference, was ''.
And, yes, I can get the same search to work with any other database.
Everything seems to point to unsetting the NoSearch directive, which I
believe I am doing, but I always get the same results. The mail
archives got me started but I seem to be missing something, or it
can't be done the way I am doing it (or both). Any ideas?
TIA
Curt Hauge
//////////////////////////////////////////////////////////////////
// Web Design - Interchange Hosting - Small Business Consulting //
// 1525 Meadowwood Drive www.mnwebdesign.com //
// Brooklyn Park, MN 55444 www.iwantaconsultant.com //
// Phone 612-598-5530 info@mnwebdesign.com //
//////////////////////////////////////////////////////////////////