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

HomeHomeDNN Open Source...DNN Open Source...Provider and Extension ForumsProvider and Extension ForumsFCKeditorFCKeditorChars Couter (Max Length)Chars Couter (Max Length)
Previous
 
Next
New Post
9/18/2007 10:50 AM
 

Hi,
I have found this plugin for fckEditor Max Length an chars couter, and would be nice integrate it in dnn fck provider.
I looked a bit into the code but I think it is not very easy to integrate.
The Fckeditor control render the control in IFrame not as TextArea; so the code reported by plugin author sound like inadeguate. 
Some suggestions?
Tanks in advance
Fausto

 
New Post
9/21/2007 11:12 PM
 

There are a few plug ins available to count chars entered into the FCKeditor. They are listed in the plug-ins page at www.fckeditor.net

We are not including external plug-ins into the install package because we cannot guaranty future compatibility of those plug ins (Most of them are not being actively developed).

You can install them if you want/need them, but your will need to re-configure the FCKeditor after each upgrade.


Locopon
Free modules: E-commerce, Complete localization (Portal, page, module settings, skins, etc.), Secure Login, and more
http://dnn.tiendaboliviana.com
 
New Post
9/21/2007 11:35 PM
 

There are a few plug ins available to count chars entered into the FCKeditor. They are listed in the plug-ins page at www.fckeditor.net

We are not including external plug-ins into the install package because we cannot guaranty future compatibility of those plug ins (Most of them are not being actively developed).

You can install them if you want/need them, but your will need to re-configure the FCKeditor after each upgrade.


Locopon
Free modules: E-commerce, Complete localization (Portal, page, module settings, skins, etc.), Secure Login, and more
http://dnn.tiendaboliviana.com
 
New Post
10/22/2007 5:35 AM
 

Couldn't  you implement your own count chars function for DNN?
And then make it available through the custom editor settings.

We've had a question from one of our customers to, to limit the amount of text for each HTML/Text module.
It would look like a nice new feature for the editor.

Here is a similar function from another editor:

 <script type="text/javascript" language="javascript">
 var _lastValue="";
 
 function GetTextArea() {
  return document.forms["form1"].elements["filecomment"];
 }
 
 window.onload=function WindowLoad(event) {
  //get pointer to text control:
  var objTextArea=GetTextArea();
  
  //check if exists:
  if (!objTextArea) {
    ].value);
  
  //check if exceeded:
  if (strValue.length >= maxChars) {
   if (_lastValue.length != strValue.length) {
    //crop to maximum size:
    objTextArea.value = strValue.substr(0, maxChars);
   }
   strValue=objTextArea.value;
  }
  
  //store last value:
  _lastValue = strValue;
  
  //set container text:
  objSpan.innerHTML = (maxChars-strValue.length)+" character to go....";
 }
 
 function TextareaPaste(event)
 {
  //initiate keypress and keyup events:
  var s1=setTimeout("TextareaKeyPress();", 100);
  var s2=setTimeout("TextareaKeyUp();", 500);
 }
 
 function InArray(arr, key) {
  for (var i=0; i<arr.length; i++) {
   if (arr[i] == key)
    return true;
  }
  return false;
 }
 </script>

And then:

    <textarea name="comment" cols="40" rows="4" MaxChars="150"></textarea>
  <br />
   <span id="comment_charsCount">150 characters to go...</span> 

 

 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Provider and Extension ForumsProvider and Extension ForumsFCKeditorFCKeditorChars Couter (Max Length)Chars Couter (Max Length)


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