# Plugins not loading. What am I missing?

**URL:** https://meta.discourse.org/t/plugins-not-loading-what-am-i-missing/62885
**Category:** Development
**Created:** [May 17, 2017, 3:55pm UTC](https://meta.discourse.org/t/plugins-not-loading-what-am-i-missing/62885 "2017-05-17T15:55:09Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![rohmann](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/rohmann/32/120852_2.png) [@rohmann](https://meta.discourse.org/u/rohmann)
#### Post date: [May 17, 2017, 3:55pm UTC](https://meta.discourse.org/t/plugins-not-loading-what-am-i-missing/62885/1 "2017-05-17T15:55:09Z")

</div>

I’m attempting to write a custom plugin. I’ve got a development environment setup with vagrant. I’ve created my own plugin

```plaintext
# name: my-plugin
# about: Customizations
# version: 0.0.1
# authors: Alex

```

I’ve also installed a couple official plugins. Although the plugin names appear on the admin plugin screen, their javascript isn’t loading - even for the official ones. No connectors are being loaded through their respective outlets.

I’ve tried clearing `tmp` and restarting Rails with: `rm -rf tmp; bundle exec rails s -b 0.0.0.0`

Any thoughts on what I’m missing or doing wrong here?

---

<div class="post-metadata">

### Author: ![eviltrout](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/eviltrout/32/5275_2.png) [@eviltrout](https://meta.discourse.org/u/eviltrout)
#### Post date: [May 17, 2017, 4:00pm UTC](https://meta.discourse.org/t/plugins-not-loading-what-am-i-missing/62885/2 "2017-05-17T16:00:48Z")

</div>

I have never seen this before. Are there any errors in your development console? Perhaps something is breaking the Javascript for the application?

What plugins are you trying?

---

<div class="post-metadata">

### Author: ![rohmann](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/rohmann/32/120852_2.png) [@rohmann](https://meta.discourse.org/u/rohmann)
#### Post date: [May 17, 2017, 4:40pm UTC](https://meta.discourse.org/t/plugins-not-loading-what-am-i-missing/62885/3 "2017-05-17T16:40:55Z")

</div>

Thank you for the quick reply! No errors in the rails console or the javascript console. At first I had these plugins:

- `discourse-unhandled-tagger`
- `discourse-presence`

I just installed `discourse-canned-replies` and it’s working nicely.

The other two don’t seem to be loading templates into connectors. For example, I don’t see the “Unhandled / Handled” button that should be placed in the footer.

Specifically, the connector I’m trying to access is `topic-list-after-title`, by creating this file:  
`assets/javascripts/discourse/templates/connectors/topic-list-after-title/presence.hbs`

---

<div class="post-metadata">

### Author: ![rohmann](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/rohmann/32/120852_2.png) [@rohmann](https://meta.discourse.org/u/rohmann)
#### Post date: [May 17, 2017, 10:07pm UTC](https://meta.discourse.org/t/plugins-not-loading-what-am-i-missing/62885/4 "2017-05-17T22:07:44Z")

</div>

Alrighty, false alarm on the plugins not working… I don’t think I had them setup right.

I was having some issues with getting the `topic-list-after-title` connector to work until I stumbled upon this:

> [@What is the difference between raw.hbs handlerbar files and only .hbs handlerbar files?](https://meta.discourse.org/t/what-is-the-difference-between-raw-hbs-handlerbar-files-and-only-hbs-handlerbar-files/58565):
>
> I noticied that few plugin outlet like topic-list-after-title require raw.hbs file while other require only hbs file. I did search in the handlebars documentation, but I could see anything as raw hbs file. I checked in the discourse code, plugin outlet like topic-list-after-title are defined as {{raw-plugin-outlet name="topic-list-after-title"}} while other plugins are defined as {{plugin-outlet name="composer-fields-below" args=(hash model=model)}} Q1. Is there any reason why some plugin…

Apparently you need to name the file `*.raw.hbs` to use raw outlets.

---

<div class="post-metadata">

### Author: ![eviltrout](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/eviltrout/32/5275_2.png) [@eviltrout](https://meta.discourse.org/u/eviltrout)
#### Post date: [May 18, 2017, 2:58pm UTC](https://meta.discourse.org/t/plugins-not-loading-what-am-i-missing/62885/5 "2017-05-18T14:58:06Z")

</div>


