Skip to content
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

Own UploadViewHelper-Template #26

Open
stephangrass opened this issue Aug 22, 2017 · 2 comments
Open

Own UploadViewHelper-Template #26

stephangrass opened this issue Aug 22, 2017 · 2 comments

Comments

@stephangrass
Copy link

How can I use my own UploadViewHelper-Template.
I tried:
plugin.tx_mediaupload {
view {
widget {
Fab\MediaUpload\ViewHelpers\Widget\UploadViewHelper {
templateRootPath = EXT:myext/Resources/Private/Templates/
}
}
}
}
But this will not work.

@emmemme
Copy link

emmemme commented Nov 22, 2017

I used the same logic, but the new widget paths are ignored...
Is it possible override the widget templates with typoscript or not?
Thanks

@oliverschloebe
Copy link

This does work as explained in the extension's docs:

config.tx_extbase {
  view {
    widget {
      Fab\MediaUpload\ViewHelpers\Widget\UploadViewHelper {
        templateRootPath = EXT:myext/Resources/Private/Templates/
      }
      Fab\MediaUpload\ViewHelpers\Widget\ShowUploadedViewHelper {
        templateRootPath = EXT:myext/Resources/Private/Templates/
      }
    }
  }

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants