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 ForumsXMLXMLAddin FeaturesAddin Features
Previous
 
Next
New Post
5/25/2006 11:52 AM
 

Could somebody add this code to the end of Page_Load event to the "offical" version of this module?

                    Dim xslArg As New System.Xml.Xsl.XsltArgumentList
                    xslArg.AddParam("TabID", "", TabId.ToString())
                    xslArg.AddParam("TabName", "", PortalSettings.ActiveTab.TabName)

                    Dim UserInfo As Entities.Users.UserInfo = Entities.Users.UserController.GetCurrentUserInfo
                     'This probably doesn't need a try catch but you get the idea could check for null or whatever it returns when nobody is logged in.
                    Try
                        xslArg.AddParam("UserID", "", UserInfo.UserID)
                        xslArg.AddParam("Username", "", UserInfo.Username)
                    Catch ex As Exception
                        'No User logged in...nothing we can do.
                    End Try

                    For Each item As String In Request.QueryString.Keys
                        xslArg.AddParam(item, "", Request.QueryString.Item(item))
                    Next

                    xmlContent.TransformArgumentList = xslArg

it allows you to add parameters in your xsl file like:
<xsl:for-each select='branch[@description = $TabName]'>

I know this has allowed me much more flexiblity with this module.

Thanks

 
New Post
5/25/2006 12:04 PM
 

I agree is the need for this feature.  Although would need the ability to turn on and off otherwise it would take more resources while it failed or everybody would have to have a full set of parameters in their XSLT files.

I have offered my help with taking this module forward but without replay and there is currently no developers assigned to this modules so not sure waht is going on...

 

 
New Post
5/25/2006 1:56 PM
 

I think that you should take it over.  As far as I can tell it has not been changed or updated for sometime.  This is unfortunate because with the param feature this is this is a really great module.  I use it all the time!  I am having a hard time getting the source to load in vs 2005 plus I am a c# guy so I don't think I would be right for the job.  That said, somebody needs to take it over.  I nominate sse@chi.swan.ac.uk :)!

 
New Post
5/25/2006 5:11 PM
 

We are developing a clinical portal to bring together data from all over, the key thing that makes this module so good is if you can alter the parameters, not just to the XSLT as you suggest but also to the URL path for both the XML documents and the XSLT document.  As our XML is generated on demand from the remote sources by passing parameters we are able to alter the contact and alter the results to match the user, etc.

This module should really allow DNN to be a portal and not just a content management system. 

I will email the core team again and see what they ahve to say about taking this module forward.

 

 
New Post
5/26/2006 10:00 AM
 
I agree 100%!  I hope they allow the somebody to take this forward.  I think that with the mentioned features this becomes the one of the best modules shipping with DNN.
 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsXMLXMLAddin FeaturesAddin Features


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