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

    ENFOLD 3.3.2
    WORDPRESS 4.3

    I’m going to try replicate my problem.

    Pages added and setup using THEMEFUSE HOMEQUEST
    Changed theme
    Appearance / theme / Activated ENFOLD PARENT
    Everything as expected – with original themefuse shortcodes showing in the text editor content.

    Edit Existing page – home page – added avial layout builder POST SLIDER

    Wanted to copy the POST SLIDER from the home page to every other page – the easiest way to do this is turn on DEBUG MODE and copy the short code content from the Debug window and paste into the debug window on other pages and update the page.

    Appearance / theme / Activated ENFOLD CHILD

    Child functions.php file add action for debug mode

    //set builder mode to debug
    add_action( 'avia_builder_mode', "builder_set_debug" );
    function builder_set_debug () {
        return "debug";
    } 
    

    So here inlies the problem.

    If I copy from the home page debug window and paste in the debug window on a different existing page
    [COLOUR SECTION]
    [HEADLINE][/HEADLINE]
    [POST SLIDER][/POST SLIDER]
    [/COLOUR SECTION]
    and update the page – the LAYOUT BUILDER renders correctly in the Editor.
    When I view the page the is a large space above the colour section.
    However there is no element in the layout builder making this space.

    Trouble shoot.1

    EXISTING PAGE
    If I rebuild the same avia layout builder elements on an existing page
    update the page
    the LAYOUT BUILDER renders correctly in the Editor.
    However the page view render still has a large space.

    Trouble shoot.2

    ADD NEW PAGE
    If I rebuild the same avia layout builder elements on an NEW PAGE
    update the page
    the LAYOUT BUILDER renders correctly in the Editor.
    and the VIEW PAGE is correct! – we have success.

    So I gather there is a BUG in rendering AVIA ADVANCED LAYOUT BUILDER pages that were built in a different theme.
    Which get’s me thinking – why did the HOME PAGE update of the existing page using ENFOLD PARENT work, but updating a page using ENFOLD CHILD does not.

    Trouble shoot.3
    Appearance / theme / Activated ENFOLD PARENT
    If I rebuild the same avia layout builder elements on an existing page
    update the page
    the LAYOUT BUILDER renders correctly in the Editor.
    and the VIEW PAGE is correct! – we have success.

    so the REBUILD process works using ENFOLD PARENT

    Trouble shoot.4
    Appearance / theme / Activated ENFOLD CHILD
    functions.php REMOVE DEBUG
    If I rebuild the same avia layout builder elements on an existing page
    update the page
    the LAYOUT BUILDER renders correctly in the Editor.
    and the VIEW PAGE is correct! – we have success.

    wow that worked!

    Trouble shoot.5
    ENFOLD CHILD functions.php ACTIVET DEBUG
    If I rebuild the same avia layout builder elements on an existing page
    update the page
    the LAYOUT BUILDER renders correctly in the Editor.
    and the VIEW PAGE is correct! – we have success.

    Trouble shoot.6
    ENFOLD CHILD functions.php ACTIVET DEBUG
    If I copy the debug window element paste on existing page
    update the page
    the LAYOUT BUILDER renders correctly in the Editor.
    However the page view render has a large space.

    SO I’ve narrowed the suspect
    it’s copying and pasting from the DEBUG window into an EXISTING PAGE or a NEW PAGE debug Window.
    the following code is injected into the page before av_section_1

    <main role="main" itemprop="mainContentOfPage" class="template-page content av-content-small alpha units"><div class="post-entry post-entry-type-page post-entry-2440"><div class="entry-content-wrapper clearfix"></div></div></main>

    So I gather this is a BUG

    Happy to report so – but this mean’s I manually have to build the same element on each page – over and over again all the page again!
    OR
    Create an avia Layout builder template and rebuild all the page content again!

    DOH!

    #494622

    Hey HuxburyQuinn,

    I’m not sure where to begin really, your post is very long and a bit hard to follow to be honest :-) Is the html you pasted empty when you paste the shortcode, meaning the content follows the html and is not nested within it? If so you might be pasting/saving a bit to fast, sometimes the builder needs a bit of time to realise what has been pasted into the shortcode window. You might want to try the following: create a new page, a basic element to it and save. Paste your shortcode and wait for a short while, 20 seconds or so and save again. Please let us know if that works better for you.

    Regards,
    Rikard

    • This reply was modified 8 years, 7 months ago by Rikard.
    #494631

    I think your missing the point.

    ENFOLD CHILD
    DEBUG ACTIVE

    add a new page
    TURN ON advanced layout builder
    create layout builder elements

    [av_section min_height='' min_height_px='500px' padding='default' shadow='no-shadow' bottom_border='no-border-styling' scroll_down='' id='' color='main_color' custom_bg='' src='' attach='scroll' position='top left' repeat='no-repeat' video='' video_ratio='16:9' video_mobile_disabled='' overlay_enable='' overlay_opacity='0.5' overlay_color='' overlay_pattern='' overlay_custom_pattern='']
    
    [av_textblock size='' font_color='' color='']
    Click here to add your own text
    [/av_textblock]
    
    [av_postslider link='category' columns='3' items='9' offset='0' contents='excerpt' preview_mode='auto' image_size='portfolio' autoplay='no' interval='5']
    
    [/av_section]

    PUBLISH THE PAGE

    Copy the HTML code FROM the debug window
    add a new page
    TURN ON advanced layout builder
    in the debug window paste the html code
    PUBLISH the page
    the advanced layout builder window will update with the new elements
    view page

    The page will have a space between the header and the beginning of the colour section.

    Only occurs in a child theme when you copy and paste from debug window.

    • This reply was modified 8 years, 7 months ago by HuxburyQuinn.
    #494636

    private info added

    • This reply was modified 8 years, 7 months ago by HuxburyQuinn.
    #495169

    Hey,

    Ok, I see what you mean. And it’s only happening when using a child theme? No problem when using the parent?

    Best regards,
    Rikard

    #776586

    Hi,
    I have the same problem as mentioned in this reply above
    Do you have a solution for this problem?

    #776670

    Hi Maxndi,

    The only thing that worked for me , was to rebuild the whole page again using the avia layout builder elements.
    You can open the original page in another tab or window and copy the content from the original and paste it into the new page/post avia builder elements on the new page.

    Support was unable to replicate this error and did not provide a solution or update.

    #776692

    Hey HuxburyQuinn,
    thank you for your reply. Unfortunately I need to make this work with using the debug code as there are a couple thousand pages that I need to create with automation. Doing this maually is not an option. As long as using the debug code is not working, I wont be able to publish the sites…
    Hopefully the support can help me to find a solution.

    All the best to you and thanks again!

    #778150

    Hi,

    Ok please try this, it’s much easier than copy pasting the shortcode in several pages and much faster.

    1. Create a new blank page and add your elements which include color section, heading and slider.
    2. Save it as a layout builder template.
    3. Load it on any page by clicking the template option.

    Let us know if this helps.

    Best regards,
    Vinay

    #778219

    Hi,
    unfortunately this is not an option. I wrote a script to generate the shortcode for me into an XML file. I can import the XML file with the plugin “WP all Import”, with that approach I don’t have to do things manually anymore. At the end there will be several thousand portfolio items which I can not create on my own.
    The plugin “WP all import” works fine, I even tried to set the avia layout builder here to “active” but the page layout will always be messed up until I do it manually. Can you help me with that? I tired a lot of things and don’t know what I am missing…

    #778220

    I created a new topic for my problem, this can be found here

    #778246

    Hi!

    We will close the one here.

    Regards,
    Basilis

Viewing 12 posts - 1 through 12 (of 12 total)
  • The topic ‘AVIA Advanced layout builder – DEBUG WINDOW – COPY PASTE ERROR’ is closed to new replies.