[SOLVED] Minigallery field, preview not showing after image selection when filename is changed during uploading

More
8 years 7 months ago - 8 years 7 months ago #57297 by chaaya
After uploading files using the Multiple Uploader, then click on the image to link to the minigallery field, you get an error: "file not found" (you need to enable phpthump debug messages to see the error).

The bug is in the file: /administrator/components/com_flexicontent/views/fileselement/tmpl/image.php, line 415 or there about.
To fix, replace:
$img_assign_link = "qffileselementadd(document.getElementById('file".$row->id."'), '".$row->id."', '".$display_filename."');";
with
$img_assign_link = "qffileselementadd(document.getElementById('file".$row->id."'), '".$row->id."', '".$filename."');";

Perhaps the file default.php, in the same folder should also have the same change, but didn't test.

I wish the autoassign for multiple upoader works!.
Last edit: 8 years 7 months ago by ggppdk.

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

More
8 years 7 months ago - 8 years 7 months ago #57305 by micker
thanks for sharing

FLEXIcontent is Free but involves a very big effort on our part.
Like the our support? (for a bug-free FC, despite being huge extension) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing reviews. Thanks![/size]
Last edit: 8 years 7 months ago by ggppdk.

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

More
8 years 7 months ago - 8 years 7 months ago #57338 by ggppdk
Hello

yes in minigallery uses this parameter, the preview image FILE PATH

- fix included in v3.0.9-dev*

also removed all mootools dependences (fields, modules, flexibreak, etc), so mootools will not be loaded by FC
except for
- minigallery field viewing, which uses a mootools based slideshow, (an alternative will be used in future version, based on the carousel JS of universal module)
- item form, where there are dependecies due to Joomla libraries but not due to FLEXIcontent code


-- 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...
Last edit: 8 years 7 months ago by ggppdk.

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

Moderators: vistamediajoomlacornerggppdk
Time to create page: 0.278 seconds
Save
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