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