Concise and nice!
This could win the guiness record for "A functioning Plugin with least amount of code" Learned a new thing on this one. cool! thx.
I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.
2
Comments
The mythical 2-line plugin lives!
It was all because of @Lincoln pointing me in the right direction
So what you are saying is less code is more code ?
Great idea for this plugin Adrian. You always come up with very useful and needed plugins !!
❌ ✊ ♥. ¸. ••. ¸♥¸. ••. ¸♥ ✊ ❌
Thanks, @vrijvlinder . I try
adrian says:
which way should I go, Lincoln. which way should I go (said with gleeful exuberance).
Lincoln Points. paw facing north. (smile on face).
adrian says:
good lincoln
and there we have it. A great little plugin,
Peregrine sez: I need to get me a pointer too. I need all the help I can get.
someone else says:
which line do I modify to get the plugin to do something else
. I want to modify this plugin to do wake me up in the morning.
I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.
@Minion: say "brrrring!" at seven A.M.
Cool! It very useful for me!
@Adrian, please set default plugin value for disable in a role. Now it is enabled for new and existing roles, that is wrong.
all you have to do if you don't want it to behave that way is:
change
'RegisterPermissions' => array('Plugins.AlwaysEdit.Edit' => 1),
to
'RegisterPermissions' => array('Plugins.AlwaysEdit.Edit'),
prior to enabling plugin for the first time.
I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.