Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...Search (Skin Object)Search (Skin Object)
Previous
 
Next
New Post
1/29/2010 12:30 PM
 

Hi.. I"m trying to add a Search Skin Object.. a couple of things aren't clear;

1.  Where do I configure what page shows the results?

2. How do I skin to make the Search link and image?

Thanks,

Jay

 
New Post
1/29/2010 1:09 PM
 

#2 above is more clear when looking through a skin that does this,  however, it's not clear how the SkinObject is configured to redirect to your custom results page that has the "Search Results" module... there is something I'm missing there.

Thanks,

Jay

 
New Post
1/29/2010 1:58 PM
 

It looks like it's supposed to query for the Results Module - get the tabid - and navigate to it (per search.ascx.vb), however, it's not doing it.  It does it on the host portal, but not on a particular portal.  I've queried the database using the same sproc as the Search Results search done in  search.ascx.vb, and it returns a module id for the search results page results module.. but redirects to the base alias address.

Any ideas?

Thanks,

Jay

 
New Post
1/29/2010 3:18 PM
 

Skin Search object is working locally, so it's something with the redirect in Search.ascx.vb that uses;

Response.Redirect(NavigateURL(searchTabId) & "?Search=" & Server.UrlEncode(searchText))

It's redirecting to the alias base url.

What would I add here to log the URL that is built to the Event Log?

Thanks,

Jay

 

 

 
New Post
1/29/2010 4:00 PM
 

Ok.. figured out how to log;

 

Dim objEventLog As New DotNetNuke.Services.Log.EventLog.EventLogController
                                objEventLog.AddLog("Search Executed", NavigateURL(searchTabId) & "?Search=" & Server.UrlEncode(searchText), PortalSettings, -1, DotNetNuke.Services.Log.EventLog.EventLogController.EventLogType.ADMIN_ALERT)
                                Response.Redirect(NavigateURL(searchTabId) & "?Search=" & Server.UrlEncode(searchText))

http://[ipaddress]/SearchResults/tabid/688/Default.aspx?Search=test

And logged the url.. I can navigate to the url by pasting into the browser, but the redirect is going back to the base url of just http://[ipaddress] instead of the search results page.

Something with portal aliases?  Or IIS configiration?


Thanks,
Jay

 

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...Search (Skin Object)Search (Skin Object)


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out