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