-
AuthorPosts
-
October 22, 2013 at 8:11 pm #179207
Hi!
I want to add a script which embeds and streams a video into a page. When I use the Advanced Layout Builder it’s impossible to add this script within a text block (TEXT mode, not the VISUAL mode).
I can only add this when using the standard editor.
Is there a way to add scripts when using the Advanced Layout builder?
Thanx for any help :)
Cheers
Chris
October 22, 2013 at 8:35 pm #179220Hi Chris!
You can do it using a Text block element, put it while being in the Text tab:
Best regards,
JosueOctober 22, 2013 at 8:41 pm #179223Hi Josue.
Thx for your reply.
I already tried this but it’s impossible to save the text block after I entered the script. When I click the save button the window keeps open. When I close it and hit “Update” to save all changes on the page the result is “Add some content here” (default text).
:/
October 22, 2013 at 8:50 pm #179227Hey!
What script you want to add? can you create an administrator account and post it here as a private reply?
Cheers!
JosueOctober 25, 2013 at 7:47 am #180531This reply has been marked as private.October 25, 2013 at 6:50 pm #180768Hi!
I tried it on my local installation, and got no issues so far saving, after saving there was a JavaScript error in the console, i think it would be better to create a custom shortcode, something like [webcam_stream] that renders the script. This tool could help you doing it.
Regards,
JosueOctober 27, 2013 at 10:33 pm #181277I have the same problem. I can not include JS in the Avia Layout Builder.
After click “Save”, the window is blank.Create a shortcode or something similar is not an option. Most partnerprogramms provide the ads as JS.
October 27, 2013 at 11:05 pm #181279Hi @gnmediadienste!
Can you paste the script you want to add?
Best regards,
JosueOctober 27, 2013 at 11:15 pm #181281This reply has been marked as private.October 28, 2013 at 7:18 am #181431Hey!
Make sure that you place the javascript on Text or HTML mode of the editor.
Please try this plugin: http://wordpress.org/plugins/insert-javascript-css/
Best regards,
IsmaelOctober 28, 2013 at 4:42 pm #181658Sure I place the code in the HTML mode. But this is not working with the Avia Layout Builder.
October 29, 2013 at 7:43 pm #182210Hi!
We’re aware of this limitation (see: https://kriesi.at/support/topic/preformatted-text-in-layout-builder/ ) and it’s on our todo list. For now you can use a plugin like: http://wordpress.org/plugins/insert-html-snippet/ to insert your snippets.
Regards,
PeterOctober 29, 2013 at 7:45 pm #182211I wait for your fix. it makes no sense to install hundreds of plugins for every little bug/feature.
October 29, 2013 at 7:47 pm #182213Hey!
Ok, I’ll also notify Kriesi about your request.
Best regards,
Peter -
AuthorPosts
- The topic ‘Adding Script when using Advanced Layout Builder’ is closed to new replies.