Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #327800

    Hi Kriesi-Team i am experiencing a weird bug:
    If i edit a page with the Advanced Layout Editor, save and hit preview the page won’t update.
    If i check the page in the regular editor i can see that the changes from regular editor are not there.
    Also if i check in the database (the wp_post table) i can see that there were no changes made.
    So it looks like changes made with Advanced Layout Editor won’t be saved in the Database. Changes made with regular editor are saved.

    To make things more weird:
    If i log out, shut my PC down, login with another PC and open the editpage with Advanced Layout Editor the content appears – even though it is not in the database. Switching back to normal editing mode i get the same result than with my other pc: The changes are not there.

    Here’s what i did so far:
    Reinstall WP 4.0
    Reinstall Enfold 2.9.2
    Turn off all plugins
    Tried with my PC (Firefox and IE)
    Tried with Laptop (Firefox)

    I am so incredibly confused, i don’t even know what question to ask. Maybe:
    1st)
    Why are the changes made with Advanced Layout Editor not visible if i switch to regular editor?
    If they were i am sure they would be saved in the DB.

    2nd)
    Why are the changes made with Advanced Layout Editor not saved?
    Where does the Advanced Layout Editor save its data? (It is NOT in wp_post)

    Please help.

    #327805

    Hey PhilCl!

    The ALB saves its data in a meta field so there is less chance of data corruption on the complicated shortcode layouts it produces. So switching between it and the regular editor isn’t possible. The data would also not be in that field in database.

    Previewing should work however. For a quick test, try publishing the page and then check previewing and then save it as a draft again.

    Best regards,
    Devin

    #327829

    Hi Devin,
    thx for the quick reply in the middle of the night. Your solution just workes fine! (I still have to check with my PC at work tomorrow.)

    Could you still help me with some more information on this, please?
    a) I shall not switch back and foreward from ALB to regular and vice versa. Right?
    If i do so and save something in the regular editor this will end up in the table (wp_post). I checked that.
    So then i would have 2 sets of data: one in the wp_post table and one in the metafield. Will this mess things up?
    b) I do not understand the concept of “saved in a meta field”. Where is the data of the metafield stored if not in the database?

    Sorry for those many questions on the night we are all looking forward for Enfold 3.0
    Again: Thanks for the fast reply!

    Philipp

    #327837

    Meta fields are saved right along side the post data in the database. See: http://codex.wordpress.org/Custom_Fields

    In the themes case, its a whole bunch of shortcodes. You can actually turn on a field to see them with this function: http://kriesi.at/documentation/enfold/enable-advanced-layout-builder-debug/

    So while you have Enfold active the data will get pulled from that field in the database.

    #327848

    All questions answered. Thank you so much!

Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘Advanced Layout Editor broken? Preview not possible.’ is closed to new replies.