FOSCommentBundle icon indicating copy to clipboard operation
FOSCommentBundle copied to clipboard

Override default form template

Open Err0r404 opened this issue 6 years ago • 0 comments

Hello,

After successfully setup the bundle (+ step 10) I want to customize some template.

I copied the whole Thread directory in my bundle but some templates are not replaced :

comment_new.html.twig
comment_new_content.html.twig

It looks like those template are loaded by the following code :

{{ render(url('fos_comment_new_thread_comments', {"id": thread.id})) }}

The code call original ThreadController.php in /vendor

Any idea on how I can finish overriding my templates ?

Err0r404 avatar Sep 26 '18 14:09 Err0r404