Keyword

Extra WYSIWYG fields

More
15 years 1 week ago #68715 by anson parker
Replied by anson parker on topic Extra WYSIWYG fields
This is **Very** exciting - i've added a new text area into my group, however no wysiwyg editor yet - should I delete the other text areas? are multiple text areas possible (ie have you tested this with multiple wysiwyg text areas

ok - just tested that, still no go... i'm using the JCE editor + latest versions of everything.... any thoughts? this is going to make a huge step forward for K2 (and it's already runnin' up there..)

Please Log in or Create an account to join the conversation.

More
15 years 1 week ago #68716 by Bryan Smith
Replied by Bryan Smith on topic Extra WYSIWYG fields
I'll just chime in and say the it would be really nice to even have linebreaks in text area. wysiwyg would be preferred.

Please Log in or Create an account to join the conversation.

More
15 years 1 week ago #68717 by fidelis semper
Replied by fidelis semper on topic Extra WYSIWYG fields
Well done.. has anybody even seen this?
Thank you FaïWoueb, this works!!!! yo urock. thank you to K2!

FaïWoueb said:I found a solution !
1/ Edit the administrator/components/com_k2/models/extrafield.php file
Line 164 :
Replace :
$output='';
By :
$editor =& JFactory::getEditor();
$output = $editor->display("K2ExtraField_".$extraField->id."", $active, '550', '400', '60', '20', false);

2/ Edit the administrator/components/com_k2/models/item.php file
Line 462 :
Replace :
$variables = JRequest::get('post');
By :
$variables = JRequest::get('post',JREQUEST_ALLOWRAW);

... and that's all folks.

Please Log in or Create an account to join the conversation.

More
15 years 1 week ago #68718 by anson parker
Replied by anson parker on topic Extra WYSIWYG fields
I'm trying to do this - what steps am I missing? Am still not getting the editor window in there... using firefox latest k2 + joomla...

any thoughts greatly appreciated

Please Log in or Create an account to join the conversation.

More
15 years 1 week ago #68719 by fidelis semper
Replied by fidelis semper on topic Extra WYSIWYG fields
I changed just as instructed. It works with JCE, have not tried Tiny yet.
what files did you change?

anson parker said:I'm trying to do this - what steps am I missing? Am still not getting the editor window in there... using firefox latest k2 + joomla...
any thoughts greatly appreciated

Please Log in or Create an account to join the conversation.

More
15 years 1 week ago #68720 by anson parker
Replied by anson parker on topic Extra WYSIWYG fields
I'm working with the JCE also - I've attached the files i'm messing with including what I believe to be the correct edits... perhaps you could post yours and let me see test them?

Please Log in or Create an account to join the conversation.

More
15 years 1 week ago #68721 by fidelis semper
Replied by fidelis semper on topic Extra WYSIWYG fields
I think I found your problem.
in extrafield.php
Comment out line 167, which is the second $output.

anson parker said:I'm working with the JCE also - I've attached the files i'm messing with including what I believe to be the correct edits... perhaps you could post yours and let me see test them?

Please Log in or Create an account to join the conversation.

More
15 years 1 week ago #68722 by anson parker
Replied by anson parker on topic Extra WYSIWYG fields
well that was certainly an error - however it hasn't solved it- I'm getting a larger text area now though.... as if the dimensions are being correctly pulled however the wyswyg editor isn't there (JCE 154)

Greatly appreciate your help here - this is a big step for K2

Please Log in or Create an account to join the conversation.

More
15 years 1 week ago #68723 by fidelis semper
Replied by fidelis semper on topic Extra WYSIWYG fields
Try my files.

anson parker said:well that was certainly an error - however it hasn't solved it- I'm getting a larger text area now though.... as if the dimensions are being correctly pulled however the wyswyg editor isn't there (JCE 154)
Greatly appreciate your help here - this is a big step for K2

Please Log in or Create an account to join the conversation.

More
15 years 1 week ago #68724 by anson parker
Replied by anson parker on topic Extra WYSIWYG fields
tested this by creating a new extra group, a new text area, a new category and a new item..... both firefox linux and firefox windows... I am surprised that the text area is the correct size and not yielding the toolbar across the top

Please Log in or Create an account to join the conversation.


Powered by Kunena Forum