2 of 2
2
LG TinyMCE sometimes not working
Posted: 17 July 2008 12:58 PM   [ Ignore ]   [ # 19 ]  
Lab Assistant
RankRank
Total Posts:  111
Joined  07-24-2007

I JUST got some support from the MC developer and I will share what I learned. Maybe this will help you too!!!! Because his advice fixed me all up with an install of TinyMCE and Imagemanager, and it might help with ibrowser too. (funny you should post about this right now, I JUST finished testing ImageManager and getting it all working great now).

OK, ready for this insane fix? So in the settings for the extension, make sure that the path to the script is http://www.yourdomain.com/path NOT http://yourdomain.com/path. The developer said this:

“The MCImageManager currently doesn’t support domain relaxing. You are loading the tinymce script from:
http://domain.org/scripts/tinymce/jscripts/tiny_mce/tiny_mce.js

“But the admin UI is at: http://www.domain.org/

So it thinks it’s a cross domain call therefore the insert will fail due to browser security reasons.”

I added www. to my script path, it works now, imagemanager is very nicely playing with Tiny, Tiny shows up fine, etc.

Hope this helps people!!! Because I’ve been dealing with Tiny/ibrowser/imagemanager crap for weeks now, and though I am a little chagrined that it’s such a simple fix, I am also soooo relieved!!!

Profile
 
 
Posted: 17 July 2008 01:11 PM   [ Ignore ]   [ # 20 ]  
Lab Assistant
RankRank
Total Posts:  111
Joined  07-24-2007

And client is saying all fixed on his Mac too. Yay!

FTY (edit: FYI) when I fixed the path, it broke the content_css setting until I fixed that path too, putting a www. on it. Must have also had an issue with cross-domain calling.

content_css : 'http://www.domain.org/index.php?css=site/style_select/',

Profile
 
 
Posted: 17 July 2008 01:25 PM   [ Ignore ]   [ # 21 ]  
Lab Assistant
Avatar
RankRank
Total Posts:  201
Joined  12-16-2006

Sweet! Thanks for that!

 Signature 

420 Design - web design + development | EE Pro Network Member

Profile
 
 
Posted: 17 July 2008 01:29 PM   [ Ignore ]   [ # 22 ]  
Lab Assistant
RankRank
Total Posts:  111
Joined  07-24-2007

FYI when I go to my EE install via the non-www version in my browser, it breaks.

1) inform clients they MUST view the website admin pages by way of the www.domain.com url.
or 2) the developer suggests this:

hard code a document.domain into the imagemanager/page/im/index.html.

Like this, add this to the top of index.html file:
[script]
document.document = ‘haitihealth.org’;
[/script]

I have to figure out if there’s a way to access/insert that script into the <head> of the admin pages without hacking into the code, though.

ack the forum won’t allow JS into it - makes sense I guess. it’s:

document.document = 'domain.org';


between the script tags for JS.

Profile
 
 
Posted: 17 July 2008 02:20 PM   [ Ignore ]   [ # 23 ]  
Summer Student
Total Posts:  7
Joined  01-08-2008

Wow .. So many thanks LynneL for your response to my other thread on this.

So many thanks.

Have I thanked you enough?

smile

Profile
 
 
Posted: 17 July 2008 02:29 PM   [ Ignore ]   [ # 24 ]  
Lab Assistant
RankRank
Total Posts:  111
Joined  07-24-2007

Trust me, I felt the same way when the developer sent me that info. I was figuratively dancing on the keyboard with joy and happiness. He probably thought I was insane, LOL.

Profile
 
 
Posted: 17 July 2008 03:59 PM   [ Ignore ]   [ # 25 ]  
Lab Assistant
Avatar
RankRank
Total Posts:  201
Joined  12-16-2006

inform clients they MUST view the website admin pages by way of the www.domain.com url.

Seems like that could be taken care of with some .htaccess magic…

 Signature 

420 Design - web design + development | EE Pro Network Member

Profile
 
 
Posted: 17 July 2008 04:10 PM   [ Ignore ]   [ # 26 ]  
Lab Assistant
RankRank
Total Posts:  111
Joined  07-24-2007

OK yeah, point taken! Of course, never had a use for that before, myself, so I had to look it up, but once I found the requisite syntax, it worked like a charm. Thanks!

Profile
 
 
Posted: 23 July 2008 09:26 AM   [ Ignore ]   [ # 27 ]  
Grad Student
Rank
Total Posts:  52
Joined  01-10-2008

I just had a problem with LG TinyMCE which started to not work all of a sudden. But this problem seems to have gone away now. I log it here in case anyone else experiences it and feels despair!
I am using Firefox 3.0.1 on a Mac 10.5.4
I am working on developing a site and was adding some test posts and then the LG TinyMCE WYSIWYG textarea stopped saving the text I entered into it. So when I hit save it emptied the field of content (the text wasn’t saved on submit).
I tested on Safari and it was working so I just quit and restarted Firefox and it is now working again.

(Oh if only it was that easy, I actually wasted a couple hours changing all sorts of other settings first trying to fix it before thinking of the old ‘turn it off and on again’ trick. will we ever learn?!!)

 Signature 

http://www.gradualism.co.uk/

Profile
 
 
Posted: 19 September 2008 06:10 AM   [ Ignore ]   [ # 28 ]  
Grad Student
Avatar
Rank
Total Posts:  49
Joined  05-21-2007

Ok, providing my client with a way to upload pics from their local machine was driving me nuts, particularly as I don’t have budget to buy an add-on. Then after much messing about with different solutions I found this:

http://tinymce.moxiecode.com/punbb/viewtopic.php?pid=42477

which is both simple and free - my two main criteria.

The only slightly hacky thing you will have to do is edit the ext.tiny_mce.php file around line 40 and add this to call the script:

script type="text/javascript" src="/path/to/tinyupload.js" /script

Make sure this script tag precedes this one:

script type="text/javascript" src="'.trim($this->settings['script_url']).'" /script

* I removed my angle brackets above as I couldn’t find another way to get html into my post.

 Signature 

Twitter | New Release

EE 1.6.4 and PHP 5

Profile
 
 
   
2 of 2
2
 
Post Marker Legend
New Topic New posts Hot Topic Hot Topic with new posts New Poll New Poll Moved Topic Moved Topic Sticky Topic Sticky topic
Old Topic No new posts Hot Old Topic Hot Topic with no new posts Old Poll Old Poll Closed Topic Closed Topic Announcement Announcements
Theme
Change Theme
Visitor Statistics
The most visitors ever was 1149, on July 16, 2007 09:33 AM
Total Registered Members: 65087 Total Logged-in Users: 33
Total Topics: 82228 Total Anonymous Users: 16
Total Replies: 441927 Total Guests: 223
Total Posts: 524155    
Members ( View Memberlist )