- Posts: 663
COMMUNITY FORUM
Extra WYSIWYG fields
- BBC
- Offline
- Platinum Member
Less
More
14 years 8 months ago #68745
by BBC
Replied by BBC on topic Extra WYSIWYG fields
Please Log in or Create an account to join the conversation.
- Simone Giacometti
- Offline
- New Member
Less
More
- Posts: 8
14 years 7 months ago #68746
by Simone Giacometti
Replied by Simone Giacometti on topic Extra WYSIWYG fields
The easiest thing to do is put the following under case 'textarea' in extrafield.php:
$editor =& JFactory::getEditor();
$output = $editor->display("K2ExtraField_".$extraField->id."", $active, '550', '400', '60', '20', false);
This will give you a text editor when you select a field of type text area.
It works in front end editing, V2.2.
$editor =& JFactory::getEditor();
$output = $editor->display("K2ExtraField_".$extraField->id."", $active, '550', '400', '60', '20', false);
This will give you a text editor when you select a field of type text area.
It works in front end editing, V2.2.
Please Log in or Create an account to join the conversation.
- Ian Powney
- Offline
- New Member
Less
More
- Posts: 11
14 years 7 months ago #68747
by Ian Powney
Replied by Ian Powney on topic Extra WYSIWYG fields
Hi Lee
Did you ever find out if you could use joomla plugin tags in the extra fields?
All I get is the code displayed
lee said:If we get a text area with the editor working can the text entered into this area also be made to picked up by any joomla plugins? eg. I have a plugin that picks up any {audio},{/audio} tags and inserts an audio player in its place. I would like to be able to use these tags in one of the extra fields but the plugin seems to have no effect on extra fields - only in the article text itself?
Did you ever find out if you could use joomla plugin tags in the extra fields?
All I get is the code displayed
lee said:If we get a text area with the editor working can the text entered into this area also be made to picked up by any joomla plugins? eg. I have a plugin that picks up any {audio},{/audio} tags and inserts an audio player in its place. I would like to be able to use these tags in one of the extra fields but the plugin seems to have no effect on extra fields - only in the article text itself?
Please Log in or Create an account to join the conversation.
- Hans Trautmann
- Offline
- New Member
Less
More
- Posts: 4
14 years 7 months ago #68748
by Hans Trautmann
Replied by Hans Trautmann on topic Extra WYSIWYG fields
Hallo,
would like to ask for the Feature "WYSIWYG" in the text field (Backend). What I understand in this discussion is:
This Feature is also not available in Version 2.2. Right ??
Is there any "trick" to get this (importend) feature in Version 2,2 ????
Is there a Timeline to include WYSIWYG ?
Thanks for any reply / help
Greetings Hans
would like to ask for the Feature "WYSIWYG" in the text field (Backend). What I understand in this discussion is:
This Feature is also not available in Version 2.2. Right ??
Is there any "trick" to get this (importend) feature in Version 2,2 ????
Is there a Timeline to include WYSIWYG ?
Thanks for any reply / help
Greetings Hans
Please Log in or Create an account to join the conversation.
- Mark Banks
- Offline
- Premium Member
Less
More
- Posts: 100
14 years 7 months ago #68749
by Mark Banks
Replied by Mark Banks on topic Extra WYSIWYG fields
Looking at the current code repository for 2.3, it looks like an option has been included to use wysiwig editors on extra text fields if required..
Good news!!!
Good news!!!
Please Log in or Create an account to join the conversation.
- lee Wilson
- Offline
- New Member
Less
More
- Posts: 11
14 years 5 months ago #68750
by lee Wilson
Replied by lee Wilson on topic Extra WYSIWYG fields
Running latest JCE and K2 v2.2... This fix does not work... shame. Will have to look at Zoo me thinks.....
Please Log in or Create an account to join the conversation.
- Georgopoulos Sotirios
- Offline
- New Member
Less
More
- Posts: 7
14 years 5 months ago #68751
by Georgopoulos Sotirios
Replied by Georgopoulos Sotirios on topic Extra WYSIWYG fields
I have implemented wysiwyg inthe backend with the wysiwyg also inside joomfish.
The first part is pretty easily solved by searching the forum.
The second was a pain.
Lee Wilson said:Running latest JCE and K2 v2.2... This fix does not work... shame. Will have to look at Zoo me thinks.....
The first part is pretty easily solved by searching the forum.
The second was a pain.
Lee Wilson said:Running latest JCE and K2 v2.2... This fix does not work... shame. Will have to look at Zoo me thinks.....
Please Log in or Create an account to join the conversation.
- AdrianK
- Offline
- Senior Member
Less
More
- Posts: 46
14 years 5 months ago #68752
by AdrianK
Replied by AdrianK on topic Extra WYSIWYG fields
First, WYSIWYG is a function, not a field. When you use the tinymce or the tinymce clone JCE, you have only to attach a single Id and Class to th HTML an you got an editor for a textarea (tinymce is jquerry driven).
Please Log in or Create an account to join the conversation.
- Georgopoulos Sotirios
- Offline
- New Member
Less
More
- Posts: 7
14 years 5 months ago #68753
by Georgopoulos Sotirios
Replied by Georgopoulos Sotirios on topic Extra WYSIWYG fields
I actually knew that ;) but when i used the original K2 method of injecting data inside joomfish after implementing my changes to the code they didn't appear in joomfish at all.
Lost a lot of time trying that way and i still don't know what went wrong.
What i finally did was to inject all the textarea extrafields my own way keeping field names.
If someone has succeeded in using the native method of injection please post or send a pm.
Titus said:First, WYSIWYG is a function, not a field. When you use the tinymce or the tinymce clone JCE, you have only to attach a single Id and Class to th HTML an you got an editor for a textarea (tinymce is jquerry driven).
Lost a lot of time trying that way and i still don't know what went wrong.
What i finally did was to inject all the textarea extrafields my own way keeping field names.
If someone has succeeded in using the native method of injection please post or send a pm.
Titus said:First, WYSIWYG is a function, not a field. When you use the tinymce or the tinymce clone JCE, you have only to attach a single Id and Class to th HTML an you got an editor for a textarea (tinymce is jquerry driven).
Please Log in or Create an account to join the conversation.
- Hans Trautmann
- Offline
- New Member
Less
More
- Posts: 4
14 years 3 months ago #68754
by Hans Trautmann
Replied by Hans Trautmann on topic Extra WYSIWYG fields
Hello,
you have only to attach a single Id and Class to th HTML
??? would be nice to get a short information how we can manage this.
hopi
Titus said:First, WYSIWYG is a function, not a field. When you use the tinymce or the tinymce clone JCE, you have only to attach a single Id and Class to th HTML an you got an editor for a textarea (tinymce is jquerry driven).
you have only to attach a single Id and Class to th HTML
??? would be nice to get a short information how we can manage this.
hopi
Titus said:First, WYSIWYG is a function, not a field. When you use the tinymce or the tinymce clone JCE, you have only to attach a single Id and Class to th HTML an you got an editor for a textarea (tinymce is jquerry driven).
Please Log in or Create an account to join the conversation.