Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [files]

The tag has no usage guidance.

0
votes
1answer
38 views

What's the best way to search for specific terms in files?

I have a situation where the client will be uploading a ton of pdf files, and then on the front-end we need a tool to search for key-terms within these files. Sometimes that key-term is in the file ...
3
votes
1answer
31 views

EE3 - When image description is blank, use title field

I'm running into a roadblock here. Basically my client wants to use the "description" field of a file as the alt text, unless it isn't filled out, then he wants it to fall back to the page title. I am ...
0
votes
0answers
39 views

Issue uploading of .xlsx files via File Manager in Expression 2.10.3

I'm having problems uploading a file (Excel .xlsx format) via file manager. The EE install is 2.10.3. When I attempt to upload the .xlsx file it states 'file not allowed'. I've inspected the /...
0
votes
0answers
23 views

Quick way to get file basename?

I'm updating an old EE2 site to EE3, and my one remaining issue is a place where we used GWcode FileInfo to get the basename of image files (e.g. return "picture" for "picture.jpg"), so we can then ...
0
votes
0answers
36 views

Image urls on remote server

I uploaded my site to a remote server but the links to the image are still pointing to the local version. I have synced the file folders. What do I need to update to get this to work.
0
votes
1answer
50 views

Easy creation of new file upload directory per entry instead of per channel?

I want to know if there is a way to create unique file upload directories that are assigned PER ENTRY, instead of assigned to a channel? I have a channel named "Projects" and each entry will have a ...
0
votes
0answers
19 views

using file_size with grid EE3.3.1

I have a grid {documents} made up of files. I'm trying to display the file name along with the file size but the file size is not displaying whatsoever. Here's my code: {documents} <tr> <...
0
votes
1answer
22 views

Issue with grid field and loading images, last image loaded keeps replacing all others

I'm having an issue with loading images to the grid field from the file manager: I'll add a first row and image, and then add a 2nd row, and add a second image, the first image get's replaced by the ...
0
votes
1answer
39 views

Major glitch with EE3 and multiple file fields

I've got a channel that uses a file field for a logo and another file field for a building beauty shot. In EE3, if I change the image on one field, then change the file on the other, it change BOTH to ...
0
votes
1answer
89 views

How to get file_id of file uploaded in Grid field

I have a grid field with rows containing files uploaded. These grid entries are output on a standard page but I need to access the filetype of the files uploaded and this only appears to be available ...
1
vote
1answer
58 views

ExpressionEngine 3 photo file and signature file settings?

Same as EE2 where we can set avatar file settings, signature file settings and photo file settings Do we have something in EE3 where we can set file store location, height, width, max KB etc. for ...
0
votes
1answer
45 views

File Manager, unable to edit file

I'm using EE 2.8.1, I can't edit a file in file manager. If I go to: Content > Files > File Manager. Select and file and under the Actions column, select edit, I get a page saying I'm not authorised ...
0
votes
1answer
215 views

A jpg upload triggers: File Not Allowed

After upgrading to 2.10.3, my client can no longer upload anything via the File Manager - not even a vanilla 24kb jpg. "File not Allowed" appears in red letters in the modal window where the file is ...
1
vote
2answers
73 views

Word separator for file names

The default file name separator for Expression Engine is an underscore. And this cannot be changed. But the url title word separator is. For seo purposes, our client asked if it is possible to use ...
0
votes
2answers
41 views

EE3 core file entry tag

I'm getting an error with simple file entries tag: The following tag cannot be processed: {exp:file:entries} Please check that the ‘file’ module is installed and that ‘entries’ is an ...
0
votes
1answer
152 views

Cannot upload Adobe InDesign file

I'm having trouble trying to upload an InDesign file to my EE site. I've added the following to the system/expressionengine/config/mimes.php file application/x-indesign however upon uploading the file ...
0
votes
2answers
65 views

Grid conditional for a file(s) - If file exists display content (file)

I have a grid field (files), with a column/variable (file). I just need to display my content/snippet if a file has been uploaded. So something like: {if files:file}link to my file{/if} Any help is ...
2
votes
1answer
606 views

File names with special characters

If a channel entry uses a file that has been uploaded that contains special characters (I've noticed this so far with brackets and commas), it now produces a PHP error saying the file does not exist. ...
4
votes
2answers
3k views

PHP fileinfo and MimeType.php

I get this error after upgrading to EE 2.10.1 Fatal error: Call to undefined function EllisLab\ExpressionEngine\Library\Mime\finfo_open() in /home/foo/bar/EllisLab/ExpressionEngine/Library/Mime/...
2
votes
1answer
57 views

Need to turn off thumbnail recreation when synchronizing files - possible?

I brought up this issue with the developers when EE 2 first came out and at the time there was no solution. I am now wondering if anyone has created any hacks, workarounds or add-ons that solve the ...
0
votes
1answer
73 views

Can I link an entry to an Assets folder, instead of adding files?

I am using Assets to manage documents associated with entries, but each entry will have sub-folders. Categories for each document. I am hoping to show a folder navigation on the front end to click the ...
0
votes
1answer
56 views

How do I use a SAEF / Channel Form to upload a file not related to entry?

Is there any way to use a SAEF / Channel Form to upload an image (with title, category etc.)? Will it require a custom plugin or is this something that can be achieved already? Thank you.
0
votes
0answers
54 views

Uploaded files not saving

I'm using EE 2.4, I have a file upload field in a matrix, when I upload a file and save the entry, it works fine, but when I reopen the entry to add new files, all the previously upload files are gone....
0
votes
2answers
80 views

Conditional based on file extension

I have a piece of code whereby I adjust the output of a file depending on it's file extension: {section_1_files} {section_1_files:file} {if {extension} == 'jpg|JPG|jpeg|JPEG|png|PNG|gif|GIF'} ...
0
votes
1answer
109 views

Image uploads, but the modal doesn't update

Using EE 2.8.1 with the default file field. When uploading an image the modal changes to just have the blank modal with spinner screen (attached). It does actually upload though - but the user has to ...
1
vote
1answer
590 views

Error Number: 1052 Column 'site_id' in where clause is ambiguous

We are getting the above error on an intranet that is running the following code: {exp:file:entries category_group="2" category="<?= $cat; ?>"} <tr> <td class="date">{...
2
votes
0answers
51 views

VL File Generator and EE 2.8

Is someone using VL File Generator with EE2.8? I've bought it these days, and it's not working (the file is not saved), even with all the correct settings: URL: www.example.com/receitas/receitas_json ...
1
vote
1answer
983 views

php error Filename: helpers/form_helper.php

Got an error A PHP Error was encountered Severity: Notice Message: Array to string conversion Filename: helpers/form_helper.php Line Number: 345 I do not have a helpers folder in my main ...
1
vote
2answers
358 views

Migration from File Manager to Assets

I am working on a fully-developed site that is currently live, with hundreds, perhaps thousands of images and files in preset folders using File Manager in EE. As a pre-purchase question, I guess... ...
2
votes
1answer
116 views

Share upload locations MSM

Is there a way to share upload locations between MSM sites, or to sync the dirs for both sites? If not, is there another module that can do this?
0
votes
0answers
165 views

Creating a front end file upload that works with the Files module

I'm trying to work out a way to allow users on the front end to upload a file. Not so difficult in itself but I then need to assign a category to that uploaded file. Ideally I want to use the Files ...
2
votes
2answers
105 views

Save Templates as Files and Google Analytics

I am saving templates as files and now just recently I noticed that when I open a template in my Code Editor via FTP the then open template gets displayed in Google Analytics "Realtime" report, like ...
1
vote
1answer
751 views

Display entries image files in grid field

I've got a grid field called 'images', it has 2 columns in it, a 'files' field, which I've called 'file' and a 'text input' field, which I've called 'caption'. I've got an entry with several images in ...
1
vote
0answers
57 views

Securing files that are linked through a Wygwam field

I'm working on a site that has certain pages that are going to be restricted to members only. It's using an external membership database to authenticate members, not EE's native members. Some of the ...
2
votes
2answers
183 views

Git and Templates saved as file

I am playing around with Git together with an EE install and I think that I have almost nailed it (aka found my workflow). There is just one small unclarity remaining with Templates being saved as ...
1
vote
0answers
77 views

Converting channel images to vanilla file field type

I am trying to convert the channel images module into a plain old vanilla file field type. Specifically for the reason that the folder structure channell images imposes (entry id for each folder, ...
3
votes
1answer
136 views

All “file” fieldtypes being required since upgrade

Sorry to keep whining to you guys :) After upgrading from 2.5.3 to 2.7.0 and then to 2.7.1 in the last few days, I've discovered that creating new content and editing existing content are both ...
0
votes
1answer
72 views

File fieldtype in Matrix error: “File cells don’t work within SafeCracker…”

In EE 2.7.0 I'm now getting "File cells don't work within SafeCracker. Use SafeCracker File instead" messages within Matrix cells that formerly used SafeCracker File as fieldtype and have now been ...
0
votes
1answer
158 views

Changing File Module's {file_size} variable into MB

Is there an easy way to change the File Module's {file_size} variable from its default output of bytes, into megabytes? Seems just slack not to provide a better user friendly output that what's on ...
1
vote
1answer
23 views

File path disappears when logged in

I created a simple member's area, where people can login and download PDFs. When I created the new member group, create a new member, and login as them – all file paths are disappearing on the front-...
2
votes
3answers
906 views

Create (generate) download links from files on server

My client wants to hold its PDF documents library for reference and easy-always-wherever access. The problem is that the library holds more than a thousand study documents. It's impossible to manually ...
0
votes
1answer
53 views

Sharing live file upload folders with dev

I have a scenario where I would like to share the live file upload folders for a site with the dev environment. Both environments are on the same server so I've created a symbolic link in the dev ...
1
vote
0answers
17 views

Is there a way or add-0n to show an image or file is linked from an entry if a user tries to delete it?

A client wants to prevent an editor from renaming or deleting an asset/file/entry that is linked from anywhere on the site. I cannot find an add-on that does this. They are requesting a list that ...
2
votes
1answer
134 views

How can I control the filenames of files uploaded via SAEF/Safecracker using Safecracker File in a Matrix?

Firstly, I think the files should have unique names by default - nevertheless a problem came up yesterday in which one member's images were being displayed in place of another member's images because ...
0
votes
1answer
57 views

Show categories in file module listing in Controlpanel

I'm looking to find a way to show associated categories when viewing lists of files within the file module in the control panel. I know that Zenbu can show this information but it only works with ...
1
vote
0answers
118 views

File Category or Assets Folders for File Listings?

I'm using Assets and need to output a 'Resources' section listing various types of PDF's - Brochures, Technical Data, Operating Manuals with a 'category' nav to filter them. I initially set them up ...
1
vote
1answer
155 views

Seeking thoughts on best way to create a “Document Repository”

I'm just moving in to the next phase of a large project and trying to work out the best way to tackle it, or indeed if any add-ons exist that might help. This part of the project is basically a ...