#21
Posted 20 July 2012 - 09:46 AM
I love everything about this module, except that I'm confused by the templates/fields search. Probably because I'm just accustomed to clicking, rather than typing template/field names in the admin. In most sites, the quantities here are small enough to make the search seem overkill. So if there were a most wished for feature on my part, it would be that either: 1) it showed a list of templates/fields rather than a search box. Or; 2) that the field/template search boxes showed all of the fields/templates (that you could click to edit) and then filtered (rather than created) in the list as you type.
#22
Posted 20 July 2012 - 10:40 AM
Not saying Macs make any more sense mind, requiring a key with a fruit on when they ran out of letters and numbers that by all rights should produce an apple when pressed.
#23
Posted 20 July 2012 - 11:13 AM
@somartist | modules created | support me, flattr my work flattr.com
#24
Posted 20 July 2012 - 12:55 PM
#25
Posted 20 July 2012 - 01:29 PM
Great module soma - very useful.
Did you think of a way around the issue with it not working when the field is in focus? I’d really like to be able to edit a field and then Ctrl + S to save - at present there is no way to quickly get out of the field so the shortcuts will work, without using the mouse. Maybe if you could press escape to exit the field and then use the shortcut? Or could you bind the plugin to all input fields? I am guessing you might also have some issues with Tinymce which has its own keyboard shortcuts. Probably not a simple solution to this one.
I like the search overlays, it’s like a quick launcher - pressing Escape to close the overlay dialog would be useful.
If you are looking for inspiration for more shortcuts I always thought the Gmail ones were very good
http://support.googl...=en&answer=6594
A way to navigate the tree would be great (although the “quick launcher” way is probably much better). Or a way to open next and previous items in the tree.
And a help overlay mapped to ? which shows current shortcuts would be useful during the Shortcut learning phase (and for clients)
#26
Posted 20 July 2012 - 04:32 PM
Thanks for the feedback Michael. I wasn't really thinking about getting it to work, because it's not broken, it's by intention and something to avoid problems. I think on save yes, as this would be the one making sense.
There's "esc" mapped to close dialogs, but it doesn't work on input focus to you have to shift+tab then hit "esc". Also clicking outside will close it.
You can navigation the tree with tabs and enter to open branches. I'm not sure I want to go this far anyway.
Something like a overlay for the shortcuts would be nice. Still this is basic module to originally give page save shortcuts but turned out much bigger. Also it's global and not on a user basis, and checks to hide templates and fields for editors are still on the plan.
@somartist | modules created | support me, flattr my work flattr.com
#28
Posted 21 July 2012 - 06:30 AM
Also maybe some snippets from here to navigate between next/previous items will come in handy to enhance your great module.
#30
Posted 05 April 2013 - 01:22 AM
Hi!
Ctrl+S saves the page but also opens the browser's "save dialog".
Is it normal, just as ctrl+f4 and other standard shortcuts, or am I doing something wrong?
#31
Posted 05 April 2013 - 10:53 AM
You can set your own hotkey is the modules settings. I know windows uses ctrl+s is, so you have to use something else.
It's not easy to decide easy hotkeys that work on all platforms and browsers so it is configurable, backdraw is ideally it would also need to be configured per user and not as simple to do as it is now.
It's appreciated if someone likes to take the challenge, I'm happy to collaborate.
@somartist | modules created | support me, flattr my work flattr.com
#32
Posted 08 May 2013 - 06:02 AM
For some reason module throws error:
Error: Call to a member function add() on a non-object (line 79 of /var/www/public_html/site/modules/AdminHotKeys/AdminHotKeys.module)
Any idea why this is happening?
I've unistalled module on public site and errors were gone, but when I downloaded files back to local, I got this same error - even when module was unistalled. I got site up and running by doing fresh install with mysql dump from ProcessExportProfile module.
#33
Posted 08 May 2013 - 06:37 AM
According to your error this code fails
$this->config->scripts->add($this->config->urls->AdminHotKeys . "jquery.hotkeys.js?v={$version}");
Strange ad it makes absolutely no sense. There's nothing wrong here and it's a common code used in many places in ProcessWire and I have no idea why it would fail there. I tested to make sure it works in all PW versions.
The error says that $this->config->scripts isn't an object, but then PW admin wouldn't work at all, and I see no indication AdminHotKeys screws that up. What PW version do you have installed and what PHP version, any other 3party modules?
Even if a module is uninstalled it will get parsed by php and any error will show. If you want to get rid of a module you ahve to remove it completely.
@somartist | modules created | support me, flattr my work flattr.com
#34
Posted 08 May 2013 - 07:14 AM
Actually we do have a compiler molude which uses $config->scripts and $config->styles for fileset arrays. Basicly we override both arrays on frontend (would explain why $this->config->scripts isn't object anymore), but AdminHotKeys shouldn't do anythig there, am I right?
PW version is latest public 2.3.0 and other installed third party plugins are:
https://github.com/BlowbackDesign/emo
https://github.com/n...essSelectorTest
Plus Ryans:
https://github.com/r.../ImportPagesCSV
https://github.com/r...ssExportProfile
#35
Posted 08 May 2013 - 07:38 AM
Ah you get that error on front-end! Yeah then it's because you overwrite $config->scripts. Yeah the module does also get init'd on front-end as all autoload module does, but the hooks also get executed.
I just updated the module now to not add the hooks when on front-end.
@somartist | modules created | support me, flattr my work flattr.com
Also tagged with one or more of these keywords: Module
Community Support →
General Support →
MarkupTwitterFeed - where do I get the feed?Started by vayu, 13 Jun 2013 |
|
|
||
Community Support →
Modules/Plugins →
Audio MP3 Flash PlayerStarted by kixe, 13 Jun 2013 |
|
|
||
Community Support →
Modules/Plugins →
Simple Module for Session messagesStarted by Harmster, 09 Jun 2013 |
|
|
||
Module
Community Support →
Modules/Plugins →
ProcessEmailToPageStarted by Pete, 02 Jun 2013 |
|
|
||
Community Support →
Modules/Plugins →
Markup Load AtomStarted by teppo, 02 Jun 2013 |
|
|
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users













