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

Show table on frontend? #15

Open
justJUH opened this issue Dec 5, 2018 · 1 comment
Open

Show table on frontend? #15

justJUH opened this issue Dec 5, 2018 · 1 comment
Assignees
Labels
enhancement New feature or request question Further information is requested

Comments

@justJUH
Copy link

justJUH commented Dec 5, 2018

Is there an easy way to show the table not only in the backend, but also in the frontend? Thanks for your help.

@Benjamin-K
Copy link
Member

I think the easiest way would be to create your own controller that extends the Wegmeister\DatabaseStorage\Controller\DatabaseStorageController. Then simply create a new method and call $this->showAction($identifier) in it or copy the content of that function (because maybe you need to adjust permissions otherwise).
Then you can copy the template (Resources/Private/Templates/DatabaseStorage/Show.html) and remove the action column. Styling is up to you.

Maybe i will add this in a future version of the plugin but right now i do not have the time for it.

@Benjamin-K Benjamin-K added the question Further information is requested label Dec 10, 2018
@Benjamin-K Benjamin-K self-assigned this Dec 10, 2018
@Benjamin-K Benjamin-K added the enhancement New feature or request label Feb 6, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants