Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #1304366

    Hey support team, since there is the option to disable the Avia Layout Builder for other users I am wondering if there is an option or code snippet to only block Code Block Elements from being editable by other users. Editors for example could use the Avia Layout Builder and edit pages and contents but they would not be allowed to add Code Block Elements or edit existing Code Block Elements. Is that possible? Would be very glad to get a short advice. Thanks in advance! Best regards, Daniel

    #1304782

    Hey spooniverse,

    Thank you for the inquiry.

    This is not possible out of the box, unfortunately. You can only lock or unlock the Advance Layout Builder as a whole, but not any of the builder elements or shortcodes in it.

    Best regards,
    Ismael

    #1304914

    Hi Ismael, thanks for the quick response! What exactly do you mean by “not out of the box”? Sounds as if there is a theoretical way? Could you possibly point me in a direction?

    #1305262

    Hi,

    Yes, this should be possible and there is actually a lot ways to accomplish it but all of them will require significant amount of modification which is beyond the scope of support. You may need to hire a freelance developer or contact our partner, Codeable.

    If you want to proceed, you can try to manipulate the builder template in the config-templatebuilder/avia-template-builder/php/shortcode-template.class.php file and edit the associated builder scripts in the /config-templatebuilder/avia-template-builder/assets/js folder.

    Best regards,
    Ismael

    #1306149

    Thanks Ismael!

    #1306207

    Hi,

    Did you need additional help with this topic or shall we close?

    Best regards,
    Jordan Shannon

    #1306209

    I would love to get a ready and useable solution but I can understand why Ismael says it is beyond the scope of support. If there is no additional info you may close. Thanks for your message.

    #1306214

    Hi,

    Yes unfortunately, this is something that would require a custom solution. However, for anything else please don’t hesitate to reach out to us here in the forums.

    Best regards,
    Jordan Shannon

Viewing 8 posts - 1 through 8 (of 8 total)
  • The topic ‘Block the Code Block Element’ is closed to new replies.