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  |  

AppTheory specializes in solutions based on the DotNetNuke platform and has 2 employees on the DotNetNuke Core Team.
  Ads  
Engage Software - Training Partner for DotNetNuke
 


  Sponsors  

Meet Our Sponsors

Webhost4life, specialists in DNN hosting
Mad Development is a full service interactive agency focusing on the merge of design, technology, e-commerce, and affiliate marketing by providing total website solutions.
AspDotNetStoreFront - E-Commerce by Design - The Leading ASP.NET shopping cart platform for developers!
SteadyRain
DataSprings - Great Ideas. Always Flowing.
R2integrated - formerly bi4ce
 


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.

 


Customer Connect
Customer Connect provides cutting edge solutions that deliver sales, marketing and customer service results.
www.customer-connect.com
TechNexxus
Business process and technology sourcing solutions delivering superior people, process and value. We have used, and continue to use, DNN successfully in numerous client projects to deliver exceptional value. We are proud to support the DNN team and community.
www.technexxus.com
PartnerPoint | Community of Microsoft Partners
PartnerPoint is one of the largest and most active online communities of Microsoft Partners worlwide with over 8,000 members.
www.PartnerPoint.com

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