-
Notifications
You must be signed in to change notification settings - Fork 296
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
Fixes #378 - Plugin administration UI. #388
Conversation
Neat \o/ Gonna start to test it during the upcoming weekend! |
b4387ae
to
eee139d
Compare
Rebased. |
<div class="clear"></div> | ||
</noscript> | ||
|
||
<div id="pluginsadmin"> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That's better!
First batch of comments posted ;-) |
eee139d
to
eb1aee0
Compare
Thanks for the review! I had miss a few things! ;) |
Documentation updated: |
eb1aee0
to
a9c3aae
Compare
I just force pushed an outdated version. -.- |
a9c3aae
to
fcb5151
Compare
fcb5151
to
dea0ba2
Compare
Fixes #378 - Plugin administration UI.
Features
From the administration panel, users can:
Plugin developer side
Every plugin needs a
<plugin_name>.meta
file which is in fact an.ini
file (KEY="VALUE"
) to be listed in plugin administration.Each file contain two keys:
description
: plugin descriptionparameters
: user parameter names, separated by a;
.Theme maintainers
There is a new page:
pluginsadmin.html
. It needs to be added to your theme. I'll update documentation later.Aside from classic RainTPL loops, plugins order is handle by JavaScript. You can use
plugin_admin.js
, only if:orderUp()
andorderUp()
onclick on arrows.data-line
anddata-order
to your rows.Otherwise, theme maintainers can use their own JS as long as this field is send by the form:
Other
tools.html
, moved "Change password" after Shaarli and plugins configuration.Router
:pluginadmin
andsave_pluginadmin
.Preview
TODO