- Posts: 12
COMMUNITY FORUM
Extra WYSIWYG fields
- mtif
-
Topic Author
- Offline
- New Member
Please Log in or Create an account to join the conversation.
- Jason3211
-
- Offline
- New Member
- Posts: 1
Please Log in or Create an account to join the conversation.
- Gurbir
-
- Offline
- New Member
- Posts: 1
Please Log in or Create an account to join the conversation.
- ade
-
- Offline
- New Member
- Posts: 1
I would truly appreciate any work around asap!!
Please Log in or Create an account to join the conversation.
- Adam Rifat
-
- Offline
- New Member
- Posts: 10
Can this be done with a plugin?
Please Log in or Create an account to join the conversation.
- fidelis semper
-
- Offline
- New Member
- Posts: 6
Please Log in or Create an account to join the conversation.
- Kormann
-
- Offline
- New Member
- Posts: 15
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.
- Nick
-
- Offline
- Elite Member
- Posts: 190
Please Log in or Create an account to join the conversation.
- DAVID JANES
-
- Offline
- New Member
- Posts: 16
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.
- FaïWoueb
-
- Offline
- New Member
- Posts: 2
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.
- anson parker
-
- Offline
- New Member
- Posts: 14
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.
- Bryan Smith
-
- Offline
- Premium Member
- Posts: 130
Please Log in or Create an account to join the conversation.
- fidelis semper
-
- Offline
- New Member
- Posts: 6
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.
- anson parker
-
- Offline
- New Member
- Posts: 14
any thoughts greatly appreciated
Please Log in or Create an account to join the conversation.
- fidelis semper
-
- Offline
- New Member
- Posts: 6
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.
- anson parker
-
- Offline
- New Member
- Posts: 14
Please Log in or Create an account to join the conversation.
- fidelis semper
-
- Offline
- New Member
- Posts: 6
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.
- anson parker
-
- Offline
- New Member
- Posts: 14
Greatly appreciate your help here - this is a big step for K2
Please Log in or Create an account to join the conversation.
- fidelis semper
-
- Offline
- New Member
- Posts: 6
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.
- anson parker
-
- Offline
- New Member
- Posts: 14
Please Log in or Create an account to join the conversation.