[FIXED v3.0.12] Image field in DB-mode popup selector only works correctly for existing values

More
10 years 6 hours ago - 9 years 11 months ago #59877 by agata
Hello,
I upgraded to FC 3.0.10 (and then to 3.0.11) and I noticed that the image fields with multiple values don't quite work, that is the first image pop-up selector (in the back-end) appears correctly and when I proceed to trying to upload a second image, the popup doesn't appear, only the stripey overlay. The temporary solution to this is to upload 1 image, apply, then upload another one, apply, and so on.
Thanks,
Agata
Last edit: 9 years 11 months ago by ggppdk.

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

More
10 years 5 hours ago - 9 years 11 months ago #59878 by ggppdk
Hello

i tested with
chrome 48.0.2564.97 m
firefox 44.0
edge 25.10586.0

i cannot replicate it

- do you have a custom backend template ? can you test with Joomla built-in ?
can you check for JS errors ?


[update]
what is the "source" mode of the field ?


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star review. Thanks!
Last edit: 9 years 11 months ago by ggppdk.

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

More
10 years 5 hours ago - 9 years 11 months ago #59879 by ggppdk
Hello

i see the problem with when image source mode is "DB re-usable"


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star review. Thanks!
Last edit: 9 years 11 months ago by ggppdk.

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

More
10 years 5 hours ago - 9 years 11 months ago #59880 by agata
I don't have a custom back-end template. I tested it with Firefox and Chrome with the same results. The source is Reusable DB Mode. No javascript errors, only a warning:
Use of getAttributeNode() is deprecated. Use getAttribute() instead.

What do you mean by "can you test with Joomla built-in"?

Thanks,
Agata
Last edit: 9 years 11 months ago by ggppdk.

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

More
10 years 5 hours ago - 9 years 11 months ago #59881 by ggppdk
Hello

test this fix,
edit plugins/flexicontent_fields/image/image.php

replace:
Code:
var imgprev_JTooltips = new Tips($(newField.get(0)).getElements('.hasTipPreview'), { \"maxTitleChars\": 50, \"fixed\": false, \"onShow\": jMediaRefreshPreviewTip});
with
Code:
if ( tipped_elements.length ) var imgprev_JTooltips = new Tips($(newField.get(0)).getElements('.hasTipPreview'), { \"maxTitleChars\": 50, \"fixed\": false, \"onShow\": jMediaRefreshPreviewTip});


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star review. Thanks!
Last edit: 9 years 11 months ago by ggppdk.

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

More
10 years 4 hours ago - 9 years 11 months ago #59882 by ggppdk
Hello

will test this more thoroughly and make a solid fix


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star review. Thanks!
Last edit: 9 years 11 months ago by ggppdk.

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

More
10 years 4 hours ago - 9 years 11 months ago #59883 by agata
Last edit: 9 years 11 months ago by ggppdk.

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

More
9 years 11 months ago - 9 years 11 months ago #59904 by ggppdk
Hello

The bug is due to HTML being moved into a jQuery dialog and then re-positioned back into the form

- i have test the fix, can you confirm the fix ?

edit file:
components/com_flexicontent/assets/js/flexi-lib.js

find function fc_showAsDialog take care there is 1 similar function (edit only fc_showAsDialog):
find:
Code:
// Allow parent document to scroll again jQuery(document.body).removeClass('fc-no-scroll');
after it add:
Code:
jQuery(this).dialog('destroy');

In item form download the new JS by clicking CTRL-F5 (windows) or F5 (linux)
then test


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star review. Thanks!
Last edit: 9 years 11 months ago by ggppdk.

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

More
9 years 11 months ago #59921 by agata
I installed 3.0.12 and looks like it works, thanks!
Agata

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

Moderators: vistamediajoomlacornerggppdk
Cookies user preferences
We use cookies to ensure you to get the best experience on our website. If you decline the use of cookies, this website may not function as expected.
Accept all
Decline all
Essential
These cookies are needed to make the website work correctly. You can not disable them.
Display
Accept
Analytics
Tools used to analyze the data to measure the effectiveness of a website and to understand how it works.
Google Analytics
Accept
Decline
Save