Just a quick question.. have you tried another browser?
"He can have a lollipop any time he wants to. That's what it means to be a programmer."
-
MODX Staff
- 1,535 Posts
Hi Pattie,
Looks like you’ve got the setup okay to me ... at least the config is fine else you wouldn’t have got this far.
I’ve looked into this and it seems that the problems are Netscape-specific. I’ve trapped a few issues, but one seems to be with the tinyMCE core code somewhere along the line which is not going to be easy to sort out (it just happens to be the code that inserts the link when ’Insert’ is clicked and affects the other default plugins as well - it only happens when Netscape is running on the FF engine, switching to the IE engine seems to function okay)
Anyway, so far the tree has been displaying okay for me - my suggestion is to doublecheck that all the files have been copied over correctly (especially the dtree.js file). It could be that something has gotten corrupted somewhere along the line.
Other than that, it would be helpful if you could post the contents of the javascript console so I can see if anything is reported there that may hint to the problem. (PM me if you want) Clear the console and then just refresh the edit page where tinyMCE is running and run the plugin, then copy the contents that are displayed to get rid of any non-modxlink errors.
Thanks,
Garry
Garry Nutting
Senior Developer
MODX, LLC
Email:
[email protected]
Twitter: @garryn
Web: modx.com
-
☆ A M B ☆
- 24,524 Posts
I have occasionally had problems especially with js files having the line breaks not recognized or corrupted on upload, and any comments in the code suddenly comment out the rest of the entire file. Usually using an editor that can convert all line breaks to UNIX line breaks on the original file, then uploading it again, fixes the problem. Oddly enough, this can happen on only one or two files in an entire package upload.
-
MODX Staff
- 1,535 Posts
Any chance of emailing me a full-sized screenshot - I can’t read the above screenshots. (my email address is listed on my forum profile).
Scrub that, it’s just the forum shrinking the image.
Thanks,
Garry
Garry Nutting
Senior Developer
MODX, LLC
Email:
[email protected]
Twitter: @garryn
Web: modx.com
-
MODX Staff
- 1,535 Posts
Okay, it looks like you have an apostrophe in one of the page titles that isn’t being escaped properly by the plugin - should be easily fixable but I won’t be able to try it out until I get home from work in a few hours.
I’ll post back later once I’ve tested out a fix.
Garry Nutting
Senior Developer
MODX, LLC
Email:
[email protected]
Twitter: @garryn
Web: modx.com
Looks really good, Garry! So far it’s working pretty good! Question though is though, do you think this works well enough to submit to the Repository as an official add-on to the TinyMCE plugin? If so, I’ll help you add it in. However, if you think that others might run into issues with it then perhaps we need to hold off temporarily on adding it in and just keep it on the forums. Your call! I’ll continue testing it though.
Jeff Whitfield
"I like my coffee hot and strong, like I like my women, hot and strong... with a spoon in them."
Cool, Garry! Also, a quick tip for ya...if you want to fix problems with the use of quotes in page titles, trying using the htmlspecialchars function on the pagetitle variable in your PHP file:
htmlspecialchars($docs['pagetitle'],ENT_QUOTES)
I did this on a similar deal and it worked great!
L8R!
Jeff
Jeff Whitfield
"I like my coffee hot and strong, like I like my women, hot and strong... with a spoon in them."