Tagged: advanced-layout-editor, database, enfold, preview
-
AuthorPosts
-
October 1, 2014 at 2:17 am #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.
October 1, 2014 at 2:44 am #327805Hey 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,
DevinOctober 1, 2014 at 4:09 am #327829Hi 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
October 1, 2014 at 5:04 am #327837Meta 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.
October 1, 2014 at 5:36 am #327848All questions answered. Thank you so much!
-
AuthorPosts
- The topic ‘Advanced Layout Editor broken? Preview not possible.’ is closed to new replies.