Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#496 2008-08-10 18:37:21
Re: hak_tinymce WYSIWYG article editor
double check that the script is actually loading right by pulling it up in the browser. The path checker in the admin panel gives false positives sometimes.
Shoving is the answer – pusher robot
Offline
#497 2008-08-20 22:30:27
- fiddle
- Member
- Registered: 2007-10-03
- Posts: 87
Re: hak_tinymce WYSIWYG article editor
OK, not sure why it was not working, but I uninstalled it and reinstalled, now its good…. o well. Thanks for the help.
One more question, I was wondering if there was a way to set a default image size in the image insert. Insert an image, and instead of having to go to Appearance and edit the Dimensions, have a default width px value so the user dosent have to resize the images for the article.
any ideas.?
thanks
Offline
#498 2008-08-21 02:39:19
Re: hak_tinymce WYSIWYG article editor
There is no way to do that right now it just uses the size of the image, which is most of the time what you would want since you don’t really want people resizing images through html.
Shoving is the answer – pusher robot
Offline
#499 2008-08-21 02:47:40
- fiddle
- Member
- Registered: 2007-10-03
- Posts: 87
Re: hak_tinymce WYSIWYG article editor
OK, I see. they sometimes use a picture from their photo gallery on an article, the articles width is narrower than the lightbox, thats why I wanted a way to automatically resize to that width..
Thanks for the respond, how do you do this , in terms of gallery photo being used in a narrower width.? 2 different images?
Thanks again.
Offline
#500 2008-08-21 03:19:13
Re: hak_tinymce WYSIWYG article editor
That is tricky. The insert dialog could be modified to insert a different width, there just isn’t a built in way to do that.
You can use max-width to restrict the image width in certain areas but it won’t work in IE6 though, it can be emulated with javascript for IE6. Otherwise yeah I guess two images. You could use the thumbnail for for articles and use iblastoff image resize plugin for the gallery. That way they could just insert the thumbnail in the article.
Shoving is the answer – pusher robot
Offline
#501 2008-08-21 03:34:44
- fiddle
- Member
- Registered: 2007-10-03
- Posts: 87
Re: hak_tinymce WYSIWYG article editor
ok.. I’ll see what I can come up with.. I appreciate the help, thank you very much Hakjoon.
Offline
#502 2008-09-06 15:37:08
- sylverwing
- New Member
- Registered: 2008-09-06
- Posts: 2
Re: hak_tinymce WYSIWYG article editor
hey all,
i’ve just installed this plugin (tried versions 2 and 3) and get two errors from ‘Firebug’ and I dont see a toolbox.
tinyMCE is not defined
index.php?event=hak_tinymce_js&hak_textile_body=0&hak_textile_excerpt=0()()index.ph…excerpt=0 (line 186)
[Break on this error] tinyMCE.init(hak_mceSettings[“body”]);
tinyMCE is not defined
hak_addControl(“Body”)index.ph…excerpt=0 (line 73)
hak_tinyMCE()index.ph…excerpt=0 (line 140)
()()index.ph…excerpt=0 (line 178)
[Break on this error] tinyMCE.settings = hak_mceSettings[ele…/ this tells tinyMCE which config to use
First i thought it had something to do with Firefox 3 but in IE 7 I also dont get a toolbox.
Can someone help me? Thanks in advance
Offline
#503 2008-09-06 16:26:34
Re: hak_tinymce WYSIWYG article editor
That sounds like the path to tiny_mce.js is wrong, you can check the path it’s trying to load using firebug or by checking the source.
Shoving is the answer – pusher robot
Offline
#504 2008-09-06 19:18:42
- sylverwing
- New Member
- Registered: 2008-09-06
- Posts: 2
Re: hak_tinymce WYSIWYG article editor
hey hakjoon,
i’ve checked the path and I think it is correct. Here is my local setup
http://localhost/martin/textpattern/hak_tinymce/tiny_mce/tiny_mce.js
path given in the extensions => /hak_tinymce/tiny_mce/tiny_mce.js
Is here something wrong?
EDIT: solved; the path is => ../hak_tinymce/tiny_mce/tiny_mce.js
Still thanks for your fast reply and help ;)
Last edited by sylverwing (2008-09-06 20:16:26)
Offline
#505 2008-10-06 09:22:44
- FireFusion
- Member

- Registered: 2005-05-10
- Posts: 698
Re: hak_tinymce WYSIWYG article editor
Sorry if this has already been asked before but is there anyway to get the plugin to output pretty HTML?
It’s all mushed together, which means every time I use the HTML button I have to sort it out only to have it muss again.
Offline
#506 2008-10-30 10:58:20
- ilyuha
- Member
- Registered: 2008-02-14
- Posts: 10
Re: hak_tinymce WYSIWYG article editor
when I’m open article for edition, Tiny is not enabled. when create new article – enable. It’s bug or no and how repair it? Sorry my bad English
Offline
#507 2008-10-30 11:24:00
Re: hak_tinymce WYSIWYG article editor
Is “leave text untouched” rather than “use textile” set in your site preferences? I found this cause the problem you mentioned.
Offline
#508 2008-10-30 14:04:43
Re: hak_tinymce WYSIWYG article editor
If you created an article with “use textile” Tiny won’t be enabled when you edit it. That’s so it doesn’t mess up your article by accident.
If you turn Tiny on and save the article, it should come up when editing after that.
Shoving is the answer – pusher robot
Offline
#509 2008-11-12 10:10:05
- jedik
- New Member
- Registered: 2008-11-12
- Posts: 4
Re: hak_tinymce WYSIWYG article editor
Hi, I’m having little trouble installing this plugin and I can’t find any similar problem here. After installing the plugin, I should go to Extensions tab, but I see nothing like that.
I’ve found this
http://textpattern.com/faq/314/my-plugins-extension-sub-tab-has-gone-missing
and it corresponds with my problem precisely, but adding suggested line
add_privs(‘hak_tinymce’, ‘1’);
do not help at all and I’m quite concerned what to do now :(
Thanks for any help.
Using: Textpatern 4.0.6, Hak_TinyMCE 0.7.4
Offline
#510 2008-11-12 15:18:29
Re: hak_tinymce WYSIWYG article editor
hak_tinymce shouldn’t require setting privileges. Do you have “Use plugins?” and “Use admin-side plugins?” turned on in Preferences -> Advanced -> Publish ?
Shoving is the answer – pusher robot
Offline