-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add imageuid in MagnificpopupController.php to template var #65
Comments
Is it possible for you to put it this var in the controller? |
Which TYPO3 version and extension version do you use? I started working on version 2.0.0 of this extension, but struggled on finding users willing to test it, since there are going to be some breaking changes. I'd like to ask you to test version 2.0.0-alpha.1, this version provides the complete file object in Any feedback (especially to version 2.0.0) is appreciated! |
I'am using TYPO3 8.7.22 and jh_magnificpopup 1.0.1. Here you can see it in action http://gsaitypo3.de.w0157f62.kasserver.com/projekte/ . If this is running with your 2.0.0 I can do the testing. |
Thanks. There will be an issue with version 2.0.0-alpha.1 in your case, thus I'm going to do some more work and update this issue when it's done. |
Sounds good! I can test it tomorrow evening. |
I've updated the extension and release version 2.0.0-alpha.2.
|
In MagnificpopupController.php I added manually (and not update safe) a template var inside the renderLinktypeFile.
$viewAssign['imageuid'] = $file->getProperty('uid')
I use this uid to implement the inline frontend editing for image description inside the template:
<core:contentEditable table="sys_file_reference" field="description" uid="{imageuid}"> <figcaption>{imagecaption}</figcaption></core:contentEditable>
The text was updated successfully, but these errors were encountered: