Custom WYSIWYG field does not always show up
- williamstdd
-
Topic Author
- Offline
Less
More
11 years 3 months ago - 11 years 3 months ago #206693
by williamstdd
Cheers,
Todd
Custom WYSIWYG field does not always show up was created by williamstdd
-- url of the page with the problem -- :
initiativeready.com
-- HikaShop version -- : 2.5.0
-- Joomla version -- : 3.4.1
-- PHP version -- : 5.4.42
-- Browser(s) name and version -- : Chrome 43.0.2357.130 m
-- Error-message(debug-mod must be tuned on) -- : N/A
I created a two custom product fields:
I should add that the custom field is restricted to a set of categories that these two each belong to.
Any idea what is going on?
-- HikaShop version -- : 2.5.0
-- Joomla version -- : 3.4.1
-- PHP version -- : 5.4.42
-- Browser(s) name and version -- : Chrome 43.0.2357.130 m
-- Error-message(debug-mod must be tuned on) -- : N/A
I created a two custom product fields:
- Text: "Author(s)"
- WYSIWYG: "Related Links Product Information"
- [url] initiativeready.com/index.php/home/bk-pu...uct/34-ccpm-goldratt [/url] (shows field)
- [url] initiativeready.com/index.php/home/bk-pu...anagement-with-scrum [/url] (does not show field)
I should add that the custom field is restricted to a set of categories that these two each belong to.
Any idea what is going on?
Cheers,
Todd
Last edit: 11 years 3 months ago by williamstdd.
Please Log in or Create an account to join the conversation.
- williamstdd
-
Topic Author
- Offline
11 years 3 months ago - 11 years 3 months ago #206694
by williamstdd
Cheers,
Todd
Replied by williamstdd on topic Custom WYSIWYG field does not always show up
Okay, This has to do with variants. It appears that when you have a custom WYSIWYG product field and you have variants that three characters (tabs?) that are placed in the variant copy of the field. Deleting those three characters fixes the issue.
The variant window or editing is also in HTML mode and will not toggle back.
Can someone else verify this? If it is an issue for others I will log a bug.
The variant window or editing is also in HTML mode and will not toggle back.
Can someone else verify this? If it is an issue for others I will log a bug.
Cheers,
Todd
Last edit: 11 years 3 months ago by williamstdd.
Please Log in or Create an account to join the conversation.
11 years 3 months ago #206935
by Jerome
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Replied by Jerome on topic Custom WYSIWYG field does not always show up
Hi,
Thanks for the report and sorry for the delay.
You should be able to re-download HikaShop 2.5.0 in order to get the patch.
Otherwise, you can apply it manually by editing the view "backend | your-backend-template | product | variant" and replacing
By
Because the patch will be in the next release, you can otherwise directly edit the view file "administrator/components/com_hikashop/views/product/tmpl/variant.php" ; so you wouldn't have to remove the view next time you will update.
Regards,
Thanks for the report and sorry for the delay.
You should be able to re-download HikaShop 2.5.0 in order to get the patch.
Otherwise, you can apply it manually by editing the view "backend | your-backend-template | product | variant" and replacing
Code:
foreach($this->fields as $fieldName => $oneExtraField) {
Code:
$this->fieldsClass->prefix = 'variant_'.time().'_';
foreach($this->fields as $fieldName => $oneExtraField) {
Regards,
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Please Log in or Create an account to join the conversation.
- williamstdd
-
Topic Author
- Offline
11 years 3 months ago #206944
by williamstdd
Cheers,
Todd
Replied by williamstdd on topic Custom WYSIWYG field does not always show up
Thank you . That seems to have done it.
Cheers,
Todd
Please Log in or Create an account to join the conversation.
Time to create page: 0.208 seconds