Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#757 2010-06-14 20:17:45

hakjoon
Member
From: Arlington, VA
Registered: 2004-07-29
Posts: 1,634
Website

Re: hak_tinymce WYSIWYG article editor

Do you get the popup? If so check in firebug to see if anything is going wrong with the ajax call.


Shoving is the answer – pusher robot

Offline

#758 2010-06-14 20:45:37

where_is_will
New Member
From: UK
Registered: 2010-02-23
Posts: 7

Re: hak_tinymce WYSIWYG article editor

Hi,

Thanks for the reply. Pop is there just fine, advanced tabs are there etc. I am getting an error on TxpImageDialog which is probably the issue. I’ll need to change the url it uses – from “textpattern” to “editor”. Is that in the plugin or tiny_mce?

Thanks for the help so far.

Cheers,

Will

Last edited by where_is_will (2010-06-14 20:48:25)

Offline

#759 2010-06-14 21:01:02

hakjoon
Member
From: Arlington, VA
Registered: 2004-07-29
Posts: 1,634
Website

Re: hak_tinymce WYSIWYG article editor

That’s in the image plugin so it’s /tiny_mce/plugins/txpimage/js/txpimage.js

This is the line in question I think. I’ll need to see about abstracting that out.


Shoving is the answer – pusher robot

Offline

#760 2010-06-14 21:17:12

where_is_will
New Member
From: UK
Registered: 2010-02-23
Posts: 7

Re: hak_tinymce WYSIWYG article editor

Perfect – that’s got it. Not something that I would have needed to think about if I hadn’t tried to be clever and give them an memorable URL! Thanks for the super-quick fix.

Offline

#761 2010-06-25 15:27:16

simoin
Member
From: Ireland
Registered: 2009-02-10
Posts: 50
Website

Re: hak_tinymce WYSIWYG article editor

Is there anyway of making hak_tinymce output an absolute path to an image rather than a relative path

Offline

#762 2010-06-25 15:32:36

hakjoon
Member
From: Arlington, VA
Registered: 2004-07-29
Posts: 1,634
Website

Re: hak_tinymce WYSIWYG article editor

All you ever wanted to know about tinyMCE and paths

document_base_url is automatically set you Site URL value in preferences.


Shoving is the answer – pusher robot

Offline

#763 2010-06-25 15:37:27

simoin
Member
From: Ireland
Registered: 2009-02-10
Posts: 50
Website

Re: hak_tinymce WYSIWYG article editor

Thanks for the quick reply, I’ll have a look at that.

Offline

#764 2010-06-25 15:41:35

simoin
Member
From: Ireland
Registered: 2009-02-10
Posts: 50
Website

Re: hak_tinymce WYSIWYG article editor

Ok, I see here it says, to all relative URLs to absolute URLs,

relative_urls : false, remove_script_host : true, document_base_url : "http://www.site.com/path1/"

where do I make these changes?

Offline

#765 2010-06-25 15:51:01

hakjoon
Member
From: Arlington, VA
Registered: 2004-07-29
Posts: 1,634
Website

Re: hak_tinymce WYSIWYG article editor

In the boxes where you specify the inits under Extensions -> hak_tinymce


Shoving is the answer – pusher robot

Offline

#766 2010-06-25 23:04:51

simoin
Member
From: Ireland
Registered: 2009-02-10
Posts: 50
Website

Re: hak_tinymce WYSIWYG article editor

Thanks for the help hakjoon, got it working now, much appreciated.

Offline

#767 2010-07-01 08:01:25

gfxx
Member
Registered: 2008-09-04
Posts: 12

Re: hak_tinymce WYSIWYG article editor

redbot wrote:

Hi Patrick,
I have solved all my problems with the image upload. Now everiting works beautifully.
Of course this was not a plugins fault but an oversight on my side, sorry.
I set my test site using virtual host so the correct address should have been http://my_site/textpattern... But soon I forgot so instead I was using http://localhost/my_site/textpattern... and this caused the errors.
Thank you again for the help and sorry for the hassle.

——————

I had the same error and it was solved using “mysite.com” instead of “www.mysite.com” as site path. I have no idea why the “www.” would prevent txpimage from loading correctly but not it works. Though sometimes I’d wish to have my URL with www instead … :)

Offline

#768 2010-07-01 13:25:00

hakjoon
Member
From: Arlington, VA
Registered: 2004-07-29
Posts: 1,634
Website

Re: hak_tinymce WYSIWYG article editor

It has to do with cross site security with ajax. This is not working as expected. I changed the way I was getting the url and it seems to be causing this issue. I’m trying to work on a fix.


Shoving is the answer – pusher robot

Offline

Board footer

Powered by FluxBB