[Date Prev][Date Next][Thread Prev][Thread Next][Interchange by date
][Interchange by thread
]
[ic] display userdb contents with one-click search
Hi list,
IC 4.8.5. I want to allow fellow classmates to view contact info with
each other. I want to use a one-click search, but I can not get this
code to work. It displays a list of users, but clicking on any users'
name does not display that username on classmate.html:
[calc]$Config->{NoSearch} = ''[/calc]
[search-region more=1
search="
fi=userdb
tf=username
ra=yes
ml=400
"]
[search-list]
[page search="
sp=classmate
fi=userdb
sf=username
se=[item-data userdb username]
"]
[item-data userdb username][/page]<br>
[/search-list]
[/search-region]
On classmate.html I have:
[search-region]
[search-list]
[item-data userdb username]
[/search-list]
[/search-region]
The result page does display without errors, but the username is
blank. Error logs report "Search of 'userdb.txt' denied by NoSearch
directive". It is as if I had not unset the NoSearch directive, but I
have (once, and I've tried to 'unset' it a second time without
success). I know the code works with other databases. I have poured
over the archives and docs. I have spent many hours 'throwing code' at
it. I have tried this with several different catalog installs of IC.
It just don't work.
If someone can offer ANY advice, please do, my hair is gone now.
Thank you.
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 //
//////////////////////////////////////////////////////////////////