Page view counter

How to integrate a js file with DNN?

Last post 07-18-2006 8:22 AM by duchoangle. 7 replies.

Sort Posts:

  • How to integrate a js file with DNN?

    07-16-2006, 10:52 AM
    • Loading...
    • duchoangle
    • Joined on 06-22-2006, 11:22 PM
    • Posts 8
    • Points 40

    Hi, I have a js file called viettyping.js which allows people to type Vietnamese in the text box. Now I want to add it to all the pages in my site. Please help me!

    Thanks alot!

  • Re: How to integrate a js file with DNN?

    07-16-2006, 12:06 PM
    • Loading...
    • J7Mitch
    • Joined on 10-19-2002, 1:23 PM
    • Posts 2,632
    • Points 13,145
    • TrustedFriends-MVPs
  • Re: How to integrate a js file with DNN?

    07-17-2006, 1:03 AM
    • Loading...
    • duchoangle
    • Joined on 06-22-2006, 11:22 PM
    • Posts 8
    • Points 40
    Thanks!
  • Re: How to integrate a js file with DNN?

    07-17-2006, 3:30 AM
    • Loading...
    • duchoangle
    • Joined on 06-22-2006, 11:22 PM
    • Posts 8
    • Points 40

    Is it possible to integrate with FCK editor too? That js file doesn't seem to work with FCK

    Best regards,

    Duc

  • Re: How to integrate a js file with DNN?

    07-17-2006, 9:49 AM
    • Loading...
    • J7Mitch
    • Joined on 10-19-2002, 1:23 PM
    • Posts 2,632
    • Points 13,145
    • TrustedFriends-MVPs

     

    That code will link any .JS file in the <head> section.

    I'd have to know more about your particular situation and what exactly is not working to help you further, but it could be that something in your .JS file needs to be executed onload of the document.

    John M.

    DotNetNuke Module for Performance
  • Re: How to integrate a js file with DNN?

    07-18-2006, 1:24 AM
    • Loading...
    • duchoangle
    • Joined on 06-22-2006, 11:22 PM
    • Posts 8
    • Points 40

    It's like this :

    I'm using FCK editor 1.0.0.4 (just released) under DNN 3.3.1

    When I use the text box, the js file which I add to the skin doesn't have any effect in the editing area. But in other text boxes, like in the search panel or in the basic text box, that js file works well.

    I think the code must be put in some place that will load the js file inside the editing area. But I just don't know where to put it. I'm definitely not a programmer.

    Anyway, thanks so much for helping me!

  • Re: How to integrate a js file with DNN?

    07-18-2006, 1:39 AM
    • Loading...
    • J7Mitch
    • Joined on 10-19-2002, 1:23 PM
    • Posts 2,632
    • Points 13,145
    • TrustedFriends-MVPs

     

    It sounds like the FCK editor is keeping it from working then.

    John M.

    DotNetNuke Module for Performance
  • Re: How to integrate a js file with DNN?

    07-18-2006, 8:22 AM
    • Loading...
    • duchoangle
    • Joined on 06-22-2006, 11:22 PM
    • Posts 8
    • Points 40

    There's a tutorial which guides you to make a plugin for FCK. I'm working on it at the moment

    You can find that documentation at wiki.fckeditor.net

    Best regards

    Duc

Page 1 of 1 (8 items)