Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#205 2006-11-28 21:27:09
Re: hak_tinymce WYSIWYG article editor
Sorry fellas between looking for a job, getting a new house setup and upgrading textbook I haven’t had much time to work on this. Hopefully I can get back into it shortly.
These are the plans for the next version.
- Bring the bundled TinyMCE up to the latest version
- Include the ability to use the compressor script (I still need to figure out exactly how it works)
- Linking plugin, tied to backend.
Future versions, or pipe dreams. I don’t even know if some of these are possible.
- Allow
<txp:/>
tags. Don’t know how I’m going to do this, since the issue is a TinyMCE limitation. Also not sure how to represent them to the user. If anyone has any thoughts please post them, specially on the presenting the tags to users issue. - Ability to convert the article into Textile prior to saving. Again just something I would love to see, don’t know if it’s possible.
If there is anything else anybody wants please post them and I can see if I can get it in the next version.
Shoving is the answer – pusher robot
Offline
#206 2006-11-28 23:45:02
- Algaris
- Member
- From: England
- Registered: 2006-01-27
- Posts: 572
Re: hak_tinymce WYSIWYG article editor
hakjoon wrote:
Allow
<txp:/>
tags. Don’t know how I’m going to do this, since the issue is a TinyMCE limitation. Also not sure how to represent them to the user. If anyone has any thoughts please post them, specially on the presenting the tags to users issue.
Do you have any idea how much I’d love it if you could accomplish this? I’ve been dying to insert bas_lightbox images directly into an article. For now I’ve had to resort to complex workaround using if_article_id.
Last edited by Algaris (2006-11-29 09:41:35)
Offline
#207 2006-11-29 01:05:19
Re: hak_tinymce WYSIWYG article editor
Alowing txp tags would be cool. In the meantime is it possible to do both of the following at once;
- Have “leave text untouched” and
- Disable tinyMCE on a per article basis
I’m running into some challenges when using tinyMCE with the Postmaster plugin. I’ve found you can disable tinyMCE via the checkbox in the write tab. Then include your tag. But on reload the editor toggles back on.
Thanks again Hak.
Offline
#208 2006-12-01 14:54:48
Re: hak_tinymce WYSIWYG article editor
First of all… Great plugin, and great coding…
but looking at your code, it seems that on install the plugin will generate the “txp_hak_tinymce” table with prefix, like this:
safe_query("CREATE TABLE `".PFX."txp_hak_tinymce` ...")
But on uninstall the PFX is omitted!
Your code:
safe_query("DROP TABLE txp_hak_tinymce")
Shouldn’t this instead be:
safe_query("DROP TABLE ".PFX."txp_hak_tinymce")
Normally it wouldn’t be a problem, but if a user has installed multiple textpatterns in the same database… I am sure you get my point.
Last edited by Psilo (2006-12-07 04:13:24)
Never make the same mistake twice… there are so many… try a new one each day!
Offline
#209 2006-12-01 19:42:13
Re: hak_tinymce WYSIWYG article editor
Yup that’s definitely a bug. Thanks for catching that.
@mrdale: I can’t think of anyway to do that without either tracking each article in another table or using a custom field to store the info. I could modify the txp_article table but I don’t like changing the default stuff if I can help it.
Ideally I would love to store tinyMCE as a new mode so you would have Textile, convert Line Breaks, Leave Text untouched and TinyMCE. Last time I looked at it there was now way to plug in there yet. I’ll have to take a look again.
Shoving is the answer – pusher robot
Offline
#210 2007-01-10 01:47:46
- uli
- Moderator
- From: Cologne
- Registered: 2006-08-15
- Posts: 4,315
Re: hak_tinymce WYSIWYG article editor
for some clicks hak_tinymce seemed to work fascinating well, and was so easy to use, but as i combined bold formatting with an h3, and then saved an article, i got the following message:
- – - – - – - – - -
Warning:
Error: ‘’ is not an integer
assert_int()
textpattern/include/txp_article.php:161 array_map()
textpattern/include/txp_article.php:51 article_save()
textpattern/index.php:104 include(/is/htdocs/wp1063585_7QOZ6IORXU/www/textpattern/include/txp_article.php)
in /is/htdocs/wp1063585_7QOZ6IORXU/www/textpattern/lib/txplib_misc.php on line 1842
Warning: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ‘ LastMod = now(), LastModID = ‘uli’, Section = ‘’ at line 8 update textpattern set Title = ‘Home’, Body = ‘
[text to be displayed on the page, formatted partially]
in /is/htdocs/wp1063585_7QOZ6IORXU/www/textpattern/lib/txplib_db.php on line 84- – - – - – - – - – - – - -
when i now uninstall the plugin, this message keeps appearing after saving an article, which won’t calm my client. Is his database corrupted now or is there any possibility to get txp to work properly?
edit
not just uninstalling but completely removing the plugin from the plugins panel solved the problem.
does anybody have a hint how to get this great plugin to work for me?
Any help is greatly appreciated as my client wants an easy and code free way of formatting.
Last edited by uli (2007-01-10 02:26:46)
In bad weather I never leave home without wet_plugout, smd_where_used and adi_form_links
Offline
#211 2007-01-10 15:56:56
Re: hak_tinymce WYSIWYG article editor
wow, I can’t even imagine what would be causing this. The plugin does not interact with the article saving process at all. All the interaction with the Write tab is strictly client side.
Basically when you hit save the content from the editor gets copied back to the textarea and then the form gets submitted like normal. By the time any interaction with the database happens the editor is long gone.
I don’t even know where to start.
Shoving is the answer – pusher robot
Offline
#212 2007-01-10 16:38:31
- uli
- Moderator
- From: Cologne
- Registered: 2006-08-15
- Posts: 4,315
Re: hak_tinymce WYSIWYG article editor
it has happened twice, two plugin installations caused the same behavior. so, probably no accident.
In bad weather I never leave home without wet_plugout, smd_where_used and adi_form_links
Offline
#213 2007-01-10 16:57:49
Re: hak_tinymce WYSIWYG article editor
Installing the same plugin twice or two different plugins?
Shoving is the answer – pusher robot
Offline
#214 2007-01-10 17:06:33
- uli
- Moderator
- From: Cologne
- Registered: 2006-08-15
- Posts: 4,315
Re: hak_tinymce WYSIWYG article editor
the same. i thought the first one could have been an older version from some months ago.
In bad weather I never leave home without wet_plugout, smd_where_used and adi_form_links
Offline
#215 2007-01-10 17:19:42
Re: hak_tinymce WYSIWYG article editor
So everytime you install hak_tinyMCE this crazy behavior starts happening right? Just trying to understand exactly what’s happening.
Does disabling the plugin in the plugin tab make it error messages go away?
Are you on 4.0.4? Any other write tab plugins by any chance?
Sorry, I’m just really stumped here.
Shoving is the answer – pusher robot
Offline
#216 2007-01-10 17:32:15
- uli
- Moderator
- From: Cologne
- Registered: 2006-08-15
- Posts: 4,315
Re: hak_tinymce WYSIWYG article editor
So everytime you install hak_tinyMCE this crazy behavior starts happening right?
yep
Does disabling the plugin in the plugin tab make it error messages go away?
no, i have to uninstall it, i.e. click the x-button (two steps before didn’t help: disabling in the extension tab, then disabling in the plugin tab.)
Are you on 4.0.4?
yep
Any other write tab plugins by any chance?
none, the only other plugin is yurah’s hide_in_admin, but i installed it after the first tiny_mce install.
In bad weather I never leave home without wet_plugout, smd_where_used and adi_form_links
Offline