Small width layout Medium width layout Maximum width layout Small text Medium text Large text
     Search
Downloads Downloads Directory Directory Forums Forums Forge Forge Blogs Blogs        Marketplace Marketplace Careers Program Careers
Community › Forums Register  |  

  Need Help?  
Professional technical support for DotNetNuke is available from DotNetNuke Corporation.
 


  Ads  
Active Modules -- Active Forums for DotNetNuke
 


  Sponsors  

Meet Our Sponsors

MaximumASP
SourceGear - Tools for Developers
.: CounterSoft :.
telerik
ExactTarget email software solutions
Merak Mail Server
 


DotNetNuke Forums
 
  Forum  General DotNetN...  Extend It! (Pro...  writing Javascript in HTML module of dnn
Previous Previous
 
Next Next
New Post 6/11/2008 5:50 AM
User is offline gayatrilaxmi
6 posts
10th Ranked


writing Javascript in HTML module of dnn 

Hi All,

I need to write some javascript code but when I wrote it in the HTML/Text module of dnn it is not working.So where can we write javascript? And also I need to design two registration forms with different fields for two different roles.Is it possible? The two roles after logging in should enter into new different pages assigned to them and those should be personnel to them respectively.But I assigned view permissions to those roles but both the roles are seeing each others pages which should not.Have I done something wrong??Please help me....

 
New Post 6/19/2008 5:55 PM
User is offline b471code3
118 posts
www.froggeyestudios.com
9th Ranked


Re: writing Javascript in HTML module of dnn 

As far as the javascript goes you could write the script in a seperate .js file and save it in the js file of the site.  Then when you create a page needing to reference the .js file go to Admin>Pages and select the page you need, then in the Advanced area find the Page Header Tags and enter your <script></script> tag similar to this:

<script type="text/javascript" language="Javascript" src="~/js/MyJavaScriptFile.js"></script>

 
Previous Previous
 
Next Next
  Forum  General DotNetN...  Extend It! (Pro...  writing Javascript in HTML module of dnn
 


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.

 


DNN SEO
Seablick Consulting specializes in DNN search engine optimization (SEO), DNN consulting, as well as support & training.
seablick.com
Intura Vision / Intura Enterprise
Point-of-Sale and business management applications targeted towards quick service, fast casual and delivery-based restaurant concepts.
www.intura.com
Dnaxp.Net
Dnaxp.Net offers a comprehensive base of information, resources, and support for DotNetNuke.
www.dnaxp.net

DotNetNuke Corporation   Terms Of Use  Privacy Statement
DotNetNuke®, DNN®, and the DotNetNuke logo are trademarks of DotNetNuke Corporation
Hosted by MaximumASP