Small width layout Medium width layout Maximum width layout Small text Medium text Large text
     Search
Downloads Downloads Directory Directory Forums Forums Forge Forge Blogs Blogs        Marketplace Marketplace Careers Program Careers
Community › Forums Register  |  

$4.95 Windows Hosting at Webhost4life.com
  Ads  
 


  Sponsors  

Meet Our Sponsors

eUKhost.com is commited to offer exceptional UK Windows Web Hosting solutions with quality 24x7 technical support.Our plans support ASP.Net, ASP, ASP.NET Ajax extensions, XML, MSSQL, MySQL, PHP,DNN, multiple domains and Shared SSL as standard.
SmarterTools
Verndale
The Official Microsoft ASP.NET Website
Portal Webhosting - Hosting For Developers
Red-Gate Software
 


DotNetNuke Forums
 
  Forum  DotNetNuke® Pro...  XML Module [Lea...  Addin Features
Previous Previous
 
Next Next
New Post 5/25/2006 9:52 AM
User is offline Sam Kuehn
11 posts
10th Ranked


Addin Features 

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 10:04 AM
User is offline simon thompson
18 posts
10th Ranked


Re: Addin Features 

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 11:56 AM
User is offline Sam Kuehn
11 posts
10th Ranked


Re: Addin Features 

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 3:11 PM
User is offline simon thompson
18 posts
10th Ranked


Re: Addin Features 

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 8:00 AM
User is offline Sam Kuehn
11 posts
10th Ranked


Re: Addin Features 
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 Previous
 
Next Next
  Forum  DotNetNuke® Pro...  XML Module [Lea...  Addin Features
 


Forum Policy

These Discussion Forums are dedicated to the discussion of the DotNetNuke Web Application Framework.

For the benefit of the community and to protect the integrity of the project, 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 DotNetNuke.
2. Discussion or promotion of DotNetNuke product releases under a different brand name are strictly prohibited.
3. No Flaming or Trolling.
4. No Profanity, Racism, or Prejudice.
5. Site Moderators have the final word on approving/removing a thread or post or comment.
6. English language posting only, please.

 


The Forerunner Network
The Forerunner Network consists of a group of Dynamic Website & Interactive Membership Portal hosting services that are managed by Forerunner Communications. Our services span a wide range of markets and enable individuals, organizations and businesses to build and manage dynamic, interactive portals and websites.
The Forerunner Network
ZLDNN.COM
We provide commercial DotNetNuke modules.
www.zldnn.com
DNNhost Scandinavia
SUPER fast QuadCore DELL servers, MSSQL servers, DotNetPanel, daily backup, Check out our customers websites
DNNhost.dk

DotNetNuke Corporation   Terms Of Use  Privacy Statement
DotNetNuke®, DNN®, and the DotNetNuke logo are trademarks of DotNetNuke Corporation
Hosted by MaximumASP