Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#151 2006-07-11 16:08:50
Re: hak_tinymce WYSIWYG article editor
Oh, I was so excite that I’m not read what’s really new in your crazy updates and I hurry to install it :-)
But… Now everything works. But only with images that are uploaded via TXP image upload and it doesn’t search for the files in the images root. Usually people that work in TXP admin in certain projects upload images only via FTP (due to lot of images). So question is easy, how to browse FTP directory…
Last edited by beztak (2006-07-11 16:10:07)
Job: Plugo – tvorba eshopu
Projects: Czech free fonts
Offline
#152 2006-07-11 16:58:56
Re: hak_tinymce WYSIWYG article editor
No way right now. That’s something I want to add, but I wasn’t sure how to implement it. I had to set a cut off at some point or else this thing was never going to go out.
Would it be necessary to browse both the TXP categories and the file system or would it acceptable to do one or the other?
Shoving is the answer – pusher robot
Offline
#153 2006-07-11 17:02:54
Re: hak_tinymce WYSIWYG article editor
Another option also is to use something like tinyMCPUK which has a file system based image browser. It should work fine with the integration since the distributed TinyMCE is un-modified.
Shoving is the answer – pusher robot
Offline
#154 2006-07-11 17:25:39
Re: hak_tinymce WYSIWYG article editor
hakjoon wrote:
Would it be necessary to browse both the TXP categories and the file system or would it acceptable to do one or the other?
I think that more acceptable would be to do one or the other. In fact I never use TXP image upload function.
But your plugin works well and it’s not big handicap because I think that exist some plugin to upload a lot of images in one step. I will try it.
Job: Plugo – tvorba eshopu
Projects: Czech free fonts
Offline
#155 2006-07-12 18:35:24
Re: hak_tinymce WYSIWYG article editor
I test your new plugin on website in one my project and when somebody log in TXP and isn’t publisher (e.g. is staff writer) tinymce didn’t load and IE show some JS error. It’s my fault again?
Job: Plugo – tvorba eshopu
Projects: Czech free fonts
Offline
#156 2006-07-12 20:56:49
Re: hak_tinymce WYSIWYG article editor
That’s probably my fault. I just copied the permissions from upm_img_popper maybe I’m missing something.
Shoving is the answer – pusher robot
Offline
#157 2006-07-12 23:15:43
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
Re: hak_tinymce WYSIWYG article editor
Great, everything work. Thank you.
Job: Plugo – tvorba eshopu
Projects: Czech free fonts
Offline
#159 2006-08-03 21:36:24
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
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
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
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: 604
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:
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