• REGISTRATION REQUIREMENTS:

    Your username here MUST MATCH your XenForo username (connected to your XF license).

    Once you have registered here, then you need to start a conversation at xenforo.com w/Bob and provide the following:
    1. Your XenForo License Validation Token
    2. The Domain Name associated with the License
    NOTE: Your account will be validated once ALL requirements are verified/met. Thank you for your patience.

Implemented Auto Save enabled on the Article Create Form

Bob

Developer
Staff member
As per title, I've added the necessary programming code that allows me to enable the Auto Save function of the Editor (which is the editor for the main article input) on the Article Create Form.

Selection_119.png

NOTE: This does NOT replace the existing functionality that allows you to save your Article as a Draft. That is a POST SAVE feature, this is a PRE SAVE feature.

For those of you familiar with the XenForo Resource Manger, this works exactly how the Create Resource form works.

When you click on "Create Article", it checks to see if there is auto save draft history in the xf_draft table for the AMS Category that you are wanting to create the article in. If there is Data, it will populate the Create Article form with that saved data (to include Title, Prefix, Message, Description, Original Source, Author Rating, Custom Fields and Tags). Auto Save does NOT handle saving Attachments (those will only save when you actually create the article).

This is a PRE CREATE function that is meant to handle saving FORM data before you actually submit the form to have the content created. Its a handy feature to have, but it can also be a little confusing since it uses the term DRAFT and AMS also uses the term DRAFT as a saved content state (which is a saved piece of content that has not yet been submitted for publishing.

These 2 systems have NOTHING to do with each other. As mentioned before, One is a PRE Create system and the other is a POST Create system.

You now have the best of both worlds.

NOTE: There Auto Save options are controlled by Core XenForo Options.

Selection_120.png
 
Upvote 1
This suggestion has been implemented. Votes are no longer accepted.
Back
Top