Select the search type
  • Site
  • Web
Search
You are here:  Support/Forums
Support

Bring2mind Forums

Invoke Search from another module
Last Post 04/25/2008 1:11 PM by Rob Ralston. 4 Replies.
Sort:
PrevPrev NextNext
You are not authorized to post a reply.
Author Messages
Rob Ralston
Basic Member
Basic Member
Posts:164


--
03/16/2008 3:06 PM

Hi Peter,

I am working with a client that is requesting more creative ways to organize information accesss for users to find what they need. This site has several different types of content pertaining to different products. e.g., videos, service manuals, etc.

With regard to documents stored in DMX, one thought is a clickable link (e.g., an http link in a text module) which would "somehow" invoke a particular DMX instance on the same page to search for all documents with a particular word in the title and display the results.

(In some ways, I think it may be similar to the concept of how you integrate DMX with the DNN portal search.)

Is this something I can do now (the http link idea), or would it require changes to DMX or custom coding on my part to make this work?

Thank you,

Rob Ralston

Peter Donker
Veteran Member
Veteran Member
Posts:4536


--
03/17/2008 6:48 PM
Hi Rob,

Indeed this is what happens in the 'DNN search integration'. Set up a DMX instance that defaults to the search page (search.ascx). This control will look for the 'search' parameter in the querystring. This way you can fire into it with the search qeury set. Unfortunately it is not more advanced than this. There is no multiple search and/or combination stuff. It just goes through all the text based fields and looks for the 'search' parameter.

Cheers,
Peter
Rob Ralston
Basic Member
Basic Member
Posts:164


--
04/24/2008 7:17 PM

Hi Peter,

I've actually been using this now with relatively good results on a DMX 3 installation, and look forward to using it on DMX 4 as soon as we can figure out why the Integrated DNN search is not working for me (from my other posts in this forum.)

Anyway, since this works with a specific instance of DMX on a page, configured with the Startup screen set to Search.ascx, I'm wondering if you would consider providing additional module settings options for search criteria.

For example, could you allow the admin to configure the module so that instead of doing a "contains" search on all of the text fields, could you provide check boxes to determine which field(s) should be used for this module instance?

I'm asking this because in my current use on DMX3 it is causing the search to find documents that ideally would not be found. This is occuring because of the search on the Original filename, in this particular scenario. (Note: I am asking for this for DMX4, I'm not asking you to change DMX3).

So, if I could tell the DMX instance to only search on Title, or (Title OR Keywords) for example, that would help a lot for this client's application.

I am thinking this would only be effective when Search.ascx is used, but I guess it wouldn't necessarily have to be limited to that case.

If this is not the best way to handle this need, would a programmatic approach be better, using your API (not that I am a coder)?

Thanks for your consideration.

Rob Ralston

Peter Donker
Veteran Member
Veteran Member
Posts:4536


--
04/25/2008 11:57 AM
Rob,

Funny, I was thinking the same thing. A list of 'standard fields' to include in the default search. I intend to include this some time.

Peter
Rob Ralston
Basic Member
Basic Member
Posts:164


--
04/25/2008 1:11 PM

That's great to hear. My client will be appreciative to know that.

Thanks.

Rob

You are not authorized to post a reply.