Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2009-02-03 09:55:17

jm
Plugin Author
From: Missoula, MT
Registered: 2005-11-27
Posts: 1,746
Website

Anyone interested in a Ctrl/Alt+S saving-plugin?

Is there any interest in a keyboard shortcut for saving articles, form, templates, links, etc.? It seems like a slight PITA because TXP doesn’t use form names or IDs in a lot of the backend, but parentNoding to the form should work. I’m just not sure if it’s worth developing if I’m the only one using it :).

Last edited by jm (2009-02-03 09:55:54)

Offline

#2 2009-02-03 09:59:12

the_ghost
Plugin Author
From: Minsk, The Republic of Belarus
Registered: 2007-07-26
Posts: 907
Website

Re: Anyone interested in a Ctrl/Alt+S saving-plugin?

I think jQuery can be used to handle pressing ctrl+s and event submit() for desired form. Select it pretty simple with jQuery’s selector’s power ;) Hope this can help


Providing help in hacking ATM! Come to courses and don’t forget to bring us notebook and hammer! What for notebook? What a kind of hacker you are without notebok?

Offline

#3 2009-02-03 10:08:59

Bloke
Developer
From: Leeds, UK
Registered: 2006-01-29
Posts: 11,447
Website GitHub

Re: Anyone interested in a Ctrl/Alt+S saving-plugin?

jm wrote:

Is there any interest in a keyboard shortcut for saving articles, form, templates, links, etc.?

Hell yes :-)

It seems like a slight PITA because TXP doesn’t use form names or IDs in a lot of the backend

Yeah, that’s going to be fun. I guess keeping a lookup table of pages -> savable DOM elements would be order of the day so it’s easy to update when the admin side changes?

Last edited by Bloke (2009-02-03 10:09:19)


The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.

Txp Builders – finely-crafted code, design and Txp

Offline

#4 2009-02-03 11:55:58

wet
Developer Emeritus
From: Schoerfling, Austria
Registered: 2005-06-06
Posts: 3,330
Website Mastodon

Re: Anyone interested in a Ctrl/Alt+S saving-plugin?

jm wrote:

It seems like a slight PITA because TXP doesn’t use form names or IDs in a lot of the backend

It’s in your own hands to change that.

Offline

#5 2009-02-03 12:06:53

Zanza
Plugin Author
Registered: 2005-08-18
Posts: 699
Website

Re: Anyone interested in a Ctrl/Alt+S saving-plugin?

jm wrote:

Is there any interest in a keyboard shortcut for saving articles, form, templates, links, etc.?

Yes!

Z-

Offline

#6 2009-02-03 17:14:32

jm
Plugin Author
From: Missoula, MT
Registered: 2005-11-27
Posts: 1,746
Website

Re: Anyone interested in a Ctrl/Alt+S saving-plugin?

Bloke wrote:

I guess keeping a lookup table of pages -> savable DOM elements would be order of the day so it’s easy to update when the admin side changes?

That’s not a bad idea :). I’ll try to get something up this week.

wet wrote:

It’s in your own hands to change that.

I had never looked around the saving/publishing forms before, but I’ll submit a form-name patch soon.

Offline

#7 2009-02-03 22:34:24

jm
Plugin Author
From: Missoula, MT
Registered: 2005-11-27
Posts: 1,746
Website

Re: Anyone interested in a Ctrl/Alt+S saving-plugin?

Nevermind, it’s up.

Offline

Board footer

Powered by FluxBB