TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

Members
  • Total Members: 3,973
  • Latest: NonStop
Stats
  • Total Posts: 196,231
  • Total Topics: 21,353
  • Online today: 391
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 0
  • Guests: 179
  • Total: 179

WYSIWYG Editor Not Working [SOLVED]

Started by brianjw, July 28, 2008, 01:38:18 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

brianjw

I did everything that you have said, G6 and then did the edit JPDeni linked to and I still have the same issue.

brianjw


G6Cad

What have you tried and what is your setup at this point ?
We know as much as there are a few bugs, but they are working with the fixes applied in the links we gave, so it must be something else that might be the issue for you.

Post up your setup, and what you have tried so far, also what settings you have and what you try to do.

brianjw

Well I tried to upload TP 1.0.5 over the current TP 1.0.5. Deleted all files that were not in 1.0.5 and were in 0.9.8. Applied the fix JPDeni posted. [That is what I have tried.]

Again I have the Search Engine Friendly URLs mod installed. What settings do you want to see?
What is the setup of which you are speaking of?

G6Cad

I need to know how it behave with just SMF and TP and all things set to default ( theme Core and no other mods )

brianjw

Ok, I will try it tomorrow. I have little time now to do something that time consuming.

brianjw

I have found a way and have solved it thanks to Dannii! The mod creator of Pretty Urls. He told me he found still a few "FCKeditor/" parts that did not have boardurl in front of them. He told me to look in the TP Sources Files and I did.

I found it in TPmodules.php (as well as the TPortalAdmin.php fix which was already on the site).
Here is the fix:

Open TPmodules.php in ./Sources/
Code (FIND) Select

// FCKeditor
if($context['TPortal']['use_wysiwyg']=='2' || $context['TPortal']['use_wysiwyg']=='1')
$context['html_headers'] .= '
<script language="JavaScript" type="text/javascript">
function FullEditor(BodyName)
{
var FCKContent = new FCKeditor(BodyName) ;
FCKContent.BasePath = "FCKeditor/" ;
FCKContent.ToolbarSet = "Default"
FCKContent.Height = "400";
FCKContent.Width = "100%";
FCKContent.ReplaceTextarea() ;
}
function SmallerEditor(BodyName)
{
var FCKComment = new FCKeditor(BodyName) ;
FCKComment.BasePath = "FCKeditor/" ;
FCKComment.ToolbarSet = "Default"
FCKComment.Height = "200";
FCKComment.Width = "100%";
FCKComment.ReplaceTextarea() ;
}
</script>';

Code (REPLACE) Select

// FCKeditor
if($context['TPortal']['use_wysiwyg']=='2' || $context['TPortal']['use_wysiwyg']=='1')
$context['html_headers'] .= '
<script language="JavaScript" type="text/javascript">
function FullEditor(BodyName)
{
var FCKContent = new FCKeditor(BodyName) ;
FCKContent.BasePath = "' . $boardurl . '/FCKeditor/" ;
FCKContent.ToolbarSet = "Default"
FCKContent.Height = "400";
FCKContent.Width = "100%";
FCKContent.ReplaceTextarea() ;
}
function SmallerEditor(BodyName)
{
var FCKComment = new FCKeditor(BodyName) ;
FCKComment.BasePath = "' . $boardurl . '/FCKeditor/" ;
FCKComment.ToolbarSet = "Default"
FCKComment.Height = "200";
FCKComment.Width = "100%";
FCKComment.ReplaceTextarea() ;
}
</script>';


Thanks,
brianjw

Bluto

I thought you were trying to fix the WYSIWIG editor?

G6Cad

Brian

The changes you show here are exactly the same as JP Deni already pointed you to in this very topic first reply

http://www.tinyportal.net/index.php?topic=24158.0

See her reply here ??

http://www.tinyportal.net/index.php?topic=25168.msg201882#msg201882


brianjw

My bad. It appears I didn't read all of the topic. :P ::)

This website is proudly hosted on Crocweb Cloud Website Hosting.