Guide or Documentation for creating a Plugin?

(Scott Trager) #1

Are there any guides or documents for creating a basic plugin? I still cannot manage to update or change anything outside of CSS and it’s driving me crazy - all I want to be able to do is to affect a few basic things and the only way I seem to be able to change anything gets overridden on a rebuild (which makes sense).

(Robin Ward) #2

There are no up to date guides unfortunately. It’s something I hope I have time to improve soon.

In the meantime the best thing you can do is dissect an existing plugin. The discourse-tagging plugin is one of our most recent and does a lot of complicated stuff.

(Scott Trager) #3

That is far too complex an example to use as a learning guide sadly :frowning:

I’m looking to do simple stuff like adding a CSS style sheet, adding some basic javascript to the frontpage etc.

(Régis Hanol) #4

As an administrator, you can go to the admin/customize/css_html section and add any HTML/CSS you need :wink:

(Scott Trager) #5

I didn’t realize you could put HTML in the head section - @Bill_S this will be helpful…

(Daniela) #6

and the new feature

are excellent starting points.

(Daniela) #7