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
Blog comments form dissapears when overwriting the template #1321
Comments
where do you put this code? |
/src/Frontend/Modules/Blog/Actions/Detail.php
The template gets loaded without the default template, but the comment form is not visible. When I use the normal template like below the comment form is correct:
But the problem is that I need a different layout structure for the detail page of a blog item, so overwriting the template would be handy :) Thx! |
You could add "Blog Detail" as a new extra in the modules_extras table, so you'd be able to couple it to a seperate page with a different layout |
Owkey, thx for your reply. |
BLOG MODULE:
When overwriting the default template in Detail.php like this:
$this->loadTemplate(null, true);
... the comment form dissapears.
Any idea how to fix this?
I thought the bug get triggered when using multiple forms on a page (ex: search widget) but can't get it fixed.
Thx!
The text was updated successfully, but these errors were encountered: