June 7, 2021 at 9:35 am #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, DanielJune 9, 2021 at 5:17 am #1304782
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.
IsmaelJune 9, 2021 at 3:36 pm #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?June 11, 2021 at 1:09 pm #1305262
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.
IsmaelJune 17, 2021 at 9:47 am #1306149June 17, 2021 at 3:53 pm #1306207
Did you need additional help with this topic or shall we close?
Jordan ShannonJune 17, 2021 at 3:57 pm #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.June 17, 2021 at 4:08 pm #1306214
- The topic ‘Block the Code Block Element’ is closed to new replies.