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...Using Modules a...Using Modules a...How do I redirect from one DotNetNuke module to another?How do I redirect from one DotNetNuke module to another?
Previous
 
Next
New Post
8/17/2011 8:12 AM
 
thank you for reply sir,

i wrote the code in documentserach(folder) docsearch.ascx
in the artical the code
DotNetNuke.Common.ResolveUrl(Me.TemplateSourceDirectory & "/DynamicControls/control1.ascx")

in my visual studio 2010 its showing "ResolveUrl" is showing error
so i made the code as(searched from internet)

string _DefaultPage = Page.ResolveUrl(this.TemplateSourceDirectory + "/result/Result.ascx");

while i trying this code

string _DefaultPage = Page.ResolveUrl(this.TemplateSourceDirectory + "/result/Result.ascx");

the result string is 

/mysite/DesktopModules/DocumentsSearch/result/Results.ascx

my expected string is
/mysite/DesktopModules/result/Results.ascx

but its giving
/mysite/DesktopModules/DocumentsSearch/result/Results.ascx

so its searching result(folder) in documentsearch(folder)

so if any mistakes in the code please let me know.
 
New Post
8/17/2011 10:48 AM
 
I think you maybe have some misunderstandings about how DNN modules work.

The FOLDER that a module is "stored in" inside /DesktopModules/ bears little or no relationship to the location of the module on your site.

If you have a MODULE that you want to be displayed from DIFFERENT locations there are actually a number of different options depending on your module design.

The simplest option is to place each MODULE on a separate page / tab as part of your website - then add a setting option to the Enterprise Search and Document Search modules that lets you nominate the tabid of the page that the Results page is stored on.

Alternatively - you could change the Results Module to a web control instead of a module - and have both the Search pages = dynamically load the results control and display int when they see search parameters in the current url.

Westa 

 
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Using Modules a...Using Modules a...How do I redirect from one DotNetNuke module to another?How do I redirect from one DotNetNuke module to another?


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