Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeUsing DNN Platf...Using DNN Platf...Using Modules a...Using Modules a...How to Edit <head>How to Edit <head>
Previous
 
Next
New Post
10/14/2010 2:32 AM
 
Sorry Chris I forgot some info. I'm injecting a javascript into the <head></head> which is called from some HTML in a standard HTML module in the default.aspx page.
 
New Post
10/14/2010 2:45 AM
 
i think there is a limitation on Page Head, so that it truncates data in half way.

Or-Rouge Team Or-Rouge
Personally recommend Hostgator for hosting single or multiple DotNetNuke Websites.
DotNetNuke Tips and Tutorials
Install DotNetNuke to Godaddy root
DotNetNuke Türkçe Hakkinda Hersey
 
New Post
10/14/2010 11:44 AM
 
Are you using the module settings to do this (Header section, under Advanced Settings)? 

Chris Paterra

Get direct answers to your questions in the Community Exchange.
 
New Post
10/14/2010 12:46 PM
 
Logon as Admin > In the Ribon Bar - Current Page > Edit > Advanced Settings > Page Header Tags > Insert JavaScript > Update. There is no indication that the script will be truncated. It is not all that long either.

<!-- CU3ER content JavaScript part starts here -->
<script type="text/javascript" src="js/swfobject.js"></script> 
<script type="text/javascript" src="js/CU3ER.js"></script> 
<script type="text/javascript">
 // add your FlashVars
 var vars = { xml_location : 'CU3ER-config.xml' };
 // add Flash embedding parameters, etc. wmode, bgcolor...
 var params = { bgcolor : '#ffffff' };
 // Flash object attributes id and name
 var attributes = { id:'CU3ER', name:'CU3ER' };
 // dynamic embed of Flash, set the location of expressInstall if needed
 swfobject.embedSWF('CU3ER.swf', "CU3ER", 640, 480, "10.0.0", "js/expressinstall.swf", vars, params, attributes );
 // initialize CU3ER class containing Javascript controls and events for CU3ER
 var CU3ER_object = new CU3ER("CU3ER"); </script> 
<!-- CU3ER content JavaScript part ends here -->
 
New Post
10/15/2010 3:34 PM
 
Okay I have solved this problem. Seems that the database field [dbo].[ald_Tabs].[PageHeadText] is nvarchar(500). This could be changed to nvarchar(MAX) to accommodate script longer than 500 as was mine, hence it being trauncated. What I did was to remove all comments from the script getting under 500. Might help others with the same problem. Merv
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Using Modules a...Using Modules a...How to Edit <head>How to Edit <head>


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, 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 DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out