#1
Posted 19 September 2011 - 03:09 PM
Thanks to Ryan for the new module name suggestion. Much better choice I think.
The module can be configured to switched on or off the check for each of these areas:
- Page Edit
- Field Edit
- Template Edit
- Access Pages
- Modules Settings
(may this not was neccessary, but just for the fun of trying to do a configurable module, well I just did it)
You can grab it at github: https://github.com/s...ormSaveReminder
#update 1.0.1
- fixed issue with script adding
- fixed subdir installation path
- added script versioning
@somartist | modules created | support me, flattr my work flattr.com
#3
Posted 20 September 2011 - 02:21 AM
@somartist | modules created | support me, flattr my work flattr.com
#5
Posted 04 November 2011 - 03:34 AM
What's up with this Ryan?
I did now change it to get inserted through str_replace just after JqueryCore script. I'm not sure how future proof this will be, but I guess the JqueryCore will never change.
Latest version is now on github. Thanks
EDIT: Just found that in Firefox it doesn't work with TinyMCE Fields at all... Firefox is almost like IE now, crap...
@somartist | modules created | support me, flattr my work flattr.com
#6
Posted 04 November 2011 - 02:07 PM
What's up with this Ryan?
Not sure how you had it before, but I think that the script would have to be added before ProcessPageEdit::execute rather than after. I'm not sure I understand about the level of the page–and can't think of any reason it would matter. But if you find it's doing this in a before(execute) hook, let me know and I'm sure we can track it down.
#7
Posted 07 November 2011 - 10:39 AM
I will later test this again with your suggestions.
@somartist | modules created | support me, flattr my work flattr.com
#8
Posted 04 June 2012 - 01:07 PM
- unfortunately it stoped working in the latest PW since script/css version (..script.js?v=100) in the admin were introduced (1,5 months?). Since I have to manually str_replace the script tag into the header right after jquery core js, it failed because the string is now different :/. Changed it to use replace on another location/part of the code which will hopefully stay there.
- added the admin root path to the script url, so it now also works on PW installed in a subdir.
- added script versioning appended to file name ..?v=101.
@somartist | modules created | support me, flattr my work flattr.com
Also tagged with one or more of these keywords: Module
Community Support →
Modules/Plugins →
Page Edit Per RoleStarted by pogidude, 21 May 2013 |
|
|
||
Community Support →
Modules/Plugins →
Module: TemplateHasTagsStarted by MichaMichaMicha, 20 May 2013 |
|
|
||
Community Support →
Modules/Plugins →
Release: LocalAudioFiles MP3-DBStarted by horst, 19 May 2013 |
|
|
||
Community Support →
Modules/Plugins →
Inline EditorStarted by Sinmok, 10 May 2013 |
|
|
||
Community Support →
Modules/Plugins →
Module: Site indexerStarted by Alessio Dal Bianco, 08 May 2013 |
|
|
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users













