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

HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0Create DNN File from Module MissingCreate DNN File from Module Missing
Previous
 
Next
New Post
1/2/2008 5:06 PM
 

Not sure if this is the right place to ask this, but I recently upgraded from DotNetNuke 4.55 to 4.8. My entire site consists of around 15 custom modules that I have written. There used to be a link under Host/ Module Definitions, that allowed you to create the DNN file and an installable Zip file for any given Module. For some reason I can't seem to find that anymore. Does anyone know where that went? Any help would be greatly appreciated!

 
New Post
1/10/2008 1:14 AM
 

Not sure if this will help but I have noticed that you have to have a DNN manifest file in the DesktopModules/Your Module folder for the create module package option to appear.

I hope this helps.


Dan5150
 
New Post
1/11/2008 10:24 AM
 

Actually, I figured out what the issue was. In the admin\ModuleDefinitions\EditModuleDefinition.ascx.vb file the following line is not working correctly:

Public ReadOnly Property ModuleActions() As ModuleActionCollection Implements Entities.Modules.IActionable.ModuleActions
            Get
                Dim objDesktopModules As New DesktopModuleController
                Dim mid As Integer
                If Not (Request.QueryString("desktopmoduleid") Is Nothing) Then
                    mid = Int32.Parse(Request.QueryString("desktopmoduleid"))
                Else
                    mid = Null.NullInteger
                End If
                Dim objDesktopModule As DesktopModuleInfo = objDesktopModules.GetDesktopModule(mid)
                Dim Actions As New ModuleActionCollection
                'If (Not objDesktopModule Is Nothing) AndAlso Request.IsLocal Then

                I changed the line to:
                If (Not objDesktopModule Is Nothing) Then
                    If Not objDesktopModule.IsAdmin Then
                        'Create the DirectoryInfo object for the folder
                        Dim folder As New DirectoryInfo(Common.Globals.ApplicationMapPath & "\DesktopModules\" & objDesktopModule.FolderName)
                        If folder.Exists Then
                            Actions.Add(GetNextActionID, Services.Localization.Localization.GetString("PrivateAssemblyCreate.Action", LocalResourceFile), ModuleActionType.AddContent, "", "", EditUrl("desktopmoduleid", mid.ToString, "package"), False, SecurityAccessLevel.Host, True, False)
                        End If
                    End If
                End If
                Return Actions
            End Get
        End Property

Once I made that change, the Create Module Package link showed up correctly when you are on the Edit Module Definition Page.

 
New Post
1/11/2008 12:33 PM
 


Michael Washington
http://ADefWebserver.com
www.ADefHelpDesk.com
A Free Open Source DotNetNuke Help Desk Module
 
New Post
1/11/2008 3:12 PM
 

Actually I think that is a new "feature" added in the 04.08.00 version. Although I can't find the forum post offhand, I recall that there was some discussion of the danger of allowing a host user (who was not a module developer) to create a module package from an existing module then distribute it or try to re-install it.  Apparently as a quick solution, the Request.IsLocal check was added to this line with the assumption (probably true in most cases) that a developer would be working on a local installation.


Bill, WESNet Designs
Team Lead - DotNetNuke Gallery Module Project (Not Actively Being Developed)
Extensions Forge Projects . . .
Current: UserExport, ContentDeJour, ePrayer, DNN NewsTicker, By Invitation
Coming Soon: FRBO-For Rent By Owner
 
Previous
 
Next
HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0Create DNN File from Module MissingCreate DNN File from Module Missing


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