Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#811 2011-01-20 17:01:55

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

Re: hak_tinymce WYSIWYG article editor

The editor will stay off unless an article had “leave text untouched” set for the Use Textile setting. If you used Textile or convert linebreaks for the previous articles the editor would need to be explicitly turned on. You can also hide the editor toggles for any old articles that were written with textile.

If you were using “Leave Text Untouched” for the old articles it’s trickier.


Shoving is the answer – pusher robot

Offline

#812 2011-01-20 17:03:12

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

Re: hak_tinymce WYSIWYG article editor

Also just an update I am looking into the issues with different admin domains, just ahven’t gotten very far yet.


Shoving is the answer – pusher robot

Offline

#813 2011-01-20 17:04:54

progre55
Member
Registered: 2006-05-02
Posts: 668

Re: hak_tinymce WYSIWYG article editor

hakjoon:

Thanks for the quick response. I am set for “Use Textile” for the old articles so I think we are good —-

So am I correct, moving foward when they create a new article they will turn on the editor — for each one —-

progre55

Offline

#814 2011-01-20 18:00:34

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

Re: hak_tinymce WYSIWYG article editor

If you set the default preference to “Leave text Untouched” the editor will come on by default for new articles. Otherwise they will have to manually turn it on each time.


Shoving is the answer – pusher robot

Offline

#815 2011-01-26 04:28:09

laptophobo
Member
Registered: 2010-03-01
Posts: 216
Website

Re: hak_tinymce WYSIWYG article editor

Hello Hak,

I am using Hak_TinyMCE as my WYSIWYG editor for my articles. However, I can’t get a form tag to work: <txp:output_form form=“formname” /> . I’ve Searched this area and couldn’t find a solution yet. Is there?

Thanks much. (Great application you have helped develop.


Living the Location-Independent Life: www.NuNomad.com

Offline

#816 2011-01-26 14:52:19

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

Re: hak_tinymce WYSIWYG article editor

This post links to posts offering solutions for txp: tags (How meta)

I need to pull all this stuff into a wiki or something. Kind of crazy to think this thread’s been here since 2005, it’s pretty out of hand.


Shoving is the answer – pusher robot

Offline

#817 2011-01-27 00:14:54

laptophobo
Member
Registered: 2010-03-01
Posts: 216
Website

Re: hak_tinymce WYSIWYG article editor

Hmm. I didn’t see the solution there.


Living the Location-Independent Life: www.NuNomad.com

Offline

#818 2011-01-29 16:54:18

aramide
Member
Registered: 2011-01-24
Posts: 14

Re: hak_tinymce WYSIWYG article editor

Hi Hak,

I just installed the hak-tinymce article. I tried testing it on my site www.feminineedge/Chatroom. When I click on continue reading, I find comments duplicated on my page and a link to textile help. Though I had turned of textile under the preference tab. What can I do to rectify this

ara

Offline

#819 2011-01-30 22:01:52

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

Re: hak_tinymce WYSIWYG article editor

@laptophobo: Did this technique not work?

@aramide: I replied to your email.


Shoving is the answer – pusher robot

Offline

#820 2011-01-31 05:29:02

fbox
Member
From: Melbourne
Registered: 2006-02-18
Posts: 42

Re: hak_tinymce WYSIWYG article editor

Hi all,

Just a bump for the fixes that might allow accessing hak_tinymce when logged into a different admin subdomain =)

I’ve been trying various options including renaming the textpattern folder (not ideal), .htaccess hacks and some abortive edits of the hak_tinymce plugin code but haven’t had any luck yet.

Has anyone else found a workaround that allows a different admin url than the default http://www.domain.com/textpattern/ ??

Offline

#821 2011-01-31 05:31:11

fbox
Member
From: Melbourne
Registered: 2006-02-18
Posts: 42

Re: hak_tinymce WYSIWYG article editor

PS. Thanks to hakjoon for fantabulous plugin support. It is appreciated. =)

Offline

#822 2011-01-31 18:58:21

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

Re: hak_tinymce WYSIWYG article editor

I have version with a couple stabs at dealing with this but I have not had a chance to really test it. If anyone wants to give it a try you can get the code from bitbucket just run distribution.sh and it will build a zip like you get from my site.

I’ll see if I can put up a pre-built one for people to test.


Shoving is the answer – pusher robot

Offline

#823 2011-02-01 00:51:53

fbox
Member
From: Melbourne
Registered: 2006-02-18
Posts: 42

Re: hak_tinymce WYSIWYG article editor

Great stuff, thanks hakjoon.

I’m using the format ‘http://admin.domain.com’ to access TXP 4.3.0’s admin interface, achieved by editing the vhost.conf file in the subdomain’s server directory to specify the DocumentRoot (this is only way I’ve found of doing virtual subdomains for Plesk on Debian).

The hak_tinymce v.9.9.1 test plugin compiled and installed fine. Clicking the ‘insert/edit image’ toolbar button popped open the window and showed outline boxes for the available images, however the boxes didn’t contain any thumbnails so it’s not possible to see which image I’m selecting.

Right clicking on an image box and choosing “view image” returns a server error for the image: i.e. it’s trying to source from the subdomain (http://admin.domain.com/images/19t.jpg) instead of correctly from the main domain (http://www.domain.com/images/19t.jpg).

Selecting an image in the popup shows the correct ‘Image URL’ and embeds it correctly in the body and excerpt fields of the article.

Offline

#824 2011-02-01 01:28:21

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

Re: hak_tinymce WYSIWYG article editor

Awesome. Thank you for taking the time to try it out. I haven’t had the time to digest how and setup a test site with the different admin url to test this all out. Having someone tell me how it’s interacting definitely speeds this up.

I think I know how to deal with the images pulling form admin instead of from the main site. I’ll see if I can add a fix tonight.


Shoving is the answer – pusher robot

Offline

#825 2011-02-01 02:08:21

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

Re: hak_tinymce WYSIWYG article editor

Ok I updated the code on bitbucket see if that makes the images show up properly.


Shoving is the answer – pusher robot

Offline

Board footer

Powered by FluxBB