Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2016-10-12 12:04:19

alesh
Member
From: Miami, FL
Registered: 2005-04-13
Posts: 228
Website

Save without losing my place?

Editing a massive css file is a pain because for every tweak we have to scroll scroll back to our place. But being able to save without the text field losing it’s place would be helpful everywhere, even editing articles.

I think the way to make this work is by having the backend use some sort of Ajax stuff, and that sounds like a lot of messy work. Probably not gonna happen anytime soon.

Oh well!


Yes, I have tried turning it off and on.

Offline

#2 2016-10-12 12:11:37

philwareham
Core designer
From: Farnham, Surrey, UK
Registered: 2009-06-11
Posts: 3,199
Website

Re: Save without losing my place?

Well, the write page uses Ajax, so I think it possibly could be done on forms/pages/styes pages too. Any devs want to look into whether this is possible?

Offline

#3 2016-10-12 12:17:08

Bloke
Developer
From: Leeds, UK
Registered: 2006-01-29
Posts: 8,787
Website

Re: Save without losing my place?

alesh wrote #302112:

being able to save without the text field losing it’s place would be helpful everywhere, even editing articles.

Ummm, what version of Txp are you using? AJAX saving of Articles has been available since 4.5.0.

The plan is, yes, to roll this out to other areas. Just got sidetracked with bigger behind-the-scenes stuff in 4.6.0. Might try and put it into 4.7.0. Could you please raise an issue about AJAXifying other panels so it’s on our radar. Thanks.

Last edited by Bloke (2016-10-12 12:17:39)


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 2016-10-12 12:42:55

alesh
Member
From: Miami, FL
Registered: 2005-04-13
Posts: 228
Website

Re: Save without losing my place?

Holy carp!

Apologies, I’m doing design overhaul so mostly bouncing around between Pages, Forms, Sections, and Style. Just tested, and duh yeah it works awesome on article edit view.

Huge thumbs up, and absolutely I will post this to GitHub. (I actually considered posting this there, but not knowing it was already close to being a thing it seemed more of a musing and too presumptuous.)

By the way, 4.6.0 is awesome. I’ve been working on this redesign for a long time now and between copying databases and a few of my esoteric plugin combinations (also 10+ years of database cruft) I was having all kinds of mySQL errors and “get of my lawn” stuff. Since 4.6.0 it’s all been smooth sailing.


Yes, I have tried turning it off and on.

Offline

#5 2016-10-12 13:12:28

phiw13
Plugin Author
From: Japan
Registered: 2004-02-27
Posts: 1,719
Website

Re: Save without losing my place?

Bloke wrote #302116:

Ummm, what version of Txp are you using? AJAX saving of Articles has been available since 4.5.0.

That doesn’t really work well in 4.6.0. With Hive active as the admin theme, I edit something in the middle of a long article (multiple screens long, ~ 1500 words). The textarea expands to fit the length of the article. To save, I have to scroll up to the top again to find the save button. then scroll back down to find where I was working. (works great with Sandspace theme, though (with doesn’t use that expand textarea script).

Offline

#6 2016-10-12 13:18:57

alesh
Member
From: Miami, FL
Registered: 2005-04-13
Posts: 228
Website

Re: Save without losing my place?

phiw13 wrote #302120:

That doesn’t really work well …

It does if you save with Command-S or Control-S.


Yes, I have tried turning it off and on.

Offline

#7 2016-10-12 13:23:13

phiw13
Plugin Author
From: Japan
Registered: 2004-02-27
Posts: 1,719
Website

Re: Save without losing my place?

alesh wrote #302123:

It does if you save with Command-S or Control-S.

Sure, but a/ many people use the mouse to click on that button b/ that keyboard shortcut is not-really know, and not documented, afaik.

Offline

#8 2016-10-12 13:30:48

Bloke
Developer
From: Leeds, UK
Registered: 2006-01-29
Posts: 8,787
Website

Re: Save without losing my place?

If the autogrow isn’t working well, I’m sure Phil can turn it off and/or adopt the Sandspace model…


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

#9 2016-10-12 13:34:22

alesh
Member
From: Miami, FL
Registered: 2005-04-13
Posts: 228
Website

Re: Save without losing my place?

phiw13 wrote #302124:

Sure, but a/ many people use the mouse to click on that button b/ that keyboard shortcut is not-really know, and not documented, afaik.

Good point. (Tho I see a little “⌘+S” tooltip show up when I hover over the Save button.) I’m generally a fan of Hive, but I do think there’s room for improvement in terms of how the panels and text areas are arranged, and perhaps some more fixed elements in the window.


Yes, I have tried turning it off and on.

Offline

#10 2016-10-12 13:41:26

philwareham
Core designer
From: Farnham, Surrey, UK
Registered: 2009-06-11
Posts: 3,199
Website

Re: Save without losing my place?

I’ve always wanted something like this (very rough) example – maybe worth investigating?

Offline

Board footer

Powered by FluxBB