Comments (10)
Let me know if that does not work for you.
from media_upload.
I had this problem when I deleted de line 38 in Resources\Private\Templates\ViewHelpers\Widget\Upload\Index.html
for remove the 'View' button . When set the line <a class="view-btn btn btn-small btn-info hide" target="_blank">{f:translate(key: 'fineUploader.view')}</a>
again, I could have the uploaded files in array again
from media_upload.
Do you have this hidden field in the DOM? What happen to its "value" after uploading a file. You must have a pretty up-to-date version of Media.
<input class="first" id="uploaded-files-images" name="tx_mediaupload_pi1[uploadedFiles][images]" value="" type="hidden">
After upload:
<input class="first" id="uploaded-files-images" name="tx_mediaupload_pi1[uploadedFiles][images]" value="53c7462e-a171-41c8-822f-3b996f3c9018-2014-10-01_1052.png" type="hidden">
from media_upload.
Thank you for your time!
I do have this hidden field, here it is before and after upload - it's not changing:
<input id="uploaded-files-nxs" type="hidden" name="tx_mediaupload_pi1[uploadedFiles][nxs]" value=""/>
'nxs' is the property I am using - with this ViewHelper:
<mu:widget.upload storage="2" property="nxs" />
from media_upload.
and after upload - it's not changing
That's the problem. Do you have a JS error? I would need to double check whether I require jQuery in this build. Ideally it must be decoupled from jQuery.
from media_upload.
No JS error.
Here's the Console output of Fine Uploader:
[Fine Uploader 5.0.8] Parsing template media_upload.min.js:16 [Fine Uploader 5.0.8] Template parsing complete media_upload.min.js:16 [Fine Uploader 5.0.8] Rendering template in DOM. media_upload.min.js:16 [Fine Uploader 5.0.8] Template rendering complete
from media_upload.
Here would be the source file where to debug at line 92.
Pay attention, it must be edited in the build file
https://github.com/fabarea/media_upload/blob/master/Resources/Public/Build/media_upload.js#L11254
I am offline for the rest of the day. Hope you can figure out something.
from media_upload.
Interesting: I replaced the min.js with the not-min.js and now I got following hidden field:
```
But still: the ->uploadedFiles() is empty.
How can/should I pass this hiddenfield to my processAction ?
from media_upload.
That shouldn't be empty. When specifying the property in the VH, "nxs" in your case, it must also be told in the method as:
$uploadedFiles = $this->uploadFileService->getUploadedFiles('nxs')
I think it was discreetly mentioned in the example of the README.
from media_upload.
For me the problem still exists. The VH returns the described hidden field, but the value is always empty. Also uploadedFileList
and uploadedFiles
in ShowUploadedController.php are always empty.
from media_upload.
Related Issues (20)
- PATH_site missing in scheduler task HOT 1
- Bug in sanitizeFileNameAndPath
- Localisation for Mo and Ko HOT 1
- Can't override typoscript settings like allowedFrontendGroups HOT 1
- "Ref." column in Filelist is not counting up in TYPO3 8.7.19
- How can i use the Extention in EXT:form
- How can I create a multiple file upload? HOT 1
- Feature request: Check for image ratio/height/width HOT 2
- TYPO3 9.5.5 Statuscode 200 HOT 6
- Possibility to set as required?
- media_upload:temporaryfile:flush command should only delete older files HOT 1
- Compatibility with TYPO3 10.4 LTS HOT 1
- mu:widget.showUploaded didn't work
- ViewHelper returns encoded HTML
- move ExtensionManagementUtility::addStaticFile to TCA/Overrides
- allowedExtensions is always false HOT 1
- Typo3 12.4 compatible
- Sizeunit not working anymore
- Update documentation
- Upload with multiple upload fields broken since TYPO3 11 and cureent Github version
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from media_upload.