HomeHomeDotNetNuke Forg...DotNetNuke Forg...Provider and Extension ForumsProvider and Extension ForumsClientAPIClientAPIPrototype or Mootools with DNN ClientAPI?Prototype or Mootools with DNN ClientAPI?
Previous
 
Next
New Post
7/18/2007 9:44 AM
 

I'm not sure I follow your reply, Charlie? I did reread Jon's post. How would I use Prototype or the ".Extend" method to make mootools behave?

Another quick questions since you have been down this path before, Smooth Slideshow and I assume Mootools are under the GNU License agreement. Can I legally use this in my custom DNN module and sell my module without providing the source code to my custom module?

 
New Post
7/18/2007 9:55 AM
 

Prototype and MooTools are distinct Javascript frameworks... my (and Jon's) point above is that Jon already used the Prototype "Extend" method in his function declaration for "$()" in the DNN ClientAPI, so the functionality available in the Prototype framework should be available if you desire to use this framework.  As for MooTools, you'd possibly have to change Jon's core code in the DNN CientAPI to get it to work... I wasn't able to.

I'm not sure about the licensing aspect... I assume including the source would be a safe bet, but you should probably check that out with someone more qualified to answer.



Charlie Solomon
Beldin Technologies
Custom Software Solutions, DotNetNuke Modules
www.beldintechnologies.com
 
New Post
7/18/2007 3:49 PM
 

From what you have told me, this is the offending javascript in my mootools code. To get this to work, I don't want to modify the DNN javascript at all. Now, I'm at a loss as to how to modify this to fix the problem. Recall that the exception happens when I hover over a menu item such as "Home".

function

$(el){if ($type(el) == 'string') el = document.getElementById(el);if ($type(el) == 'element'){if (!el.extend){return el;else return false;

 

 

 

Unload.elements.push(el);

el.extend = Object.extend;

el.extend(Element.prototype);

}

 

}

};

 
New Post
9/11/2007 3:47 AM
 

Hello,

I also trying to use Mootools in my portals.

I do not understand what I have to do with the code you post above.

Can you please give me some more details

Thansk

 
New Post
3/21/2008 8:13 AM
 

I made mootools compatible with dnn finally. Please visit How to avoid conflict between mootools library with dnn javsscript library?


Over 20 + professional dnn modules for News Article, Store, Video Gallery, Photo Gallery, Ultra Flash Player,YouTube Video, Image Slide show, Skin Chameleon and much more from DnnModule.com
 
Previous
 
Next
HomeHomeDotNetNuke Forg...DotNetNuke Forg...Provider and Extension ForumsProvider and Extension ForumsClientAPIClientAPIPrototype or Mootools with DNN ClientAPI?Prototype or Mootools with DNN ClientAPI?


Forum Policy

These Discussion Forums are dedicated to the discussion of the DotNetNuke Web Application Framework.

For the benefit of the community and to protect the integrity of the project, 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 DotNetNuke.
2. Discussion or promotion of DotNetNuke product releases under a different brand name are strictly prohibited.
3. No Flaming or Trolling.
4. No Profanity, Racism, or Prejudice.
5. Site Moderators have the final word on approving/removing a thread or post or comment.
6. English language posting only, please.

Attend A Webinar
Free Demo Site
Download DotNetNuke Professional Edition Trial
Have Someone Contact Me
Have Someone Contact Me

Like Us on Facebook Join our Network on LinkedIn Follow DNN Corporate on Twitter Follow DNN on Twitter

Advertisers

DotNetNuke Scoop!

Sponsors

DotNetNuke Corporation

DotNetNuke Corp. is the steward of the DotNetNuke open source project, the most widely adopted Web Content Management Platform for building web sites and web applications on Microsoft. Organizations use DotNetNuke to quickly develop and deploy interactive and dynamic web sites, intranets, extranets and web applications. The DotNetNuke platform is available in a free Community and subscription-based Professional and Enterprise Editions with an Elite Support option. DotNetNuke Corp. also operates the DotNetNuke Store where users purchase third party apps for the platform.