I’ve come across a minor problem that I think might be related to this - when I update an entry, instead of the page I got back before installing FF + nGen File Field, I get some cryptic metadata:
It’s just on the publish confirmation page - in the template is OK. It’s just a bit weird, and i can imagine it coming up when the client takes control, I thought it was broken, so who knows what they’ll think. The publish confirmation page itself is a bit weird (as an EE noob) - can it be customised per weblog?
Hello,
I’ve got Fieldframe with FF Matrix and NGen File Field set-up to create a single entry gallery. As a next step i’d like to introduce a JQuery plugin such as This one or similar. Most/all of these gallery plugins require a separate thumbnail image. Sooo, to make a very long question shorter…
...Is there a way I can get ‘automatic’ thumbnails using my current set-up? Maybe an additional extension?
Fantastic extension Fred, simply a must have for any setup. Also big kudos to Brandon for providing FieldFrame.
Currently I am getting below error on my local test environment Notice: A session had already been started - ignoring session_start() in D:\Programs\XAMPP_1.6.7\htdocs\system\extensions\ext.publish_tweeks.php on line 185
As one can imagine, when Publish Tweeks extension is disabled all works fine.
Also, this more like a feature request but is there way to access previously uploaded images/files as a selection rather then uploading the same file with an automatically changed name.
Say, we’ve got two entries on the same category and I want them to have the same image as their default image or even on the same entry (see attached image)
Hi fred. thanks A LOT for this file field!
I have the same feature request as Cem (choose previously uploaded images), and also the same session thinggy..
after that, I will never post a feature requests again, cause all will be there
I’m having some trouble with this extension. I’m not using it with FF Matrix but rather as a stand alone extension field type.
Anyhow when I upload an image and hit submit I get the following errors and the control panel fails to load.
Warning: unlink(/path/to/upload_directoryy/galleryimages/{) [function.unlink]: No such file or directory in D:\xampp server\htdocs\penpride\mr_system\extensions\fieldtypes\ngen_file_field\ft.ngen_file_field.php on line 249
Notice: Undefined offset: 1 in \path\to\system\extensions\fieldtypes\ngen_file_field\ft.ngen_file_field.php on line 411
Warning: Cannot modify header information - headers already sent by (output started at \path\to\system\extensions\fieldtypes\ngen_file_field\ft.ngen_file_field.php:249) in \path\to\system\core\core.functions.php on line 726
Warning: Cannot modify header information - headers already sent by (output started at \path\to\system\extensions\fieldtypes\ngen_file_field\ft.ngen_file_field.php:249) in \path\to\system\core\core.functions.php on line 296
When I do make it back to the edit screen the file has successfully uploaded but above the control panel I have the following error:
Warning: getimagesize(/path/to/upload_directory/galleryimages/{) [function.getimagesize]: failed to open stream: No such file or directory in \path\to\system\extensions\fieldtypes\ngen_file_field\ft.ngen_file_field.php on line 183
And the image doesn’t display as a thumb instead I see the following (check screenshot)
I am using this outside of FieldFrame as a standalone custom field. I was wondering if there are any problems when I use the same field in an SAEF to upload images? Has anybody ever tried it? If it doesn’t work, I’ll sadly have to resort to the traditional Text Input field for uploading duties.
@Phayze The result you see is unfortunately the result of how FF Matrix is stored in the system and the preview page shows what is put in the DB. Slapshot’s recommendation of Publish Tweeks is your best bet.
@Sean C. Smith Please PM me URL + login/password for this installation if possible.
@Dammy Tam Unfortunately current SAEF is not supported. This is a limitation of FieldFrame and not nGen File. I believe that SAEF support is currently being worked on for FieldFrame by it’s author.
Thanks so much. This is a great extension. I wondered if there was anyway to parse out just the file name from the field name.
Meaning the file field name outputs the path as well like /assets/pdf/file_name.pdf. Is there anyway to just output just the file name without the path?
I wondered if there was anyway to parse out just the file name from the field name.
Meaning the file field name outputs the path as well like /assets/pdf/file_name.pdf. Is there anyway to just output just the file name without the path?
@fodney You would currently have to use some PHP to do that. The basename function does just that. See docs on php.net
Fred, we have a situation where I have to import large chunk of data using CSVGrab. When entries are manually done we get below data which has its own format to hold data.
@Cem This appears to be more of an FF Matrix question and not specific to the File fieldtype. However what you are seeing is a serialized array. You would need to serialize the data prior to inputting it into the DB. Since EE stores the matrix in one field a bit of magic needs to be done in order to reverse the process or directly store a new entry. I’m not very familiar with CSVGrab so not sure how this would work. Feel free to PM me if you’d like and I can try to help more if I can.
@Cem This appears to be more of an FF Matrix question and not specific to the File fieldtype. However what you are seeing is a serialized array. You would need to serialize the data prior to inputting it into the DB. Since EE stores the matrix in one field a bit of magic needs to be done in order to reverse the process or directly store a new entry. I’m not very familiar with CSVGrab so not sure how this would work. Feel free to PM me if you’d like and I can try to help more if I can.
I’ve just noticed that Fred and thank you for replying. As per your knowledge while creating nGen File Field, do you control some parts of data related to your field or is it purely FF Matrix that controls how data is constructed?