New Module: Content Links

Last post 03-30-2006 3:26 PM by nitro001. 20 replies.

Sort Posts:

  • Smile [:)] New Module: Content Links

    04-04-2005, 11:48 AM
    • Participant
      1,335 point Participant
    • nitro001
    • Member since 07-28-2003, 7:32 AM
    • Kent, OH
    • Posts 267

    All,

    Finally with the release of DNN 3.0.13, the last bug was fixed in my content links module (which turned out to be a bug in DNN and not in my module).

    Content Links 1.0 is a module based off of the Links module in the Core framework.

    http://www.registrars.kent.edu/home/ContentLinks.zip

    It allows you to not only open a link in a new window or existing window, but not in any of the available panes in your skin.  When adding and editing links, you will have a drop down which dynamically pulls from the available panes for the current skin, then you can select a pane.  When you click on the link, it will look and see if a pane has been selected, if so, inject an iframe into the pane with the same height/width/frame of the pane so it looks like it belonged there.  And unlike previous beta versions I have released for DNN 2.1.2, and 1.0, this new version does not require any modification of your skin with javascript.

    Included in the zip file is the source code for the module and a PA to install.
    I created the PA with the help of the new Create PA function in DNN and added the
    SQL scripts manually to the zip file.

    It currently piggybacks off of the existing Links table, and modifies it to add a ViewPane column for this module, which is removed when the module is uninstalled.

    Let me know what you think.  And it does need DNN 3.0.13, DNN 3.0.12 would re-render the entire portal inside the pane instead of just the page you requested, whereas DNN 3.0.13 fixes this.

    Nathan

     

  • Re: New Module: Content Links

    04-04-2005, 12:35 PM
    • Member
      35 point Member
    • arthurfuxake
    • Member since 03-14-2005, 8:59 PM
    • Posts 7

    As soon as I add this modile to a page, I get...

    Unhandled error loading module.
    DotNetNuke.Services.Exceptions.ModuleLoadException: E:\dotnetnuke\DesktopModules\ContentLinks\Links.ascx ---> System.IO.FileNotFoundException: E:\dotnetnuke\DesktopModules\ContentLinks\Links.ascx at System.Web.UI.TemplateParser.GetParserCacheItem() at System.Web.UI.TemplateControlParser.CompileAndGetParserCacheItem(String virtualPath, String inputFile, HttpContext context) at System.Web.UI.TemplateControlParser.GetCompiledType(String virtualPath, String inputFile, HttpContext context) at System.Web.UI.UserControlParser.GetCompiledUserControlType(String virtualPath, String inputFile, HttpContext context) at System.Web.UI.TemplateControl.LoadControl(String virtualPath) at DotNetNuke.UI.Skins.Skin.InjectModule(Control objPane, ModuleInfo objModule, PortalSettings PortalSettings) --- End of inner exception stack trace ---

    Also I cannot delete this erroring module from the page, without deleting the module itself from Module Definitions !!!

    3.0.13 (upgraded from 3.0.12)

    Steve

  • Hmm [^o)] Re: New Module: Content Links

    04-04-2005, 4:05 PM
    • Participant
      1,335 point Participant
    • nitro001
    • Member since 07-28-2003, 7:32 AM
    • Kent, OH
    • Posts 267

    Dang it, I thought I fixed that issue:

    I had it before, see this thread: http://forums.asp.net/876700/ShowPost.aspx

    What happened was I had some comments in the links.ascx page, but I removed them and it worked.  Try to clear your cache under Host -> Host Settings -> Advanced -> Other Settings -> Performance Settings property.  I set mine to light caching, then clear cache.

    Also did you use the PA or the source code?
    You might want to re-compile it from source code if you havne't done that yet.

    Problem is every system is different. Sad [:(]

    Thanks,

    Nathan

  • Re: New Module: Content Links

    04-04-2005, 7:28 PM
    • Member
      285 point Member
    • big146
    • Member since 04-01-2004, 11:32 PM
    • Posts 57
    I got the same Error.Had to delete the module.I cleared cache...reinstalled the Module and got the same thing again.
  • Re: New Module: Content Links

    04-05-2005, 11:37 AM
    • Participant
      1,335 point Participant
    • nitro001
    • Member since 07-28-2003, 7:32 AM
    • Kent, OH
    • Posts 267

    With the help of cmaican in the other post to jar my memory, I re-wrote the databinding portion of the links module and placed it in a try/catch block to see if it helps.  I have updated the ContentLinks.zip and PA file with the new files.  Hopefully this will fix the problem, or at least narrow it down with a better error message.

    Thanks,

    Nathan

  • Re: New Module: Content Links

    04-06-2005, 12:06 AM
    • Member
      25 point Member
    • mperillo
    • Member since 09-04-2004, 3:07 AM
    • Posts 5

    I've redownloaded the contentlinks.zip file and used the PA, however I'm still getting the same error as the one mentioned..

    Unhandled error loading module.
    DotNetNuke.Services.Exceptions.ModuleLoadException: E:\Domains\triocom.com\wwwroot\DesktopModules\ContentLinks\Links.ascx ---> System.IO.FileNotFoundException: E:\Domains\triocom.com\wwwroot\DesktopModules\ContentLinks\Links.ascx at System.Web.UI.TemplateParser.GetParserCacheItem() at System.Web.UI.TemplateControlParser.CompileAndGetParserCacheItem(String virtualPath, String inputFile, HttpContext context) at System.Web.UI.TemplateControlParser.GetCompiledType(String virtualPath, String inputFile, HttpContext context) at System.Web.UI.UserControlParser.GetCompiledUserControlType(String virtualPath, String inputFile, HttpContext context) at System.Web.UI.TemplateControl.LoadControl(String virtualPath) at DotNetNuke.UI.Skins.Skin.InjectModule(Control objPane, ModuleInfo objModule, PortalSettings PortalSettings) --- End of inner exception stack trace --

     

  • Re: New Module: Content Links

    04-21-2005, 4:58 PM
    • Contributor
      6,910 point Contributor
    • codegalaxy
    • Member since 06-29-2004, 5:00 PM
    • Topeka (Alma), Kansas
    • Posts 1,475
    Ever figure this out?
    Dylan Barber
    read my stupid blog http://codemypantsoff.com
    Pants Optional!
  • Re: New Module: Content Links

    04-21-2005, 7:56 PM
    • Member
      25 point Member
    • mperillo
    • Member since 09-04-2004, 3:07 AM
    • Posts 5

    Haven't figured it out yet.

  • Re: New Module: Content Links

    04-21-2005, 8:56 PM
    • Contributor
      6,910 point Contributor
    • codegalaxy
    • Member since 06-29-2004, 5:00 PM
    • Topeka (Alma), Kansas
    • Posts 1,475

    Any hope that nitro will have it int he next few days?

     

    Dylan Barber
    read my stupid blog http://codemypantsoff.com
    Pants Optional!
  • Re: New Module: Content Links

    04-26-2005, 5:11 PM
    • Contributor
      6,910 point Contributor
    • codegalaxy
    • Member since 06-29-2004, 5:00 PM
    • Topeka (Alma), Kansas
    • Posts 1,475

    <bump>

    Nitro?

    Dylan Barber
    read my stupid blog http://codemypantsoff.com
    Pants Optional!
  • Re: New Module: Content Links

    04-27-2005, 8:06 AM
    • Participant
      1,335 point Participant
    • nitro001
    • Member since 07-28-2003, 7:32 AM
    • Kent, OH
    • Posts 267

    I'm still here.

    Haven't had time to work on it, under a couple of deadlines and have two 10 page papers, and one 3-5 page paper due in two weeks. (Working on my master's Degree).

    If I get a chance this afternoon, I will look at it.  Only problem is my install is working correctly.
    I am bringing up another test DNN 3 server and hopefully then I will get the error to debug it.

    Last time I got the error, It was a caching problem, so not sure what it could be now.

  • Indifferent [:|] Re: New Module: Content Links

    06-24-2005, 10:33 AM
    • Participant
      1,335 point Participant
    • nitro001
    • Member since 07-28-2003, 7:32 AM
    • Kent, OH
    • Posts 267
    Well,

    I performed an upgrade to DNN 3.1.0 and since they broke out all the modules better and created a nice feature to create PA's, I re-wrote the ContentLinks module, streamlining it a little and removing unneeded references, then repackaged as a PA and as Source code.

    I have used the Module installer and it installed almost fine on my production server.
    It has a problem with the older version of the module, so it gets an error when it tries to create the ModuleDefinition,
    It does copy the files and updates the SQL and created a duplicate entry in my modules list, so all I had to do was re-associate the ModuleDefinition from the older version to the newer version, I did this through SQL Query Analyzer on the ModuleDefinitons table, by updating the DesktopModuleID to reflect the new module.  The DesktopModuleID can be found in the DesktopModules table.  If you want to try this, make sure you have a backup of the database before you do this just in case.

    For new installs, this shouldn't be an issue.

    Besides optimization listed above, I have overhauled the SQL script for installs/uninstalls to make sure it doesn't delete the Links table when removing if the Links module is installed.


    I replaced the zip file referenced in the first post with the newer version.

    Lets hope this works better.
    Nathan
  • Re: New Module: Content Links

    07-18-2005, 10:53 AM
    • Member
      15 point Member
    • dwbell99
    • Member since 10-17-2003, 12:05 AM
    • Posts 3

    When installing the ContentLinkPA to DNN version 3.0.13 I get the following:

     ... Info Loading ContentLinks.dnn
    Info File ContentLinks.dnn read successfully
    EndJob Reading files done.
     
    StartJob Reading DNN file
    Failure The element 'folder' has invalid child element 'foldername'. Expected 'description'. An error occurred at , (6, 8).
    Failure The 'foldername' element is not declared. An error occurred at , (6, 8).
    Failure The 'modulename' element is not declared. An error occurred at , (7, 8).
    Failure The element 'module' has invalid child element 'cachetime'. Expected 'controls'. An error occurred at , (16, 12).
    Failure The 'cachetime' element is not declared. An error occurred at , (16, 12).
    Failure ExceptionSystem.Exception: Dnn load failed, aborting at DotNetNuke.Modules.Admin.ResourceInstaller.PaDnnAdapter_V2.ReadDnn() at DotNetNuke.Modules.Admin.ResourceInstaller.PaInstaller.Install()
     
    Any ideas ?

    Thanks,

    Dave

  • Re: New Module: Content Links

    07-18-2005, 10:12 PM
    • Contributor
      7,345 point Contributor
    • nbc
    • Member since 06-29-2002, 12:06 AM
    • Perth, Western Australia
    • Posts 1,469
    Dave
    You are installing on 3.0.13?
    3.1 has some extra functionality ie cachetime etc so the module you are loading is looking to declare these elements in the dnn file. You could hack around possibly but the easy fix is to upgrade to 3.1.
  • Re: New Module: Content Links

    08-02-2005, 12:02 PM
    • Member
      15 point Member
    • dwbell99
    • Member since 10-17-2003, 12:05 AM
    • Posts 3

    I installed 3.1 and the module loaded without error.

    I have assigned All Users with View Module permissions. However, when I assign a link from the Content Links module (that is located in the Left pane) to display the in the Content in the Content Pane, the result is not displayed when the associated link is clicked. I have tried this on a hosted version of 3.1 and a local version of 3.1 with the same results.

    If I assign edit permissions to the all users group, the results will display in the Content Pane.

    Any idea why this is happening?

    thanks,

    Dave



     

Page 1 of 2 (21 items) 1 2 Next >