-
AuthorPosts
-
August 21, 2014 at 8:38 pm #307520
I am trying out the Revisionary plugin. It creates its own edit box. This edit box does not enable the Avia Layout Builder. The main issue with this, is that for some reason, some kind of activation does not happen, and then the page looks wrong.
If I then go into the normal edit box, and click Update, some process obviously happens within the Layout Builder, that “activates” the proper display. The actual shortcode content does not change.
Is there a way to activate the layout builder, and any of this update facility, within a custom plugin?
August 21, 2014 at 9:25 pm #307532Hi Chris!
The individual plugin author would need to assist in what they are doing to have an alternate editing area than the standard editor.
The theme doesn’t actually use it either and instead if adds all the content to a separate meta field so in your case I don’t think they would ever be compatible without Kriesi adding the same plugin capability to the theme.
Regards,
DevinAugust 21, 2014 at 10:02 pm #307546Thanks for your response.
I am a developer, so I am asking a developer-level question. I could add the hooks myself. But I don’t know what they are.
I thought maybe the developers of the Avia Layout Builder could tell me where they are adding hooks into the edit box and save post code.
August 21, 2014 at 10:47 pm #307560I guess I’m just not sure what it is you are asking for. The layout builder adds a button onto the regular tinyMCE to hide that editor and switch to the custom drag and drop view. All of the data for the page is then pulled from the custom field where all of those shortcodes are loaded.
You can look through the code for the template builder class in config-templatebuilder>avia-template-builder>php>template-builder.class.php which outlines how its added in to the editing window as well as in the same builder folder but in the assets>js>avia-builder.js that handles the live changes.
August 21, 2014 at 11:36 pm #307570These are very good pointers — thanks!
August 22, 2014 at 12:31 am #307581Ah okay great! The theme as all fairly well commented within the code and it is (at least to us) intuitively organized so digging through things should point you to just about everything.
-
AuthorPosts
- You must be logged in to reply to this topic.