Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#961 2011-08-31 06:14:57
Re: hak_tinymce WYSIWYG article editor
hakjoon wrote:
Timid&friendly: Do you have other plugins running? I noticed at least upm_insert_tab was in there. If you turn them all off does the problem persist?
SOLVED
It was the plugin “rss_admin_resize v0.2”. No problems anymore. Thx
I think, therefore I AM, … … er … I think :-?
Offline
#962 2011-08-31 10:50:38
Re: hak_tinymce WYSIWYG article editor
Hi !
I’ve looked in the threads but not sure to find what I was looking for.
I can’t use txp tags like the plugin an7 img (site) which is a litebox txp plugin and is really useful for me…
I’ve tried what I’ve found in this forum :
custom_elements:“txp:\\S+”,
but, still don’t work… (i“ve placed those lines in the initialization table in the extension page…. was I right…)
well… It would be great if you could help me in this quest…
But, anyway, your plugin is just what I needed… !!
thanx a lot
Offline
#963 2011-08-31 12:27:11
Re: hak_tinymce WYSIWYG article editor
That code should keep tinymce from stripping out txp tags but you won’t have any visual feedback that they are there unless you do some CSS to display them. This post has a technique that worked for me at the time. it’s far from perfect though because everything gets converted to container tags which breaks creation tags.
Shoving is the answer – pusher robot
Offline
#964 2011-08-31 13:26:21
Re: hak_tinymce WYSIWYG article editor
thanx for your so quick answer patrick !
And, finally, it works…
but i’m not sure I had understood where to put the css stuff…
I’m sorry, I’m kinda debutant…
thanx a lot !
Offline
#965 2011-08-31 20:55:58
Re: hak_tinymce WYSIWYG article editor
the initialization can take a parameter called content_css: which let’s you point to a CSS file you control which will be applied to the editor content area. So you can put stuff in there to handle styling the way you want Docs
Shoving is the answer – pusher robot
Offline
#966 2011-09-01 07:49:32
Re: hak_tinymce WYSIWYG article editor
Well, thank you !!!
now I understand !
thanx again for this plugin and your help !!
Last edited by melchiosor (2011-09-01 07:49:53)
Offline
#967 2011-09-01 11:51:24
- progre55
- Member
- Registered: 2006-05-02
- Posts: 668
Re: hak_tinymce WYSIWYG article editor
Patrick:
Did you have a chance to view how the files come back? Like I mentioned, mine seem to be random. In additiona it would be helpful to see file names —
progre55
Offline
#968 2011-09-01 15:31:03
Re: hak_tinymce WYSIWYG article editor
Looks like it’s coming back ordered by category then name. Changing it makes sense. I want to make the File Name optional since it’s new different behavior and people could have really long names that could cause issues. If you want to change the order until I get a new version out the line in question is this one in the plugin
Shoving is the answer – pusher robot
Offline
#969 2011-09-01 16:49:43
- progre55
- Member
- Registered: 2006-05-02
- Posts: 668
Re: hak_tinymce WYSIWYG article editor
Patrick:
Thank you.
progre55
Offline
#970 2011-09-14 12:01:21
- progre55
- Member
- Registered: 2006-05-02
- Posts: 668
Re: hak_tinymce WYSIWYG article editor
Hakjoon:
I guess I should ahve asked, what should I change the line to so it orders by Image ID:
$rs = safe_rows_start("*", "txp_image","1=1 ".$category." order by category,name");
I think I have my syntex wrong some where cause it is not returning what I expected —-
progre55
Offline
#971 2011-09-15 01:29:48
Re: hak_tinymce WYSIWYG article editor
$rs = safe_rows_start("*", "txp_image","1=1 ".$category." order by id");
does this work?
Shoving is the answer – pusher robot
Offline
#972 2011-09-15 18:21:02
- progre55
- Member
- Registered: 2006-05-02
- Posts: 668
Re: hak_tinymce WYSIWYG article editor
hakjoon:
That worked perfectly but (and isn’t there always a but) — what are the chances of getting the most recent images on top rather than on the bottom — but if it can’t be done — I am good with how it is for now —
Thanks for the awsome plug in.
progre55
Offline
#973 2011-09-15 21:19:45
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