Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#157 2006-07-12 23:15:43

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

Re: hak_tinymce WYSIWYG article editor

I had my priviledges set up wrong. I never realized you applied them to the function not the callback and this is the first time I have a callback that isn’t the same name as the function.

I posted 0.6.1 up. If you previously installed 0.6 just re-install the plugin file. Nothing changed in TinyMCE.


Shoving is the answer – pusher robot

Offline

#158 2006-07-13 06:26:52

beztak
Member
From: Czech Republic
Registered: 2005-07-21
Posts: 184
Website

Re: hak_tinymce WYSIWYG article editor

Great, everything work. Thank you.

Offline

#159 2006-08-03 21:36:24

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

Re: hak_tinymce WYSIWYG article editor

New 0.6.2 update that fixes an issue if your installation does not define doc_root in config.php. Only needed if you are getting doc_root related warnings.


Shoving is the answer – pusher robot

Offline

#160 2006-09-01 00:52:33

mrdale
Member
From: Walla Walla
Registered: 2004-11-19
Posts: 2,215
Website

Re: hak_tinymce WYSIWYG article editor

Hi Hak, great plugin.

Let’s say I have a bunch of domains at my host. Is it possible to set up a global scripts folder and reference it with each of the domains in which I have Textpattern installs.

Let’s say the absolute url of my domain is /users/home/myUser/domains/myDomain.com/public_html/textpattern
and I store a global tiny_mce at /users/home/myUser/globals/tiny_mce/tiny_mce.js

I’ve tried this setup and it doesn’t want to work, any ideas?

Offline

#161 2006-09-01 01:02:52

wcardinal
Member
Registered: 2005-07-16
Posts: 17

Re: hak_tinymce WYSIWYG article editor

the directory has to be web accessible and u would have to reference it thru an http:// address

Last edited by wcardinal (2006-09-01 01:03:17)

Offline

#162 2006-09-01 01:24:28

mrdale
Member
From: Walla Walla
Registered: 2004-11-19
Posts: 2,215
Website

Re: hak_tinymce WYSIWYG article editor

OK, thanks wcardinal. I got it to work that way, but the extension panel still reports that it can’t find the file via the http based url that I specified.

Hak, is this worth a patch?

Offline

#163 2006-09-01 01:27:06

wcardinal
Member
Registered: 2005-07-16
Posts: 17

Re: hak_tinymce WYSIWYG article editor

there may also still be an issue with www vs. not using it.

Offline

#164 2006-09-04 00:19:17

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

Re: hak_tinymce WYSIWYG article editor

The extension panel just does a basic check for the file, all it does is look relative to /textpattern/ and relative to $path_to_site, if the http:// path is valid everything will be ok, even though the extension panel says it’s not. I think checking if the http:// path is correct requires certain options be turned on for the PHP configuration which I’m not sure if I want get into dealing with, but if it’s thought to be important enough I can add it.

Can you reference the /globals/ directory from every domain? You can run into cross site scripting protections if you try to access JS files with domains that don’t match. For example if the Javacript points to www.mydomain.com and you are using mydomain.com the JS will fail due to browser protections for XSS attacks, so using relative links is best.

Can you create symbolic Links? That would be another easy way to have one central install for multiple domains.


Shoving is the answer – pusher robot

Offline

#165 2006-09-05 09:51:40

Algaris
Member
From: England
Registered: 2006-01-27
Posts: 553

Re: hak_tinymce WYSIWYG article editor

Hi

I’m testing hak_tinymce with the 4.0-20060831 pre-release. Everything is working fine apart from the Insert/Edit Image dialogue box. Every time I use it I get the following results:

clicky
clicky

Well after doing some testing it appears to work fine in IE6 but not in my installation of Firefox 1.5.0.6. The problem only occurs when I have the Adblock extension (v0.5.3.043) running. Even Adblock Plus (v0.7.1.2) seems to cause this too.

Last edited by Algaris (2006-09-05 14:15:34)

Offline

#166 2006-09-05 16:36:09

renobird
Member
From: Gainesville, Florida
Registered: 2005-03-02
Posts: 786
Website

Re: hak_tinymce WYSIWYG article editor

Hi Patrick,

Once again. Amazing Plug-in! On Page 5 of this thread, you gave me instructions on how to convert textile articles to “leave text unotuched” so the editor would load on older articles. That worked great for the install I was working on at the time.

Now I’m on another site…were all the articles were originally created with “Convert Linebreaks”, and I can’t seem to get the editor to show by default on those articles. Any suggustions?

Everything else is working perfectly!

Cheers.

Offline

#167 2006-09-05 17:47:28

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

Re: hak_tinymce WYSIWYG article editor

Algaris wrote:
Well after doing some testing it appears to work fine in IE6 but not in my installation of Firefox 1.5.0.6. The problem only occurs when I have the Adblock extension (v0.5.3.043) running. Even Adblock Plus (v0.7.1.2) seems to cause this too.

This seems to be an issue with AdBlock. It appears to be keeping the language packs from loading. This thread on the tinymce forum suggests changing the regex to exclude tinymce.


Shoving is the answer – pusher robot

Offline

#168 2006-09-05 17:48:43

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

Re: hak_tinymce WYSIWYG article editor

renobird wrote:
On Page 5 of this thread, you gave me instructions on how to convert textile articles to “leave text unotuched” so the editor would load on older articles. That worked great for the install I was working on at the time.

Now I’m on another site…were all the articles were originally created with “Convert Linebreaks”, and I can’t seem to get the editor to show by default on those articles. Any suggustions?

Tom, just do the same thing you did before but change textile_body and textile_excerpt from 2 to 0 instead of from 1 to 0


Shoving is the answer – pusher robot

Offline

Board footer

Powered by FluxBB