Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#973 2011-09-15 21:19:45

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

Re: hak_tinymce WYSIWYG article editor

$rs = safe_rows_start("*", "txp_image","1=1 ".$category." order by id DESC");

that should do it. I’ll make this the default in the next version (it makes more sense) just haven’t had a chance to work on it.


Shoving is the answer – pusher robot

Offline

#974 2011-09-15 21:22:34

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

Re: hak_tinymce WYSIWYG article editor

Worked like a charm.

Thanks.

progre55

Offline

#975 2011-10-17 14:17:14

brunodario
Member
From: Belo Horizonte, Brasil
Registered: 2007-09-19
Posts: 75

Re: hak_tinymce WYSIWYG article editor

/**** Solved – It was a cache issue ***/
I´m having trouble with txpimage plugin after upgrading both textpattern (from 4.2 to 4.4.1) and the plugin to it’s latest version downloaded here: http://www.hakjoon.com/file_download/11/hak_tinymce.zip

When i click on the “insert image” (the tree icon) the pop up page seeks for the “image.php” file but there´s no such file on txpimage directory (There is an “image.htm” file indeed). I´ve tried to change the file extention to .php and the page loads but without retreiving the files or anything.

I´ve copied the “image.php” file from another site and now i can only insert images in Internet Explorer (In FF and Chrome it opens the pop up but when i click the tree icon to insert the image (or the insert thumb) nothing happens).

I think the download file at http://www.hakjoon.com/file_download/11/hak_tinymce.zip needs an update because the page “image.php” is not included.

Last edited by brunodario (2011-10-17 15:44:48)

Offline

#976 2011-10-17 14:34:42

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

Re: hak_tinymce WYSIWYG article editor

You shouldn’t need image.php anymore. The plugin does all it’s communication with txp via ajax so the file does not need to be a php file anymore. It sounds like you are somehow referenceing an old install.


Shoving is the answer – pusher robot

Offline

#977 2011-10-17 15:45:56

brunodario
Member
From: Belo Horizonte, Brasil
Registered: 2007-09-19
Posts: 75

Re: hak_tinymce WYSIWYG article editor

Thx for your quick reply, it was a cache issue (the article page was cached and calling “image.php”).

Offline

#978 2011-11-26 23:05:32

elwins
Member
From: Latvia
Registered: 2011-08-29
Posts: 80

Re: hak_tinymce WYSIWYG article editor

hello,
I really like this modification, but is one thing what I cant do with this plugin.
I wanted to add some small images [thumbnails] in my article, whos should be possible to see in bigger size [with Lightbox], maybe someone can help me to add some button in button menu, who format theese small images [thumbnails] image in Lightbox style ?
[Edit] I think, that need to copy LINK button files or code and just add some code lines, but how to do that corectly?

[EDIT2]
tiny_mce/themes/advanced/js/link.js
http://pastebin.com/Gp3HychS
I think that there should add new value, REL, like value TITLE, but I’m not JS expert, maybe someone can help?

Last edited by elwins (2011-11-27 14:58:19)

Offline

#979 2011-11-28 19:24:43

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

Re: hak_tinymce WYSIWYG article editor

Have you considered just turning on the advlink plugin? That has an advanced tab that let’s you set rel I think.


Shoving is the answer – pusher robot

Offline

#980 2011-12-15 02:12:49

dimitrik
New Member
Registered: 2011-12-15
Posts: 1

Re: hak_tinymce WYSIWYG article editor

simoin wrote:

Just a thought,
It would be great if there was an insert file facility similar to insert image in the toolbar.

hakjoon wrote:

@simoin: Something like that is planned.

I would love to have this feature was it ever implemented ?

Last edited by dimitrik (2011-12-15 02:13:31)

Offline

#981 2011-12-15 02:39:23

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

Re: hak_tinymce WYSIWYG article editor

Not ATM. I wasn’t doing much work with TinyMCE or PHP for awhile. That being said I’m currently implementing TinyMCE for an internal CMS built on Django and doing a bunch of image integration so I have a bunch of new ideas of how to tie it together on TXP so I’ll probably work on some updates soon.

I’m hosting the project on github so feature requests and bugs can go there now also. Easier for me to keep track of than the forum.


Shoving is the answer – pusher robot

Offline

#982 2012-01-04 23:36:11

mrdale
Member
From: Walla Walla
Registered: 2004-11-19
Posts: 2,215
Website

Re: hak_tinymce WYSIWYG article editor

Hi Hak!

I thought of a new use for your vernerable plugin.

I’m starting to use custom fields as adjunct textareas. It would be great if we could…

  1. load tinyMCE on whichever custom fields are textareas (thanks to glz)
  2. load tinyMCE on adi_matrix content editing pages.

And yes, I’d like a pony too. ;)

Last edited by mrdale (2012-01-04 23:36:27)

Offline

#983 2012-01-04 23:49:22

tye
Member
From: Pottsville, NSW
Registered: 2005-07-06
Posts: 859
Website

Re: hak_tinymce WYSIWYG article editor

Hey My Dale – you can load them into whichever Custom Field by using this method in the callback field in the plugin prefs page… not sure about adi_matrix though

Offline

#984 2012-01-05 23:15:41

rossharvey
Member
From: Earth. Sometimes.
Registered: 2005-03-16
Posts: 233
Website

Re: hak_tinymce WYSIWYG article editor

Hi hak, nice to see you still about. Your hak_article_image was one of my favourite plugins way back when :¬)

One thing – this is nearly perfect. Is there any way to allow selecting of multiple (or all) images in the Image Add popup?

Last edited by rossharvey (2012-01-05 23:47:30)

Offline

Board footer

Powered by FluxBB