Account Options

  1. Sign in
The old Google Groups will be going away soon.
Switch to the new Google Groups.
Google Groups Home
« Groups Home
BlogCFC with FCKEditor/CKEditor or TinyMCE
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  11 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
lahue  
View profile  
 More options Oct 13 2010, 5:25 pm
From: lahue <lahue....@gmail.com>
Date: Wed, 13 Oct 2010 14:25:20 -0700 (PDT)
Local: Wed, Oct 13 2010 5:25 pm
Subject: BlogCFC with FCKEditor/CKEditor or TinyMCE
I have been trying all day to integrate my blog with any WYSIWYG
editor, particularly FCK/CKEditor and TinyMCE.  When implementing FCK
either BlogCFC does not receive the text from the editor or the editor
does not send it because my blog posts come out as undefined.  And as
far as TinyMCE, well, I am not even able to see the editor.

Does anyone have instructions on how to integrate the latest version
of any of these options with the latest BlogCFC version?


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Stephen Moretti  
View profile   Translate to Translated (View Original)
 More options Oct 14 2010, 8:39 am
From: Stephen Moretti <stephen.more...@gmail.com>
Date: Thu, 14 Oct 2010 13:39:27 +0100
Local: Thurs, Oct 14 2010 8:39 am
Subject: Re: BlogCFC with FCKEditor/CKEditor or TinyMCE

On 13 October 2010 22:25, lahue <lahue....@gmail.com> wrote:

> I have been trying all day to integrate my blog with any WYSIWYG
> editor, particularly FCK/CKEditor and TinyMCE.  When implementing FCK
> either BlogCFC does not receive the text from the editor or the editor
> does not send it because my blog posts come out as undefined.  And as
> far as TinyMCE, well, I am not even able to see the editor.

> Does anyone have instructions on how to integrate the latest version
> of any of these options with the latest BlogCFC version?

How are you currently trying to integrate your RTE of choice? Are you
editing the textarea.cfm tag?

Stephen

--
Stephen Moretti
Blog : http://nil.checksite.co.uk/
Twitter : http://twitter.com/mr_nil
More Twitter : http://twitter.com/CFOverflow


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Stephen Moretti  
View profile  
 More options Oct 14 2010, 8:41 am
From: Stephen Moretti <stephen.more...@gmail.com>
Date: Thu, 14 Oct 2010 13:41:05 +0100
Local: Thurs, Oct 14 2010 8:41 am
Subject: Re: BlogCFC with FCKEditor/CKEditor or TinyMCE

On 13 October 2010 22:25, lahue <lahue....@gmail.com> wrote:

> I have been trying all day to integrate my blog with any WYSIWYG
> editor, particularly FCK/CKEditor and TinyMCE.  When implementing FCK
> either BlogCFC does not receive the text from the editor or the editor
> does not send it because my blog posts come out as undefined.  And as
> far as TinyMCE, well, I am not even able to see the editor.

> Does anyone have instructions on how to integrate the latest version
> of any of these options with the latest BlogCFC version?

How are you currently trying to integrate your RTE of choice? Are you
editing the textarea.cfm tag?

Stephen

--
Stephen Moretti
Blog : http://nil.checksite.co.uk/
Twitter : http://twitter.com/mr_nil
More Twitter : http://twitter.com/CFOverflow


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
lahue  
View profile  
 More options Oct 14 2010, 10:01 am
From: lahue <lahue....@gmail.com>
Date: Thu, 14 Oct 2010 07:01:01 -0700 (PDT)
Local: Thurs, Oct 14 2010 10:01 am
Subject: Re: BlogCFC with FCKEditor/CKEditor or TinyMCE
On Oct 14, 7:41 am, Stephen Moretti <stephen.more...@gmail.com> wrote:

Well I followed the tut on http://blog.critical-web.com/blog/index.cfm/2008/1/12/Configuring-FCK...
but the code would not create the editor.  So I used:
<cfmodule
template="../fckeditor/fckeditor.cfm"
basePath="../fckeditor/"
instanceName="myEditor"
value='<p>This is some <strong>sample text</strong>. You are using <a
href="http://www.fckeditor.net/">FCKeditor</a>.</p>'
width="100%"
height="200"


And that created it, but when I submit I either get the error to enter
in body txt or it generates the body as undefined.

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
lahue  
View profile  
 More options Oct 14 2010, 9:58 am
From: lahue <lahue....@gmail.com>
Date: Thu, 14 Oct 2010 06:58:45 -0700 (PDT)
Local: Thurs, Oct 14 2010 9:58 am
Subject: Re: BlogCFC with FCKEditor/CKEditor or TinyMCE
Stephen:  I am  trying to use FCKEditor due to its more extensive
features.  I tried the online tutorials on various CF blogs and none
would generate the editor.  Instead they would produce an error
stating that FCKEditor was undefined.

So I did what the actual FCKEditor site said:
<cfmodule
template="../fckeditor/fckeditor.cfm"
basePath="../fckeditor/"
instanceName="myEditor"
value=''
width="100%"
height="200"


And that successfully create the editor and then I went into entry.cfm
and changed:
</cfoutput><cfmodule template="../tags/textarea.cfm" fieldname="body"
value="#HTMLEditFormat(form.body)#" class="txtArea"><cfoutput>

To:
</cfoutput><cfmodule template="../tags/textarea.cfm" fieldname="body"
value="#form.body#" class="txtArea"><cfoutput>

I've done a little messing around and I either get an error stating to
ender body text or it submits but the blog post is "undefind"

On Oct 14, 7:41 am, Stephen Moretti <stephen.more...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Stephen Moretti  
View profile  
 More options Oct 14 2010, 1:11 pm
From: Stephen Moretti <stephen.more...@gmail.com>
Date: Thu, 14 Oct 2010 18:11:58 +0100
Local: Thurs, Oct 14 2010 1:11 pm
Subject: Re: BlogCFC with FCKEditor/CKEditor or TinyMCE

Well if the body is ending up as undefined then that suggests to me that you
have a JavaScript error in your fck editor implementation.

I might have a quick look at changing my editor to use ckeditor or tinymce
later tonight if I get a chance. It shouldn't be complicated.

Stephen
 On 14 Oct 2010 15:17, "lahue" <lahue....@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
lahue  
View profile  
 More options Oct 14 2010, 2:17 pm
From: lahue <lahue....@gmail.com>
Date: Thu, 14 Oct 2010 11:17:10 -0700 (PDT)
Local: Thurs, Oct 14 2010 2:17 pm
Subject: Re: BlogCFC with FCKEditor/CKEditor or TinyMCE
Ok let me know how it goes and post anything that you find. ;)

On Oct 14, 12:11 pm, Stephen Moretti <stephen.more...@gmail.com>
wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Stephen Moretti  
View profile  
 More options Oct 14 2010, 6:46 pm
From: Stephen Moretti <stephen.more...@gmail.com>
Date: Thu, 14 Oct 2010 23:46:54 +0100
Local: Thurs, Oct 14 2010 6:46 pm
Subject: Re: BlogCFC with FCKEditor/CKEditor or TinyMCE

Sorted...

So I downloaded CKEditor and TinyMCE and had a look at both of them
Boy CKEditor has soooooo many files. I took one look and decided to
implement TinyMCE instead.

It took me about about 20 minutes to get TinyMCE working as the editor
locally.

Its not pretty and there appears to be some kind of theme related javascript
error,  but it works. Attached is my updated textarea.cfm

You need to download the latest tinymce library and extract it into the
includes folder.
You don't need to change the entry.cfm file in the admin folder.

The updated textarea.cfm uses an advanced tinymce config with everything
including the kitchen sink thrown in there, so it doesn't fit the design
properly. With everything in there you will be able to cut out all the
elements that you don't need and leave in those that you don't.

The way I've done this, by putting the tinymce config into the textarea
custom tag, is not good.  With every call to the tag it will insert another
instance of the config and the tinymce library into the head of the entry
form page. It would be better to put the config that you see in the attached
textarea file into the head of the page using the adminlayout.cfm file that
you'll also find in the tags folder.

Hope that helps

Stephen

On 14 October 2010 19:17, lahue <lahue....@gmail.com> wrote:

--
Stephen Moretti
Blog : http://nil.checksite.co.uk/
Twitter : http://twitter.com/mr_nil
More Twitter : http://twitter.com/CFOverflow

  textarea.cfm
4K Download

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Raymond Camden  
View profile  
 More options Oct 14 2010, 6:51 pm
From: Raymond Camden <rcam...@gmail.com>
Date: Thu, 14 Oct 2010 17:51:11 -0500
Local: Thurs, Oct 14 2010 6:51 pm
Subject: Re: BlogCFC with FCKEditor/CKEditor or TinyMCE
Wonder - should I add a FAQ under About? This would be a good FAQ I think.

On Thu, Oct 14, 2010 at 5:46 PM, Stephen Moretti

--
===========================================================================
Raymond Camden, ColdFusion Jedi Master

Email    : r...@camdenfamily.com
Blog      : www.coldfusionjedi.com
AOL IM : cfjedimaster

Keep up to date with the community: http://www.coldfusionbloggers.org


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
lahue  
View profile  
 More options Oct 14 2010, 7:19 pm
From: lahue <lahue....@gmail.com>
Date: Thu, 14 Oct 2010 16:19:17 -0700 (PDT)
Local: Thurs, Oct 14 2010 7:19 pm
Subject: Re: BlogCFC with FCKEditor/CKEditor or TinyMCE
Stephen: Thank you for all your help.  Could you clarify:
"The way I've done this, by putting the tinymce config into the
textarea
custom tag, is not good.  With every call to the tag it will insert
another
instance of the config and the tinymce library into the head of the
entry
form page. It would be better to put the config that you see in the
attached
textarea file into the head of the page using the adminlayout.cfm file
that
you'll also find in the tags folder."

Would it be an option to simply replace the entry.cfm code that calls
textarea.cfm and inset the config you gave me?

On Oct 14, 5:51 pm, Raymond Camden <rcam...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Stephen Moretti  
View profile  
 More options Oct 15 2010, 3:49 am
From: Stephen Moretti <stephen.more...@gmail.com>
Date: Fri, 15 Oct 2010 08:49:35 +0100
Local: Fri, Oct 15 2010 3:49 am
Subject: Re: BlogCFC with FCKEditor/CKEditor or TinyMCE

No. There is no need to edit the entry.cfm file.

The textarea.cfm and adminlayout.cfm files are there to enable you to do
exactly these kinds of enhancements without mutating the underlying
application. By editing the files like entry.cfm you open yourself to a
world of pain when it comes to applying updates and bug fixes.

The tags and pods are the best and intended points at which to introduce
variation into blogcfc.

Hopefully soon there will be a better point of variation for blog themes.
[Hint hint nudge nudge Ray ;)]

Stephen
On 15 Oct 2010 00:19, "lahue" <lahue....@gmail.com> wrote:

===========================================================================


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »