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

HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsXMLXMLXSL parametersXSL parameters
Previous
 
Next
New Post
11/25/2006 4:37 AM
 

They need to be predefined inside settings. You are going to explicitly map the calling query string parameter with an xsl argument.  

 
New Post
11/25/2006 6:36 PM
 

Stefan: What do you think of the idea of just passing all of the parameters and values in the query string on to the XSL file? (Or providing a check-box option that does that.)

That assumes that .NET provides a method to get the collection of param/values from the query string. Do you know if you can do this in .NET and/or what the syntax is?


ver 4.3.1 (to 8 July 2006) ver 4.3.2 (to 20 July 2006) ver 4.3.3 (to 5 Aug 2006) ver 4.3.4 (to 20 Sep 2006) ver 4.3.5 (to 25 Dec 2006) ver 4.4.0 (to date)
 
New Post
11/26/2006 7:34 AM
 

HttpRequest.QueryString is of type NameValueCollection, so it would be easy to code.

I don't see any benefits but maybe I am wrong. Can you give me a use case? Contact me at xmlmodule@gmail.com, I am interested in every idea.

 
New Post
11/26/2006 9:11 AM
 

The use case that I am thinking of is when you want to build hyperlinks that refer back to the same page using the XSL and XML files supplied and not edit settings in DotNetNuke.

For example, if you set-up 10 portals which each use 1 external XSL and 1 external XML you don't want to have to go in and edit each portal with new parameters to accommodate a change in 1 place. i.e. an addition of a parameter generated from new data.


ver 4.3.1 (to 8 July 2006) ver 4.3.2 (to 20 July 2006) ver 4.3.3 (to 5 Aug 2006) ver 4.3.4 (to 20 Sep 2006) ver 4.3.5 (to 25 Dec 2006) ver 4.4.0 (to date)
 
New Post
11/26/2006 10:41 AM
 

Ok, I did not think about this scenario before. To be honest, I did not even believe in a need for external xsl scripts and I was near by to remove them. I did not.

The current implemetation of parameters do a bit more than passing through querystrings. You can define static parameters or pass dotnetnuke and user properties into the script. So if the module passed through every query string, it would interfere with the other parameters and  might break the module.

Xml module will support IPortable, so you can export/import your settings. This will help during setup, but it doesn't help for maintance.

I have bad feelings in having indiscriminate pass through parameters and I am not going to add them for the upcoming release.  But I will not totally reject it, I will think about it again. It would be helpful if other users of the xml module would share their thoughts about this topic.

 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsXMLXMLXSL parametersXSL parameters


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