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 ForumsEventsEventsAdmin skinAdmin skin
Previous
 
Next
New Post
9/2/2006 12:13 PM
 
Hi!
Clicking on the event detail link, I am moved to see it in the admin skin
(instead of what all the site is set to.)
Is there any thing to do about it?
Thanks Avi.
 
New Post
9/12/2006 7:21 PM
 
I don't have a solution, but I'd like to add my "me too" to this glaring bug. For me, this is a showstopper - I simply cannot use this module with this behavior. I just upgraded from 4.0.2 to 4.3.4 specifically to see if this bug had been fixed, and I see that it has not. If anyone has a fix, a workaround (other than using the same skin for the site and the amin pages) or a recommended 3rd party event module, I'd love to hear it. Thanks!
 
New Post
9/27/2006 8:29 PM
 
This is a showstopper for me as well.  Has this been repaired or is it planned to be?
 
New Post
9/28/2006 7:07 PM
 
This is due to an error in the core.  There is a call to DotNetNuke.Common.Globals.IsAdminSkin in the initialization of default.aspx.

The fix that I found was to alter the function and recompile.  Below are the original and updated functions.

Original Function
'returns a boolean value whether the page should display an admin skin
Public Function IsAdminSkin(ByVal IsAdminTab As Boolean) As Boolean
Dim AdminKeys As String = "tab,module,importmodule,exportmodule,help"

Dim ControlKey As String = ""
    If Not HttpContext.Current.Request.QueryString("ctl") Is Nothing Then
    ControlKey = HttpContext.Current.Request.QueryString("ctl").ToLower
End If

Dim ModuleID As Integer = -1
    If Not HttpContext.Current.Request.QueryString("mid") Is Nothing Then
    ModuleID = Integer.Parse(HttpContext.Current.Request.QueryString("mid"))
End If

    Return IsAdminTab OrElse (ControlKey <> "" And ControlKey <> "view" And ModuleID <> -1) OrElse (ControlKey <> "" And AdminKeys.IndexOf(ControlKey) <> -1 And ModuleID = -1)
End Function



Updated Function
' returns a boolean value whether the page should display an admin skin
Public Function IsAdminSkin(ByVal IsAdminTab As Boolean) As Boolean
Dim AdminKeys As String = "tab,module,importmodule,exportmodule,help"

Dim ControlKey As String = ""
If Not HttpContext.Current.Request.QueryString("ctl") Is Nothing Then
ControlKey = HttpContext.Current.Request.QueryString("ctl").ToLower
End If

Dim ModuleID As Integer = -1
If Not HttpContext.Current.Request.QueryString("mid") Is Nothing Then
ModuleID = Integer.Parse(HttpContext.Current.Request.QueryString("mid"))
End If

Return IsAdminTab OrElse (ControlKey <> "" And AdminKeys.IndexOf(ControlKey) <> -1 And ModuleID = -1)
End Function


The offending line in the original is highlighted in RED and the correct line is in GREEN.
 
New Post
1/8/2007 3:43 PM
 

 Hi,

There have been 3 or 4 posts regarding this issue, and according to the response below, it is a core issue, not an issue of the events module. Can we get a confirmation on this issue and make a core request change if appropriate?
This issue makes the events module unuseable. 

Is this the correct question to the core team?
"Please allow an option in the module configuration to allow components within the module to operate only within the confines of parent frame for the skin (i.e. Content, Left, Right, etc.). Currently, module subcontrols, when invoked, consume the entire page and do not display other page content outside their parent frame. This would be controlled on a page, per module instance."
 
 

alien0420 wrote
This is due to an error in the core.  There is a call to DotNetNuke.Common.Globals.IsAdminSkin in the initialization of default.aspx.

The fix that I found was to alter the function and recompile.  Below are the original and updated functions.

Original Function


 

'returns a boolean value whether the page should display an admin skin
Public Function IsAdminSkin(ByVal IsAdminTab As Boolean) As Boolean
Dim AdminKeys As String = "tab,module,importmodule,exportmodule,help"

Dim ControlKey As String = ""
    If Not HttpContext.Current.Request.QueryString("ctl") Is Nothing Then
    ControlKey = HttpContext.Current.Request.QueryString("ctl").ToLower
End If

Dim ModuleID As Integer = -1
    If Not HttpContext.Current.Request.QueryString("mid") Is Nothing Then
    ModuleID = Integer.Parse(HttpContext.Current.Request.QueryString("mid"))
End If

    Return IsAdminTab OrElse (ControlKey <> "" And ControlKey <> "view" And ModuleID <> -1) OrElse (ControlKey <> "" And AdminKeys.IndexOf(ControlKey) <> -1 And ModuleID = -1)
End Function



Updated Function
' returns a boolean value whether the page should display an admin skin
Public Function IsAdminSkin(ByVal IsAdminTab As Boolean) As Boolean
Dim AdminKeys As String = "tab,module,importmodule,exportmodule,help"

Dim ControlKey As String = ""
If Not HttpContext.Current.Request.QueryString("ctl") Is Nothing Then
ControlKey = HttpContext.Current.Request.QueryString("ctl").ToLower
End If

Dim ModuleID As Integer = -1
If Not HttpContext.Current.Request.QueryString("mid") Is Nothing Then
ModuleID = Integer.Parse(HttpContext.Current.Request.QueryString("mid"))
End If

Return IsAdminTab OrElse (ControlKey <> "" And AdminKeys.IndexOf(ControlKey) <> -1 And ModuleID = -1)
End Function


The offending line in the original is highlighted in RED and the correct line is in GREEN.
 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsEventsEventsAdmin skinAdmin skin


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