Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#889 2011-06-23 08:26:43
Re: hak_tinymce WYSIWYG article editor
cuda wrote:
if we can get multiple image uploading with smd_thumbnails
OT: I added the aforementioned function for precisely that reason. It was part one of two. See, it’s not rocket science to add a callback to a multi-upload plugin such that my plugin could be called at the appropriate time to create the thumbnails. But of the two market leader multi-upload plugins, TheEric has stated he will never interface with any other plugins (I assume that goes for ebl_upload too) and the author of jbx_multi_image_upload has dropped off the map. I e-mailed him about this topic months ago and heard nothing. I don’t particularly want to write my own multi-upload plugin…
The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.
Txp Builders – finely-crafted code, design and Txp
Offline
#890 2011-06-23 16:43:44
Re: hak_tinymce WYSIWYG article editor
Did Wet ever figure out the codeprotect approach to supporting txp tags? I’m running into an issue with self closing textpattern tags being converted into container tags and breaking…
Offline
#891 2011-06-24 00:47:51
Re: hak_tinymce WYSIWYG article editor
Not sure if wet got anywhere. I noticed the custom tag stuff turns everything into container tags. I still haven’t concocted a good approach for txp tags.
Shoving is the answer – pusher robot
Offline
#892 2011-06-27 00:14:39
- progre55
- Member
- Registered: 2006-05-02
- Posts: 668
Re: hak_tinymce WYSIWYG article editor
mrdale
Quick question, were you ever able to overcome your issue. I ask because I am currently working on a project wheere I will need to use hak_tinymce so that my client can easily edit their material, but I will need to have TXP tages inserted so that I can possibly use a couple of plug ins such as as http://ipsedixit.net/txp/24/multidoc
thanks.
progre55
Offline
#893 2011-06-27 22:07:55
Re: hak_tinymce WYSIWYG article editor
My work-around, which is far from preferable, is to de-select “leave text untouched” via the Article Markup selection, and choose “use textile” and then “save.” From there you can insert your plug-in or whatever. Then, after the code is laid down, change the Article Markup back to “leave text untouched” and then click “save.” This way, when the next person enters the article they’ll see the WYSIWYG interface.
Living the Location-Independent Life: www.NuNomad.com
Offline
#894 2011-06-28 07:09:50
- jmart
- Member
- Registered: 2008-08-25
- Posts: 68
Re: hak_tinymce WYSIWYG article editor
I can’t get the editor to appear upon installation and am still presented with Textile. I’m not sure what I“m doing wrong as I’ve installed this plugin a gazllion times.
I have the Preferences set to Yes, Yes, NO, yes. I am using v1.0 on TXP V4.4.1
In Basic> Publish, I have Use Textile set to “Leave text untouched”
Last edited by jmart (2011-06-28 07:10:30)
Offline
#895 2011-06-28 12:41:30
- progre55
- Member
- Registered: 2006-05-02
- Posts: 668
Re: hak_tinymce WYSIWYG article editor
laptophobo thanks for the feedback, unfortunately this will not work because the client will be handling the input and management.
Anyone else have suggections about inserting TXP code using hak_tinymce?
progre55
Offline
#896 2011-06-28 16:12:50
Re: hak_tinymce WYSIWYG article editor
@progre55 and mrdale:
I’m not by any means an expert in things hak_tinymce but might this recent post by destry offer a possible solution for the problem of including txp tags in hak_tinymce. Further info in the tinymce docs:
It looks like you’ll need a list of txp:tags and their attributes – or at least the problem tags – but that must be available somewhere.
Last edited by jakob (2011-06-28 18:29:52)
TXP Builders – finely-crafted code, design and txp
Offline
#897 2011-06-28 17:43:51
- progre55
- Member
- Registered: 2006-05-02
- Posts: 668
Re: hak_tinymce WYSIWYG article editor
Jakob:
Thanks for the guidance — will definitely be doing some digging to see if I can get this up and functional —-
progre55
Offline
#898 2011-06-29 23:24:47
Re: hak_tinymce WYSIWYG article editor
I’m using hak_tinymce to manage content for my Articles, but when the structure becomes multi-columned (such as adding a right column to the article) it poses problems for clients (who have no HTML experience) and who will be editing the Article later.
Visually, the right column in the WYSIWYG generator will show under the top article. And it becomes a bit unstable then. Therefore, I thought I would create 2 Articles that would land on that one Article page. One article would be the main body text of the article. The other article would be the sidebar column of the article.
Is this possible?
Living the Location-Independent Life: www.NuNomad.com
Offline
#899 2011-06-30 09:11:08
Re: hak_tinymce WYSIWYG article editor
Hi Hakjoon,
one of our clients had an upgrade on their webserver (PHP 5.3). So I had to upgrade tot the newest TXP (4.4.1) to avoid errors from showing up (deprecated…). I also upgraded to the newest hak_tinymce. Now I’m having problems with the image path. In the clean URL mode I’m using (section/id/title) the image path is wrong (it just puts the full URL+/images/105.jpg for instance). You get this: http://www.url.com/section/id/images/105.jpg. If I manually put in the correct path, it gets overwritten by the plugin. I Googled around a bit, but didn’t find a solution yet. I’ve probably looked over something, so my apologies if I’m the next in line to ask this question. Any idea about what I’m doing wrong or how to resolve this?
Last edited by Piru (2011-06-30 09:18:03)
Offline
#900 2011-07-05 15:41:09
Re: hak_tinymce WYSIWYG article editor
Sorry all I’ve been away.
@jsmart: Check that tiny_mce.js is actually loading. You can do it pretty easily in firebug or webkit’s developer tools. The problem is normally some path issue.
@progre55, mrdale and jakob: this post by wet describes getting specific txp tags enabled. Alternatively this technique should allow all txp tags. I think they will still all get converted into container tags though. Dale I think this is what you might be doing already.
BTW: you should not have to hack the code the way Destry describes. All these things can be set in the initialization area in the plugin’s admin tab.
@laptophobo: You could try using the excerpt field as a sidebar, or glz_custom_fields although hak_tinymce doesn’t play super nice with it atm.
@piru: The image paths should respect the urls settings from the initialization area. Try these different set ups form Moxiecode and see if it helps. If not there is probably a bug somewhere.
Shoving is the answer – pusher robot
Offline