Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • #1321204

    Hi guys!

    Why can’t I find “audio Player” among the shortcodes from the default editor?

    I also followed this guide: https://kriesi.at/documentation/enfold/intro-to-layout-builder/#debug-mode
    but it does not work.

    I see everything except the audio player.

    Instead from the advanced editor it works.

    Screen

    #1321386

    Hey jbond82,

    Your screenshot is not loading, could you upload it to a different service please? The elements which are available from the default editor are limited, but if you enable debug mode, then you can copy the shortcodes of the element which you are looking for, into the regular editor. Please try that out.

    Best regards,
    Rikard

    #1321389

    screen:

    Schermata-2021-09-17-alle-13-53-52

    #1321655

    Hi,

    Please enable debugging mode for ALB – https://kriesi.at/documentation/enfold/intro-to-layout-builder/#debug-mode, add Audio Player element to your content, update your page and then copy Audio player shortcodes from ALB debug field :)

    Best regards,
    Yigit

    #1322066

    I did everything as in the guide but Audio Player does not appear as an item in the widget menu.

    #1322156

    Hi,

    The guide Yigit linked to is not for adding the element to the magic wand menu, it’s for enabling debug mode. Once you have done that, then add the Audio Player element to a layout and configure it. After that then you can copy the shortcodes of the element, and paste it where you need it.

    Best regards,
    Rikard

    #1322168

    dear Mods and Devs: may i ask you why in the audio-player.php that line is set?
    $this->config['tinyMCE'] = array( 'disable' => 'true' );

    if i comment that out – the audio is in that dropdown list and it works – are there any inconsistencies?
    is it because the element isn’t a self-closing one?

    #1322173

    Can I see some picture?

    #1322174

    Go to
    enfold/config-templatebuilder/avia-shortcodes/audio-player have a look on audio-player.php arround line 79

    results in :

    #1322179

    Good! now I can see audio player! thank you!!

    #1322180

    But wait til a mod looks into that topic here again. There must be a reason to exclude the audio-player from mce.

    #1322206

    Hi,


    @Guenni007

    Thanks for the solution.

    Reason why we excluded from magic wand button of normal editor is probably because it is not possible to edit the shortcode with the modal popup after saving. And there are a lot of options to set in av_playlist_element. Not user friendly and it might break the site if you make an error when editing shortcode directly.

    As this is the first request only we will not modify it in core.


    @jbond82

    If it works for you – you can keep the modification. But you need to make it after each update.

    Best regards,
    Günter

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