Products » Support Forums 

Support Forums

HomeHomeDotNetNuke Modu...DotNetNuke Modu...Url MasterUrl MasterModule Pages - trouble with multiple variablesModule Pages - trouble with multiple variables
Previous
 
Next
New Post
2/13/2010 12:54 AM
 

We have a module for our products. The module lists products by category, and product-id.

 

An example URL is

Product Page

http://localhost/Default.aspx?tabid=431

Product Category

http://localhost/Default.aspx?tabid=431&MethodologyID=1

Product Item

http://localhost/Default.aspx?tabid=431&MethodologyID=1&TestID=2145

 

The problem we are having with the rewriter is that it's only rewriting the tabidid

so http://localhost/Default.aspx?tabid=431 becomes http://localhost/Catalog.aspx

We are having trouble making the URL

http://localhost/Catalog/Category-Method/Test-Product.aspx

Am I missing something?

Thanks,

Mike

 
New Post
2/13/2010 3:59 AM
 

mike wrote
 

An example URL is

Product Page

http://localhost/Default.aspx?tabid=431

Product Category

http://localhost/Default.aspx?tabid=431&MethodologyID=1

Product Item

http://localhost/Default.aspx?tabid=431&MethodologyID=1&TestID=2145

 

The problem we are having with the rewriter is that it's only rewriting the tabidid

so http://localhost/Default.aspx?tabid=431 becomes http://localhost/Catalog.aspx

We are having trouble making the URL

http://localhost/Catalog/Category-Method/Test-Product.aspx

/default.aspx?tabid=431 will become /catalog.aspx as you have described.

If you are using the DotNetNuke.Common.Globals.NavigateUrl() call for your product/catalog Urls, you should get Urls that look like this:

/catalog/methodologyId/1/TestId/245.aspx

If you want a Url like localhost/Catalog/Category-Method/Test-Product.aspx then you will have to call the NavigateUrl method with parameters like 'Category-Method','Test-Product'.

The module simply outputs the parameters in the same way they are provided.

 
New Post
2/17/2010 7:09 PM
 

Thanks!

 
Previous
 
Next
HomeHomeDotNetNuke Modu...DotNetNuke Modu...Url MasterUrl MasterModule Pages - trouble with multiple variablesModule Pages - trouble with multiple variables


Support Guidelines.. Please read before posting

To get support on iFinity products and services, please search the forums for the the answer to the problem you are seeking. If you cannot find a solution, post a question in the relevant forum.   Ensure that you specify the relevant versions of the problem, and the actual error message or a detailed description of the problem.    You will need to register with this site to post on the forum.  If you have a Microsoft Live (Hotmail/Passport) account you can use that.  If you have a Open Id account you can use that.  If you neither of these, you will need to register a user Id and password.

Please note : If you are posting a new thread for the Url Master module, please include the following information where applicable:

- Url Master version

- DotNetNuke version

- Example Url where possible

- If there is an error, please post the full error text and/or stack trace (from the DotNetNuke event log).