Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#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

#826 2011-02-01 02:29:45

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

Re: hak_tinymce WYSIWYG article editor

Lovely, thanks. =)

Thumbnails are showing up now, but two new, related issues occurring: 1) When selecting an image in the popup, the ‘image URL’ field is showing the URL twice, ie: “http://www.domain.com/http://www.domain.com/images/19.jpg” 2) As this is the same URL being inserted into the body/excerpt fields, after embedding they just show broken links.

Offline

#827 2011-02-01 02:44:12

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

Re: hak_tinymce WYSIWYG article editor

Try now

Thanks for the help BTW.


Shoving is the answer – pusher robot

Offline

#828 2011-02-01 03:11:11

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

Re: hak_tinymce WYSIWYG article editor

Ha! You’re a champ, Patrick! It works. =) Can’t see anything amiss, but will keep my eyes peeled.

Thanks for pushing this through – it’s great to have it working. Now off to update all my sites…

Cheers, – L.

Offline

Board footer

Powered by FluxBB