-
AuthorPosts
-
May 31, 2013 at 1:09 am #24101
Hi,
I made a minor modification to a table in the advanced editor and think I may have missed off a closing div tag. Unfortunately when I went in to edit it the whole table editor has gone haywire.
So I tried restoring to an earlier version. This doesn’t seem to change the table data though – it still keeps the incorrect code which stops me from fixing it.
I tried to go to the standard editor to see if I could edit the problem there, but the default text editor shows nothing. I tried to copy in the code from the MySQL post table into the text editor, but unfortunately that now means that if I go to Advanced Editor it doesn’t show any editor at all.
All I need is to be able to restore this page back to an earlier version. Please let me know a way this is possible. I don’t want to lose all the work I’ve done on this page.
I have the latest version 1.51. If a fix is possible by modifying table data in MySQL it would be appreciated.
Regards,
Rob.
May 31, 2013 at 1:35 am #122322I had the same experience a couple of days ago when I uploaded from a development site. The fix was too easy.
When you are in “Edit Page” – look for the Screen Options tab in the upper right corner. Make sure the Avia Layout Builder option is checked.
Mine wasn’t, though how it became unselected remains a mystery. If it is checked or if this doesn’t work – wait for one of the real support guys to help.
May 31, 2013 at 4:46 am #122323Thanks. Yes, my Screen Options had also changed by themselves.
Still have a massive problem that restoring an old revision seems to have no effect on a table. So my table is messed up and I have to rebuild. I hate having to redo stuff.
May 31, 2013 at 4:59 am #122324Arghh!
May 31, 2013 at 5:07 am #122325Try to enable the debug-mode of the builder:
1. Locate config.php in enfold/config-templatebuilder/
2. Scroll to the end.
3. Locate on line 45
$builder->setMode( 'safe' );
4. Replace with
$builder->setMode( 'debug' );
The debug-feature will show you beneath the builder a plain textarea field with the contents of the builder. Locate your mistake, correct it within the textarea and save. You’re done. :)
May 31, 2013 at 6:13 am #122326Hi,
If you want to switch the Advance Layout Editor to debug mode, you can add this on your functions.php
//set builder mode to debug
add_action('avia_builder_mode', "builder_set_debug");
function builder_set_debug()
{
return "debug";
}And like @formateins said, the debug-feature will show you beneath the builder a plain textarea field with the contents of the builder. Locate your mistake, correct it within the textarea and save. You’re done. :)
Regards,
Ismael
June 1, 2013 at 2:18 am #122327Thanks! Using the debug mode saved me.
I couldn’t get your change to functions.php to work Ismael, but Formateins suggestion to change the config.php worked for me.
I still don’t understand why restoring old versions isn’t working.
Cheers.
-
AuthorPosts
- The topic ‘Advanced Editor Disappeared’ is closed to new replies.