Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #415738

    Dear all,
    I am using tab – shortcodes in a lot of my page-template and it really works well with dynamic execution using “do_shortcode”.

    Unfortunately there is one exception: when the shortcode is executed as part of a magnific-popup page… in this case the av_tab_section classes are created correctly – but unfortunately the class “tab_titles” is completely missing in the html code.

    The link to my page is in the private content section…

    Thanks for your help!

    #416416

    Hi ernst86913!

    According to this site – http://www.downforeveryoneorjustme.com/ your website is currently down. Can you please check the link once again?

    Regards,
    Yigit

    #417615
    This reply has been marked as private.
    #418920

    Hi Roman!

    What’s the source of this content? where do you have this tab elements?

    Best regards,
    Josue

    #418926

    Hi Josue –
    source is a single page, which uses the following code for printing the tab container:

    $content = ”

    [av_tab_container position='top_tab' boxed='border_tabs' initial='1' custom_class='business_tabs']
    [av_tab title='Overview' icon_select='yes' icon='ue84b' font='entypo-fontello']
    “.$overview.”
    [/av_tab]
    [av_tab title='Functionality' icon_select='yes' icon='ue855' font='entypo-fontello']
    “.$functionality.”
    [/av_tab]
    [av_tab title='Price & Editions' icon_select='yes' icon='ue810' font='entypo-fontello']
    “.$pricing.”
    [/av_tab]
    [av_tab title='Q&A' icon_select='yes' icon='ue81c' font='entypo-fontello']
    “.$support.”
    [/av_tab]
    [/av_tab_container]

    “;

    … as mentioned… this works well when displayed as standard page – but with magnific popup overlay which comes with Enfold schema this does not work anymore… you can test this by linking to a enfold page which contains a tab – but not a standard link but a magnific popup overlay.

    Thanks for your help!
    Roman

    #418950

    Hi!

    I see, you may have already done this but i have to ask it anyways, have you tried disabling all third-party plugins to see what happens?

    Alternatively, you could create a “standard page” where it is working fine and make the popup point to that page (iframe popup).

    Cheers!
    Josue

    #418998

    Hi – the issue seems to be related to AJAX popup… with IFRAME it’s working – but… I really need AJAX for several reasons… seems when av_builder is called within AJAX popup there are problems with html code assembly?

    BR, Roman

    #419005

    The problem is, these elements are not suited to be called as Ajax content because there is some JavaScript that gets applied on top of them, the tab_titles thing for example, is dynamically added in js/shortcodes.js, line 2590:

    tab_titles 	= $('<div class="tab_titles"></div>').prependTo(container),
    

    Not sure about this but you could try putting them as raw HTML instead of shortcode format.

    Best regards,
    Josue

    #419174

    Thanks a lot – simply including the SHORTCODE-JS file in my AJAX code made it work – great support! thx.

    #419459

    Good thinking, glad to help :)

    Best regards,
    Josue

Viewing 10 posts - 1 through 10 (of 10 total)

The topic ‘Tab Shortcode’ is closed to new replies.