File uploader for minigallery field

More
12 years 7 months ago #29976 by maximus8891
I assume there should be a hidden field
Code:
<input type="hidden" name="secure" value="0" />
for the file upload form in the file
Code:
administrator/components/com_flexicontent/views/fileselement/tmpl/image.php
as it uploads files in a secure place, which is unreachable for an image-list.

FLEXIcontent version 2.0.0 RC9 (r1514)

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

More
12 years 7 months ago #29979 by ggppdk
minigallery is uploading to FLEXIcontent MEDIA folder, while image(image gallery) and file field are uploading to FLEXIcontent SECURE folder,

future version of minigallery will be able to use the "folder mode" that was added to image(image gallery) field , and thus have item_id_field_id specific folder


-- 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...

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

More
12 years 7 months ago #29984 by maximus8891
Then this is a bug, as a minigallery does NOT upload to a MEDIA folder by default. Unlike RC5, for example.

I have checked r1522 from SVN for this behavior. The same problem exists.

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

More
12 years 7 months ago #29987 by maximus8891
Another problem is with other "Image / Image Gallery" field.

I add an image to a material. The next time I try to edit and save the material, it tells me there is an unfilled input, which happens to be a file input of a hidden form "Change this value". After I re-set it, it proceeds normally.

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

More
12 years 7 months ago #30002 by ggppdk
there is a bug with the required parameter for new image/image gallery field, please disable it, this is fixed some revision after r1514

about minigallery, it does use the media folder, which has a default value of :
components/com_flexicontent/medias


-- 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...

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

More
12 years 7 months ago #30008 by maximus8891
Thank you for the reply.

Concerning the minigallery, I experienced such behaviour:
1. Pressed "Add" button.
2. Uploaded file through a modal file manager.
3. Got message "Successfully uploaded and selected"

though the list under the upload form remained empty. And in fact no file had been selected. But when I went to the file manager view. The file has been in the secure list.

After inserting this workaround:
Code:
<input type="hidden" name="secure" value="0" />

everything went on normal - I uploaded a file and it appeared in the list after the upload.

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

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