does anybody know how to replace MH file with this solution without loosing the entries? I have several file fields with multiple uploads enabled…
here’s the existing code ({ueber-bilder} is the MH file field)
{ueber-bilder}
<li>{file_url}</li>
{/ueber-bilder}
So I guess, I would have to create a new FF Matrix field and name it “ueber-bilder” then, I would have to put two fields in the matrix: 1) ngfile field and name it “file_url” 2) a text field and name it “file_name”
and then I would have to delete the mh file field… then - woodoo - it would display just the same?? am I right in doing so? anybody has any experience?
cheers stefan
I noticed an error. This error occurred when I use nGen File field. pressing on “update”
“The following errors were encountered
There was no category provided. Please go back and provide a category.”
When i uninstall it the error is gone. I reinstalled the latest version and the error is back.
I use FF Matrix with: 1 x text area 2 x nGen File field
Correction: This DOES work with the FF Matrix field type on an MSM site. The only issue I can see is that the thumbnails you see in the edit entries screen aren’t reflecting the path of the MSM site I’m looking at.
Tracked the problem down to (maybe) the function _create_thumbnail in ft.ngen_file_field.php. Can anyone help with this?
$server_path = $file_info['dirname'];
$thumb_path = $server_path . "/thumbs/";
UPDATE: Fred has now resolved this and all is groovy with MSM and Ngen File Field.
Cheers
Jim
This is working well for a small photo gallery I’m building. The photo gallery page itself is fine: a combination of nGen File Field / Field Frame / the imgsizer plugin / and jQuery Fancybox works beautifully.
However, I’m also trying to create a gallery overview or index page, which lists all the galleries on the site. For each gallery listed, I just want to show the title, a brief description, and ONE image pulled from the gallery weblog entry. Each weblog entry for the photo gallery might have 8, 12 or more images in. But on the overview page, I just want to show the FIRST image in the set.
The {count} variable used to work with Mark Huot’s File extension…..
{studioimage}{if count == 1}
<a href="http://{title_permalink=English/artistdetails}">{file_thumb_url}</a>{/if}{/studioimage}
…. but that doesn’t work with FF Matrix. I tried this…..
{photo_set}
{if count == 1}
<a href="/index.php/English/photogallerydetails" title="Click for full gallery">{exp:imgsizer:size image="{photo_file}" width="135" height="85" alt="{title}"id="img_5334" class="alignright" quality="60"}</a>
{/if}
{/photo_set}
…. but no luck. {photo_set} is the custom field name for my FF Matrix field. And it contains two columns: {photo_file} and {photo_caption}.
Anyone have any ideas? Nik
This is working well for a small photo gallery I’m building. The photo gallery page itself is fine: a combination of nGen File Field / Field Frame / the imgsizer plugin / and jQuery Fancybox works beautifully. However, I’m also trying to create a gallery overview or index page, which lists all the galleries on the site. For each gallery listed, I just want to show the title, a brief description, and ONE image pulled from the gallery weblog entry. Each weblog entry for the photo gallery might have 8, 12 or more images in. But on the overview page, I just want to show the FIRST image in the set. The {count} variable used to work with Mark Huot’s File extension…..…. but that doesn’t work with FF Matrix. I tried this…..{studioimage}{if count == 1} <a href="http://{title_permalink=English/artistdetails}">{file_thumb_url}</a>{/if}{/studioimage}
…. but no luck. {photo_set} is the custom field name for my FF Matrix field. And it contains two columns: {photo_file} and {photo_caption}. Anyone have any ideas? Nik{photo_set} {if count == 1} <a href="/index.php/English/photogallerydetails" title="Click for full gallery">{exp:imgsizer:size image="{photo_file}" width="135" height="85" alt="{title}"id="img_5334" class="alignright" quality="60"}</a> {/if} {/photo_set}
good morning!
try this:
{if {row_count} == 1}...{/if}
I tend to find this very useful:
{if {row_count} == {total_rows}} class="pad_bottom"{if:else} class="pad_border"{/if}
cheers stefan
I’m having a strange little problem with 0.9.7
When I click the trashcan icon, i get the popup bubble, but nothing in it except the “close” cross. So I can’t delete an image.
Any ideas? Have I upgraded from 0.9 incorrectly?
UPDATE
I had mucked up, and failed to upgrade the language file. My bad.
I do have another issue, but have left it in subsequent comment a few posts down.
When I have an nGen File Field in my publish form, any sumbission errors (eg: not filling in a required field) causes some kind of error that leaves a blank page.
Let’s say I have a file field…
If I submit with no title, and nothing in the nGen field, I get a normal Publish page error.
If I submit with no title, and a new file selected for upload, I get a blank page (but the file uploads!)
If I submit with no title, and an existing file selected , I get a blank page.
I have a fresh install, with minimal add-ons (jQuery for CP, Field Frame, nGne FF, Structure Module and Extension)
I’m getting a blank publish page 😖. Disabling File Field displays the page (I’m using File Field in a Matrix with a textfield and textarea).
Using v0.9.7 of file field and v1.0.8 of FieldFrame
Previously in this thread there were a couple of posts regarding a blank page when you click on publish, but I couldn’t see how this was resolved…?
Luckily I’ve got v0.9 of File Field and this works fine! Any ideas why v0.9.7 fails to work?
@shinka + @Sean C. Smith If you still have a publish/edit blank page, what is the limit memory for PHP. Fred suggesetd turning on the PHP errors and in my casr it was clear that the default 8M memory_limit was the couse of the error. The extension requested amore than. TO check the PHP memory_limit go to CP Home › Admin › Utilities › PHP Info and search for memory_limit.
Thanks elemental! This was my issue as well using MAMP.
Just increase the memory limit in your php.ini config file.
Applications > MAMP > conf > php5 > php.ini
Line 232: memory_limit = 8M; Maximum amount of memory a script may consume (8MB)
Bump it up, restart MAMP for the settings to take hold and the Publish screen should come back.
Thanks to Brandon and nGen for putting this stuff out there, these are fabulous additions.
If you don’t already know FF is now SAEF aware! I try to use File Field from my saef and nothing gets on to the server side, In other words the field in the entry is blank and the image is not on the server after I submitted through saef, all other info is there. Any idea what could be causing this?
UPDATE: The function works if I pick an existing file, just not uploading.
If you don’t already know FF is now SAEF aware! I try to use File Field from my saef and nothing gets on to the server side, In other words the field in the entry is blank and the image is not on the server after I submitted through saef, all other info is there. Any idea what could be causing this? UPDATE: The function works if I pick an existing file, just not uploading.
FF Matrix is not SAEF compatible yet, hence nGen File Field as well.
Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.