Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#925 2011-07-15 16:11:10

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

Re: hak_tinymce WYSIWYG article editor

@az: have you tried the TinyMCE forums they might be of more help. I have no idea how it plays with UTF-8 and stuff.


Shoving is the answer – pusher robot

Offline

#926 2011-07-16 11:45:35

jayrope
Plugin Author
From: Berlin
Registered: 2006-07-06
Posts: 687
Website Mastodon

Re: hak_tinymce WYSIWYG article editor

Thank you for pointing me to the paste page at tinymce.moxiecode.com, Patrick.
I had unfortunately missed the note about the TinymCE 3.x branch update in v.05 of your plug, so was assuming i might have to use simplepaste instead. Thanx again.


A hole turned upside down is a dome, when there’s also gravity.

Offline

#927 2011-07-18 19:24:11

laptophobo
Member
Registered: 2010-03-01
Posts: 216
Website

Re: hak_tinymce WYSIWYG article editor

Hey Patrick. Do you have instructions for the swap image function? Can’t seem to locate them and can’t seem to figure it out on my own. (I know, I’m hopeless.)

Thanks,


Living the Location-Independent Life: www.NuNomad.com

Offline

#928 2011-07-19 19:02:59

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

Re: hak_tinymce WYSIWYG article editor

I’ve never actually used it. It’s just part of the original advimage plugin so i kept it in there. It probably just writes a bunch of inline js (boo)


Shoving is the answer – pusher robot

Offline

#929 2011-07-22 17:55:58

laptophobo
Member
Registered: 2010-03-01
Posts: 216
Website

Re: hak_tinymce WYSIWYG article editor

Hi Patrick,
(Thanks for the above reply. I’ll just ignore that option for now.)
Anyway, this is my new problem. I created the website on local host, which is where I inserted the images using hak_tinymce. When I upload it to the server, it still reads my local host path. I did read the thread on this (in http://forum.textpattern.com/viewtopic.php?pid=230911) and tried all the various solutions, but the images don’t convert to the correct path. My site is sitting in this location: www.mywebsite.org/newsite/. The Site URL (in Admin>Preferences) is set to mywebsite.org/newsite. And I’ve tried variations of this in the “Initialization of Body Editor” field:

theme : “advanced”,
language : “en”,
relative_urls : true,
remove_script_host : true,
document_base_url : “http://www.mywebsite.org/newsite/”

and…

theme : “advanced”,
language : “en”,
relative_urls : false,
remove_script_host : true,
document_base_url : “http://www.mywebsite.org/newsite/”

Can you see what I might I be doing wrong?

Thanks for your great plug-in,
Richard

Last edited by laptophobo (2011-07-24 17:09:59)


Living the Location-Independent Life: www.NuNomad.com

Offline

#930 2011-07-24 18:19:23

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

Re: hak_tinymce WYSIWYG article editor

Something seems to not be working right. The first example should do what you want. Let me see if I find anything.


Shoving is the answer – pusher robot

Offline

#931 2011-07-25 08:23:37

Piru
Member
From: Antwerp, Belgium
Registered: 2008-06-03
Posts: 17
Website

Re: hak_tinymce WYSIWYG article editor

convert_urls : false

was the one I needed. I tried all possible combinations on the Moxiecode site before asking, bus I seem to have skipped the last one. Thanks for the help!

Offline

#932 2011-07-25 13:58:30

jayrope
Plugin Author
From: Berlin
Registered: 2006-07-06
Posts: 687
Website Mastodon

Re: hak_tinymce WYSIWYG article editor

Is there any way to have hak_tinymce read name, alt and caption data from the txp image database, when inserting images using the tinymce image list?


A hole turned upside down is a dome, when there’s also gravity.

Offline

#933 2011-07-25 15:07:22

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

Re: hak_tinymce WYSIWYG article editor

They are available. Alt should be inserted already is it not happening? Caption is getting passed to the function but it’s not actually doing anything with it :(

What do you have in mind?


Shoving is the answer – pusher robot

Offline

#934 2011-07-25 15:18:59

laptophobo
Member
Registered: 2010-03-01
Posts: 216
Website

Re: hak_tinymce WYSIWYG article editor

Piru,
Are you saying that I should try inserting the tag “convert_urls : false” somewhere in the Initialization of Body Editor window? If so, do you have a complete example?
Thanks,


Living the Location-Independent Life: www.NuNomad.com

Offline

#935 2011-07-25 15:38:53

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

Re: hak_tinymce WYSIWYG article editor

@laptophobo: in your case I think you want convert_urls:true although that is the default this should (and it used to work) give you relative urls.

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

I spent the day yesterday fighting with Vagrant to get my PHP dev environment up and running again. I’ll try to poke around as soon as I can.


Shoving is the answer – pusher robot

Offline

#936 2011-07-25 16:17:25

laptophobo
Member
Registered: 2010-03-01
Posts: 216
Website

Re: hak_tinymce WYSIWYG article editor

Patrick. No luck on that either. In fact, whenever I deviate from the default settings I lose my Style tool bar on Write page, and the content reverts to Textile mode.


Living the Location-Independent Life: www.NuNomad.com

Offline

Board footer

Powered by FluxBB