Forums
Subject: Input Only Mode
Prev Next
You are not authorized to post a reply.

Author Messages
MadWolfUser is Offline

Posts:3

Send A Message
06/13/2008 11:46 AM  

I need to use the input only mode for the search, so that I can have the search box on all pages that show the results on a dedicated results page. 

I checked the box for input only mode and supplied a url to the page where I want to show the results.

When a search is executed, i end up on the home page. 

Playing around with it, it seems that ?search=SEARCHSTRING is simply appended to the destination url?

I am not using the friendly urls in DNN, so the url already has ?tabid=XXX  and I believe that the additional ? is causing the navigation to fail and default to the home page.

Is my assumption accurate?  do I have to enable the friendly urls in DNN to hacve this feature work, or am I missing something else? 

Should the destination url be a full url or relative? 

please advise.

Thanks,


Bill Jones

MadWolfUser is Offline

Posts:3

Send A Message
06/13/2008 11:49 AM  

this is the url I end up with following the search and forwarding:

http://HOST NAME/Default.aspx?tabid=542?search=test

Jeff SmithUser is Offline

Posts:210

Send A Message
06/13/2008 12:44 PM  
Currently we have the following which does not work with non-friendly URLs:
searchUrl = string.Concat(searchResultsUrl, "?search=", Uri.EscapeDataString(query));

I just changed to code to do this:
int nPos = searchResultsUrl.IndexOf("?");

if (nPos >= 0)
{
searchUrl = string.Concat(searchResultsUrl, "&search=", Uri.EscapeDataString(query));
}
else
{
searchUrl = string.Concat(searchResultsUrl, "?search=", Uri.EscapeDataString(query));
}

It will be in the nxt release early next week.
You are not authorized to post a reply.
Forums > Modules > Venexus Search > Input Only Mode



 Print   

Top Posts
VenexusBookmarks 4.1.2 Released by tmunn
A new version of  Venexus Bookmarks module is now available for downlo...
VenexusBookmarks 4.1.2 Released by tmunn
A new version of  Venexus Bookmarks module is now available for downlo...
VenexusSeamus 4.1.5 Released by tmunn
A new version of VenexusSeamus, the search engine aggregation module utiliz...
VenexusSeamus 4.1.5 Released by tmunn
A new version of VenexusSeamus, the search engine aggregation module utiliz...
Venexus WebControls 4.1.7 Released by tmunn
A new version of  Venexus WebControls was released today.  This r...
  

 © 2007 - Venexus, Inc. - All rights reserved Terms Of Use | Privacy Statement