Re: Dot Net Gallery with DNN 3.0 - installs OK and I can add to a page but nothing's there

  •  08-26-2005, 4:28 PM

    Re: Dot Net Gallery with DNN 3.0 - installs OK and I can add to a page but nothing's there

    Adam -
     
    I modified the instructions that came with the demo as follows (you'll see my additions as "JTP" something or other) as there were some ambiguities and other issues with them.  Do you see any of my "enhancements" as potentially causing a problem?
     
    Thanks again -
     
     Jeff
     
    How to Integrate DotNetGallery with DotNetNuke Portal V 3.x .

    1.  Download DotNetGallery(DotNetgallery.zip) from http://cutesoft.net/Downloads/default.aspx

    2.  Download DotNetGallery Wraper for DotNetNuke3 (DotNetNuke3.GalleryWraper.zip) from http://cutesoft.net/Downloads/default.aspx
    JTP: note you need both the gallery and the wrapper; two separate ZIP downloads.

    3.  Unzip the DotNetGallery.zip file

    4.  Unzip the DotNetNuke3.GalleryWraper.zip file

    5.  dotnetgallery\DotNetGallery_Files folder and all file it contains should be deployed to DNN_FOLDER\DesktopModules\dotnetgallery\.

    JTP translation: copy everything from the source folder to a ROOT\DesktopModules\dotnetgallery folder that you create.  Don't put the entire source folder under your folder, just the contents of the source folder.

        dotnetgallery\bin folder and all file it contains should be deployed to DNN_FOLDER\.

    JTP translation: copy everything from the source folder to your existing bin folder under the site root.

    JTP additional step: copy dotnetgallerymodule.ascx from the DNN wrapper ZIP file (it's under desktopmodules\dotnetgallery) to your ROOT\DesktopModules\dotnetgallery folder.

    6.  Open the DesktopModules\dotnetgallery\dotnetgallerymodule.ascx file, specify the image gallery path by modifying the FolderPath property.

    JTP made a GalleryImages folder under the root and referred to it as "~\GalleryImages\" in the ascx file.  Need the tilde to make it work.

    7.  DesktopModules\dotnetgallery\dotnetgallerymodule.ascx should be deployed to DNN_FOLDER\DesktopModules\dotnetgallery\.

    8.  Add new module definition

     a.  Log into your portal using the Host Admin account. From the 'Host' menu, select the 'Module Definitions' menu item.

     b.  Fill in Module Name and Description, then click Update.

     c.  The form should now be extended allowing you to add definitions.
      Enter Gallery as New Definition and click Add Definition to continue.
      The form should extend further, so click Add Control to continue.

     d. From Source you should be able to select a control named DesktopModules\dotnetgallery\dotnetgallerymodule.ascx.
      Select View as Type, and click Update to add the control.

     f.  Now you should be finished, and should be ready to add the DotNetGallery to any tab you want.
     
     
    Please note that:
    If the Image gallery path is not specified correctly, you will get the following error::
     A critical error has occurred.
     The file couldn't be accessed. This may be a security problem.

     
View Complete Thread