Keyword

Extra WYSIWYG fields

More
15 years 10 months ago #68705 by mtif
Extra WYSIWYG fields was created by mtif
You can add a variety of extra field types, but not another WYSIWYG field - yet.

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

More
15 years 10 months ago #68706 by Jason3211
Replied by Jason3211 on topic Extra WYSIWYG fields
This is SUPER IMPORTANT. PLEASE ADD THIS FEATURE. I spent hours customizing the K2 layout only to find that I can't use code in the text areas. Please respond if there's a workaround!

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

More
15 years 10 months ago #68707 by Gurbir
Replied by Gurbir on topic Extra WYSIWYG fields
Is there any workaround this one which would enable us to put html code in extra fields?

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

More
15 years 9 months ago #68708 by ade
Replied by ade on topic Extra WYSIWYG fields
its frustrating to almost be complete with a site and then realize that WYSIWYG was not available on text area. Now I am forced to consider another component after so much of work...
I would truly appreciate any work around asap!!

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

More
15 years 9 months ago #68709 by Adam Rifat
Replied by Adam Rifat on topic Extra WYSIWYG fields
Yes - this is needed by me also ASAP.

Can this be done with a plugin?

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

More
15 years 9 months ago #68710 by fidelis semper
Replied by fidelis semper on topic Extra WYSIWYG fields
I agree. Great product, but it kind defeat the whole point not to have a textarea without HTML editing capabilities. and I see from the trail that the support is kinda slow. besides that K2 has potential.

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

More
15 years 9 months ago #68711 by Kormann
Replied by Kormann on topic Extra WYSIWYG fields
I agree with you all. I thought K2 had it out-of-the-box and now I got disappointed. =(
My projects needs this feature. Please add it! And instead of Additional info title it would be cool if we could hide this title or rename it to another one too.

Keep the good work.

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

More
15 years 9 months ago #68712 by Nick
Replied by Nick on topic Extra WYSIWYG fields
try sourcerer. That might work.

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

More
15 years 9 months ago #68713 by DAVID JANES
Replied by DAVID JANES on topic Extra WYSIWYG fields
To get rid of 'additional info' or change it go to com_k2, templates, default (or whatever template files you are using), open up the view you are in, find 'additional info' and change it. Or in the css you can just isolate the selector and use display: none; then it won't show up.

K-mann said:I agree with you all. I thought K2 had it out-of-the-box and now I got disappointed. =( My projects needs this feature. Please add it! And instead of Additional info title it would be cool if we could hide this title or rename it to another one too.

Keep the good work.

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

More
15 years 8 months ago #68714 by FaïWoueb
Replied by FaïWoueb on topic Extra WYSIWYG fields
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 7 months 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 7 months 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 7 months 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 7 months 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 7 months 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 7 months 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 7 months 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 7 months 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 7 months 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 7 months 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