[TYPO3-hci] Autosaving of rte texts
Martin Kutschker
Martin.Kutschker at n0spam-blackbox.net
Mon May 7 15:49:51 CEST 2007
Andreas Balzer schrieb:
> Martin Kutschker schrieb:
>> Martin Kutschker schrieb:
>>> Andreas Balzer schrieb:
>>>> Hi!
>>>> I'm sure it's somewhere to download, but if not.. An autosaving tool
>>>> via ajax for the rtehtmlarea BE fields would be nice. So that it
>>>> saves the field somewhere every 2 mins or so in case that the user
>>>> closes his browser window. I just had a phone call with someone who
>>>> had this problem and I don't know a way to solve it yet.
>>>
>>> I wouldn't try save just the RTes content but the whole edited
>>> content element. Otherwise the state of the content is inconsistent.
>>>
>>> You could try to send the whole form in the background with AJAX
>>> except any file upload fields. In this case you could use a simple
>>> submit of the real form.
>>
>> Another idea is to store only the RTE contents in a "temporary table"
>> (rather a table with temporary content). The real save (but also a
>> click on close!) will remove the temporary data from that table.
>> TCEform will have to look for temporary data in this table when it
>> loads a record for editing.
>>
>> Mind that you need a UI for this: The users should be asked if they
>> want to reinstate from auto-save data. And it should be possible to
>> get rid of this data without using phpMyAdmin.
>>
>> Masi
>
> What about storing those entries as a (hidden) workspace? Admins could
> see it and remove the entries. Additionally entries can be removed after
> a certain amount of time? (publish > to trash)
I wouldn't burden workspaces with handling this. I didn't think too much
about the UI as such, but outlined the technical background for a possible
solution. This means I will not pursue the idea further by implementing it.
Masi
More information about the TYPO3-team-hci
mailing list