- Posts: 175
- Thank you received: 0
Select Editor in Wysiwyg's Custom Field
13 years 1 month ago #118649
by veeco
Select Editor in Wysiwyg's Custom Field was created by veeco
Hello,
I'm using JCE Editor as Default editor. But it seem there's problem between hikashop and JCE Editor as the data can't be save. This has no problem with tinyMCE... i would like to know is there a way to choose the editor for WYSIWYG custom field ?
Thanks
-- url of the page with the problem -- : still in localhost
-- HikaShop version -- : 2.2.0
-- Joomla version -- : 3.1.5
-- PHP version -- : 5.3.17
-- Browser(s) name and version -- : Firefox
-- Error-message(debug-mod must be tuned on) -- : Error_message
I'm using JCE Editor as Default editor. But it seem there's problem between hikashop and JCE Editor as the data can't be save. This has no problem with tinyMCE... i would like to know is there a way to choose the editor for WYSIWYG custom field ?
Thanks
-- url of the page with the problem -- : still in localhost
-- HikaShop version -- : 2.2.0
-- Joomla version -- : 3.1.5
-- PHP version -- : 5.3.17
-- Browser(s) name and version -- : Firefox
-- Error-message(debug-mod must be tuned on) -- : Error_message
Please Log in or Create an account to join the conversation.
13 years 1 month ago - 13 years 1 month ago #118692
by nicolas
Replied by nicolas on topic Select Editor in Wysiwyg's Custom Field
Hi,
There is no option for that. You can select the editor globally for HikaShop in the Editor option of the configuration.
There is no option for that. You can select the editor globally for HikaShop in the Editor option of the configuration.
Last edit: 13 years 1 month ago by nicolas.
Please Log in or Create an account to join the conversation.
13 years 1 month ago #118723
by veeco
Replied by veeco on topic Select Editor in Wysiwyg's Custom Field
Hi nicholas,
I believe there's a lot of hikashop user which using 3rd party Wysiwyg since default tinymce has a lot of limitation. i check on JCKEditor and JCE Editor.. and it has bugs with WYSIWYG, so using tinymce is a solution right now.
There's very simple solution on doing this, and i see you guys already prepare a neat code for this.. it took me an hour to find it, and i'm bit surprise for this simple solution and you choose not to give me a clue to find this... at least a simply reply like "you might take a look on xxxxx.php and xxxxx.php.... and can dig deep there, but we don't provide further support on this..."
Anyway.. for any of hikashop user who like to 'force' tinymce as the default WYSIWYG editor for custom field... here's the solution:
1. open administrator/components/com_hikashop/helpers/editor.php
2. find the line consist of : function setEditor($editor=''){
3. change it into: function setEditor($editor='tinymce'){
4. done
Hope this tips helpful
I believe there's a lot of hikashop user which using 3rd party Wysiwyg since default tinymce has a lot of limitation. i check on JCKEditor and JCE Editor.. and it has bugs with WYSIWYG, so using tinymce is a solution right now.
There's very simple solution on doing this, and i see you guys already prepare a neat code for this.. it took me an hour to find it, and i'm bit surprise for this simple solution and you choose not to give me a clue to find this... at least a simply reply like "you might take a look on xxxxx.php and xxxxx.php.... and can dig deep there, but we don't provide further support on this..."
Anyway.. for any of hikashop user who like to 'force' tinymce as the default WYSIWYG editor for custom field... here's the solution:
1. open administrator/components/com_hikashop/helpers/editor.php
2. find the line consist of : function setEditor($editor=''){
3. change it into: function setEditor($editor='tinymce'){
4. done
Hope this tips helpful
Please Log in or Create an account to join the conversation.
13 years 1 month ago #118724
by Jerome
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Replied by Jerome on topic Select Editor in Wysiwyg's Custom Field
Hi,
Thanks for the tip.
But you know that HikaShop contains a lot of lines and files and we are several to work in, so Nicolas just forgot about this helper and this function.
After that, if you want to modify a helper file, please be careful with updates. You can use class/helper override system like explained in this thread :
www.hikashop.com/forum/2-general-talk-ab...te-issue.html#109257
It will ensure you that your override won't be lost during updates.
Regards,
Thanks for the tip.
But you know that HikaShop contains a lot of lines and files and we are several to work in, so Nicolas just forgot about this helper and this function.
After that, if you want to modify a helper file, please be careful with updates. You can use class/helper override system like explained in this thread :
www.hikashop.com/forum/2-general-talk-ab...te-issue.html#109257
It will ensure you that your override won't be lost during updates.
Regards,
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Please Log in or Create an account to join the conversation.
Time to create page: 0.148 seconds