FriendsOfSymfony / FOSCommentBundle

Threaded comments for Symfony
http://friendsofsymfony.github.com/
MIT License
462 stars 230 forks source link

Override default form template #665

Open Err0r404 opened 5 years ago

Err0r404 commented 5 years ago

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 ?