# Example Plugin: Custom Activity Summary Template

**URL:** <https://meta.discourse.org/t/example-plugin-custom-activity-summary-template/69016>\
**Category:** Plugin\
**Tags:** activity-summary\
**Created:** [August 29, 2017, 10:35pm UTC](https://meta.discourse.org/t/example-plugin-custom-activity-summary-template/69016 "2017-08-29T22:35:53Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Mark\_Wass](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mark_wass/32/290526_2.png) [@Mark\_Wass](https://meta.discourse.org/u/Mark_Wass)\
**Post date:** [February 21, 2023, 5:17am UTC](https://meta.discourse.org/t/example-plugin-custom-activity-summary-template/69016/2 "2023-02-21T05:17:55Z")

</div>

@mbcahyono

Thanks for supplying your example plugin. I’m trying to do something similar, I need to replace/override the /app/views/embed/comments.html.erb file with the one in my plugin.

This is my repo:

[https://github.com/OptDev/optuma-discourse-custom-embed](https://github.com/OptDev/optuma-discourse-custom-embed)

I’m not sure why this is not working, I thought EmbedController would be the correct class to use but I’m obviously wrong. Do you have any suggestions?

---

_[View the full topic](https://meta.discourse.org/t/example-plugin-custom-activity-summary-template/69016)._
