# Mounting widget in raw template?

**URL:** <https://meta.discourse.org/t/mounting-widget-in-raw-template/44400>\
**Category:** Development\
**Created:** [May 17, 2016, 7:15pm UTC](https://meta.discourse.org/t/mounting-widget-in-raw-template/44400 "2016-05-17T19:15:56Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![joebuhlig](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/joebuhlig/32/193054_2.png) [@joebuhlig](https://meta.discourse.org/u/joebuhlig)\
**Post date:** [May 18, 2016, 3:58pm UTC](https://meta.discourse.org/t/mounting-widget-in-raw-template/44400/3 "2016-05-18T15:58:03Z")

</div>

Makes sense, Robin. It gets tricky using a combination of widget decoration and plugin outlets. Since there’s no intent to port the topic list away from the raw templates (and I don’t disagree with this decision), it makes it difficult to work with the existing plugin outlets within the topic-list-item.

In my thinking, it would make sense to add a plugin outlet at the beginning of the loop in the topic-list:

[https://github.com/discourse/discourse/blob/master/app/assets/javascripts/discourse/templates/components/topic-list.hbs#L18](https://github.com/discourse/discourse/blob/master/app/assets/javascripts/discourse/templates/components/topic-list.hbs#L18)

Since there are a number of outlets being deprecated in exchange for widgets, I don’t think it would be too much to ask for an add. I’d be happy to create the PR if this is an acceptable way of coming at this.

I know there are more than one request for functionality being added to a topic list item (liking, bookmarking, voting) and this would make that process a lot easier.

---

_[View the full topic](https://meta.discourse.org/t/mounting-widget-in-raw-template/44400)._
