Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use the new plugin-outlets in Discourse 1.3 #20

Closed
wants to merge 2 commits into from
Closed

Use the new plugin-outlets in Discourse 1.3 #20

wants to merge 2 commits into from

Conversation

nlalonde
Copy link

I added some plugin outlets to Discourse today for ads from this plugin.

discourse/discourse@ccce27d

This pull request updates this plugin so it doesn't overwrite any templates, but depends on my commit! So you probably don't want to merge it until 1.3 stable is released.


register_asset "javascripts/adsense.js"
register_asset "javascripts/discourse/templates/discovery.hbs"
register_asset "javascripts/discourse/templates/topic.hbs"
register_asset "javascripts/discourse/templates/connectors/discovery-list-container-top/discovery-list-container-top.hbs"

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

aren't connectors picked up automagically?

@riking
Copy link

riking commented Apr 17, 2015

The container name (last part of the filename) should be "adsense".

@nlalonde
Copy link
Author

The last part of which filename?

@nlalonde
Copy link
Author

Good comments, thanks! I fix and submit pr again later.

@nlalonde nlalonde closed this Apr 20, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants