Query extensions from Profile Setting

Post Reply
pete.smith
Posts: 73
Joined: Tue May 17, 2005 2:08 pm

Query extensions from Profile Setting

Post by pete.smith »

I want to be able to read in the "Allowed Extensions" list from the database and print a dd list with it for use in a "refinement" macro that will allow people to JUST search for .doc, xls, etc. How would I do that?
User avatar
mark
Site Admin
Posts: 5519
Joined: Tue Apr 25, 2000 6:56 pm

Query extensions from Profile Setting

Post by mark »

Add SSc_extensions to $y in the init function of search.
Split that on "\space+" to break out the list.
Post Reply