Hi - I've tried following the instructions from search/help as below, but get the following:
If done via the script, nothing is added to my DNN Search Results page
If done manually, I add the DMX main module to my search page, and get the following error:
An error has occurred.
Error loading bring2mind/dmx/search.ascx
I've checked for bring2mind/dmx/search.ascx and it doesn't exist, hence the error I guess!
Any ideas as functionality wise, my client wants to be able to search their whole site for a piece of content - both web page content and document content. Visitors to their can't be expected to use two different search methods in this day and age!
Many thanks, Simon
Incorporating DMX Search in DNN Search
One of the FAQs of DMX is ‘Does DMX search integrate with DNN search?’ and when the answer is given (‘No’) the next question usually is ‘Why not?’ The reason is the way DNN search was designed. DNN search asks every module for a list of ‘things’ that it can index and an associated key to use in the querystring to link to the original content. Not bad for great many modules. But DMX allows you to define for every single item who is allowed to see it. The DNN search architecture does not allow for the module to tell it who the item is for. Instead, DNN uses the module’s visibility settings to determine who the item is for. In the case of DMX this is wholly inadequate. It would mean everyone would see all documents even when they were not entitled to see them.
So is there a workaround? Well, there is the following possibility: we add something to the ‘Search Results’ page to show DMX content. Whenever a user enters a text in the DNN search box and clicks ‘Search’ the browser is redirected to the Search Results page and the search text is incorporated in the querystring. This we can leverage to search DMX and show results. DMX has a control (Search.ascx) that was designed to do this.
To use the DMX Search control on the Search Results page, you can run a script (DMX Menu: Admin > Run Script) that was designed to do this. Alternatively you can do it by hand. Add an instance of DMX to the Search Results page, open the module settings and set the default control to load to Search.ascx. That should give you the search results for DMX below the regular search results of DNN.