Do modules have to build URL's with DNN's NavigateURL() function?

Nov 11, 2013 at 4:06 PM
Hi,

I haven't looked through all the source for this but is this url rewriter rewrite url's built using the DNN NavigateURL() function?

I ask because I'd like to build some custom providers for modules I have built with xMod Pro which can not build URL's using the NavigateURL function, so if this is doing it some other way like in the response buffer that would be amazing!

Thanks
Coordinator
Nov 11, 2013 at 5:19 PM
Hi,

Yes, this url rewriter rewrite url's built using the DNN NavigateURL() .

This is the standard way to generate urls in DNN and which relies on the configured url rewriter.

Th rewriter have to parts :
1) Friendly provider (called from NavigateURL to generate the friendly url)
2) Rewriter module (which rewrite the friendly url to query parameters)

If it is not possible to use NavigateURL() , you can simulate the rewriter in xMod Pro template to generate a friendly url.

And use the rewriter only for part 2) rewrite the friendly url to query parameters

Regards,
Sacha
Nov 12, 2013 at 2:27 PM
OK Thanks, You've saved me a lot of time reading code!