Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #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?

    #307532

    Hi 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,
    Devin

    #307546

    Thanks 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.

    #307560

    I 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.

    #307570

    These are very good pointers — thanks!

    #307581

    Ah 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.

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.