Ramesh Narasimhan
Nuke Active Member Posts:39
|
12/09/2011 1:32 AM |
|
The Render Mode Option is disabled on my HTML editor.How can i enable it and select RAW Mode.Please reply as early as possible |
|
|
|
|
Joseph Craig DNN MVP Posts:11667
|
12/09/2011 5:55 AM |
|
Which version of DotNetNuke are you using, and which editor are you using? |
|
Joe Craig, Patapsco Research Group Complete DNN Support |
|
|
Ramesh Narasimhan
Nuke Active Member Posts:39
|
12/09/2011 7:28 AM |
|
i'M USING DotNetNuke_Community_06.01.00_Install and the editor which comes with HTML Module. I'm not able include .CSS file or Javascipt file .I move from Rich Text Editor to Basic Text Box but he Render Mode Option is disabled on my HTML editor.How can i enable it and select RAW Mode.Please reply as early as possible |
|
|
|
|
Joseph Craig DNN MVP Posts:11667
|
12/09/2011 7:35 AM |
|
The first thing that you should do is upgrade to 6.1.1. That fixes some bugs and also removes the "feature" that strips javascript from html module contents. |
|
Joe Craig, Patapsco Research Group Complete DNN Support |
|
|
Ramesh Narasimhan
Nuke Active Member Posts:39
|
12/09/2011 7:44 AM |
|
Please let me know the path from where i can download 6.1.1 or How to upgrade it. |
|
|
|
|
Ramesh Narasimhan
Nuke Active Member Posts:39
|
12/09/2011 8:26 AM |
|
When i try to add the following code......... <script language="javascript" type="text/javascript" src="../../js/jquery.js"></script> <br /> <script language="javascript" type="text/javascript" src="../../js/wz_tooltip.js"></script> <br /> <script type="text/javascript"> <br /> $(document).ready( function(){ <br /> var buttons = { previous:$('#lofslidecontent45 .lof-previous') , <br /> next:$('#lofslidecontent45 .lof-next') }; <br /> <br /> $obj = $('#lofslidecontent45').lofJSidernews( { interval : 6000, <br /> direction : 'opacitys', <br /> easing : 'easeInOutExpo', <br /> duration : 1200, <br /> auto : true, <br /> maxItemDisplay : 5, <br /> navPosition : 'horizontal', // horizontal <br /> navigator width : 56, <br /> mainWidth:950, <br /> buttons : buttons} ); <br /> }); <br /> </script> <br /> <br /> It is getting disappeared from the Editor and again in Basic Text Box Render Mode option does not show Up. Please give a solution as soon as possible |
|
|
|
|
Ramesh Narasimhan
Nuke Active Member Posts:39
|
12/09/2011 8:27 AM |
|
I have installed 6.1.1. When i try to add the following code......... <script language="javascript" type="text/javascript" src="../../js/jquery.js"></script> <br /> <script language="javascript" type="text/javascript" src="../../js/wz_tooltip.js"></script> <br /> <script type="text/javascript"> <br /> $(document).ready( function(){ <br /> var buttons = { previous:$('#lofslidecontent45 .lof-previous') , <br /> next:$('#lofslidecontent45 .lof-next') }; <br /> <br /> $obj = $('#lofslidecontent45').lofJSidernews( { interval : 6000, <br /> direction : 'opacitys', <br /> easing : 'easeInOutExpo', <br /> duration : 1200, <br /> auto : true, <br /> maxItemDisplay : 5, <br /> navPosition : 'horizontal', // horizontal <br /> navigator width : 56, <br /> mainWidth:950, <br /> buttons : buttons} ); <br /> }); <br /> </script> <br /> <br /> It is getting disappeared from the Editor and again in Basic Text Box Render Mode option does not show Up. Please give a solution as soon as possible |
|
|
|
|
Joseph Craig DNN MVP Posts:11667
|
12/09/2011 8:52 AM |
|
You can paste your script into the header or footer of the module (Module Settings, Advanced Settings). When you do that, the editor will not alter the text. |
|
Joe Craig, Patapsco Research Group Complete DNN Support |
|
|
Ramesh Narasimhan
Nuke Active Member Posts:39
|
12/12/2011 6:15 AM |
|
< link href="css/style_new.css" rel="stylesheet" type="text/css" /> is not getting applied to the text in an HTML module of a SUB-Page or Child page. I have included in ModuleSettings----> Advanced Settings---->Header. Should i place the CSS files in a specific folder for Child Pages or what?. The same Text in an HTML Module of a parent Page is working fine. Please reply as soon as possible |
|
|
|
|
Ramesh Narasimhan
Nuke Active Member Posts:39
|
12/12/2011 6:17 AM |
|
< link href="css/style_new.css" rel="stylesheet" type="text/css" /> is not getting applied to the text in an HTML module of a SUB-Page or Child page. I have included in ModuleSettings----> Advanced Settings---->Header. Should i place the CSS files in a specific folder for Child Pages or what?. The same Text in an HTML Module of a parent Page is working fine. Please reply as soon as possible |
|
|
|
|
Ramesh Narasimhan
Nuke Active Member Posts:39
|
12/12/2011 6:18 AM |
|
Including a CSS like this "< link href="css/style_new.css" rel="stylesheet" type="text/css" / >" is not getting applied to the text in an HTML module of a SUB-Page or Child page. I have included in ModuleSettings----> Advanced Settings---->Header. Should i place the CSS files in a specific folder for Child Pages or what?. The same Text in an HTML Module of a parent Page is working fine. Please reply as soon as possible |
|
|
|
|
Joseph Craig DNN MVP Posts:11667
|
12/12/2011 8:43 AM |
|
If you want to include a specific css file, it is probably better to do that in your skin file. Look for the 40Fingers Skin Helper. You can also add css to your portal.css file if the changes are more appropriate to the portal than the skin. If the css changes apply to multiple instances of a module, use the module's module.css file. For a specific instance of the module, you can use custom selectors in the portal.css file, or add the styles directly in the header or footer of the module. You should use module-specific selectors to limit the scope of the css. |
|
Joe Craig, Patapsco Research Group Complete DNN Support |
|
|
Ramesh Narasimhan
Nuke Active Member Posts:39
|
12/13/2011 12:45 AM |
|
I've Included the CSS in skin.css. adding the styles directly in the header or footer of the module did not solve the problem. Is the right way of doing |
|
|
|
|
Ramesh Narasimhan
Nuke Active Member Posts:39
|
12/13/2011 1:24 AM |
|
Including the javascript file in the header of the HTML control like this < script language="javascript" type="text/javascript" src="wz_tooltip.js" ></script> does'nt work. Can i pls know in which path should we place the javascript file so that the javascript file is included. |
|
|
|
|
Joseph Craig DNN MVP Posts:11667
|
12/13/2011 6:42 AM |
|
The standard approach would be to place wz_tooltip.js into the js directory. Then the path would be /js/wz_tooltip.js/ |
|
Joe Craig, Patapsco Research Group Complete DNN Support |
|
|
Joseph Craig DNN MVP Posts:11667
|
12/13/2011 6:45 AM |
|
Adding css to the header or footer of a module will affect only that single page. Adding to the skin.css file is appropriate for styles related to the skin -- styles that you want to follow the skin, wherever it is installed. Adding to portal.css is appropriate for styles that should be limited to that particular portal. There are also module.css and container.css files for styles that should go with a particular module or container. |
|
Joe Craig, Patapsco Research Group Complete DNN Support |
|
|
Ramesh Narasimhan
Nuke Active Member Posts:39
|
12/13/2011 7:33 AM |
|
Inspite of Including style as and Javascript as <script language="javascript" type="text/javascript" src="/js/wz_tooltip.js/"></script> in the header part of the HTML Module both are not working. Can u pls tell me what is wrong. |
|
|
|
|
Ramesh Narasimhan
Nuke Active Member Posts:39
|
12/13/2011 7:37 AM |
|
Inspite of Including style as "" and Javascript as <script language="javascript" type="text/javascript" src="/js/wz_tooltip.js/"></script> in the header part of the HTML Module both are not working. Can u pls tell me what is wrong.
|
|
|
|
|
Joseph Craig DNN MVP Posts:11667
|
12/13/2011 7:38 AM |
|
Can I see the site? Do you have a public URL? Can you tell if the script is being loaded? (Using browser developer tools) |
|
Joe Craig, Patapsco Research Group Complete DNN Support |
|
|
Joseph Craig DNN MVP Posts:11667
|
|