Template Export - Imports Blank

Hi,

I am exporting some templates via a site on a MultiSite install and importing into a single WP install, when I go to use the template on the new site I can see the names of the imported templates but when I apply on a page it’s just blank.

I can see the XML file has data and looks valid.

Here is my XML file.

Any thoughts.

Thanks

Hey Neil,

Thanks for getting in touch! I did try the XML file on my single and multisite install and I get the same thing. Going through the templates admin yields the same thing. Are all these 3 templates the same or are they different? Did you load a BB core template to create these? Also, are you running the latest version of the BB plugin?

Edit: We did have a problem similar to this when loading a template with a Slideshow or Gallery module but it was already fixed with the 1.6.0.1 update.

Ben

Hi Ben,

The latest plugin is used on both export and import sites - all 3 templates are the same, no core template was initially used.

Also tried to re-export a couple of times but have the same result

Regards

Hey Neil,

Do you mind sending temp admin access to the site so we can check? You can use the private reply option below.

Ben

[Content Hidden]

Hey Neil,

The problem seems to be caused by the custom form you have on those pages. I made a copy of the Neil Test template, removed those, exported the template, and it works just fine imported on my localhost. Could you try it on your end and see if it works?

Ben

Thanks Ben for working that out - yes that is the issue, so is it the case that any HTML block will render the export unuseable.

Hey Neil,

Not exactly. It has something to do with the code rather than the module. Do you mind posting the code here so we can have a look? Sorry, I should have made a copy of that code when I had the chance! :slight_smile:

Ben

Here is the code

<center><div class="moonray_forms moonray_upsell_form">
    <form method="post" action="https://forms.ontraport.com/v2.4/form_processor.php?" id="moonray_forms_228">
        <input type="hidden" name="product" value=""/>
        <input type="hidden" name="uid" value="p2c4417f261" />

        <input type="hidden" name="contact_id" id="contact_id_228" value="" />
        <input type="hidden" id="afft_228" name="afft_" value="" />
        <input type="hidden" id="aff_228" name="aff_" value="" />
        <input type="hidden" id="sess_228" name="sess_" value="" />
        <input type="hidden" id="ref_228" name="ref_" value="" />
        <input type="hidden" id="utm_source_228" name="utm_source" value="" />
        <input type="hidden" id="utm_medium_228" name="utm_medium" value="" />
        <input type="hidden" id="utm_term_228" name="utm_term" value="" />
        <input type="hidden" id="utm_content_228" name="utm_content" value="" />
        <input type="hidden" id="utm_campaign_228" name="utm_campaign" value="" />
        <input type="hidden" id="referral_page_228" name="referral_page" value="" />
        <input type="hidden" id="own_228" name="own_" value="" />
        <input type="hidden" id="oprid_228" name="oprid" value="" />

        <input type="submit" value="Upgrade Now"  onclick="this.value='Processing......';" name="upsell_form_action_yes" id="upsell_form_action_yes">
        <input type="submit" value="No thanks"  onclick="this.value='Processing......';" name="upsell_form_action_no" id="upsell_form_action_no">
    </form>

    <link rel="stylesheet" type="text/css" href="https://forms.ontraport.com/v2.4/include/minify/?g=moonrayCSS">
    <script type="text/javascript" src="https://forms.ontraport.com/v2.4/include/minify/?g=moonrayJS"></script>
    <script type="text/javascript" src="https://forms.ontraport.com/v2.4/include/scripts/moonrayJS/smartform_loader.js?rand=228"></script>
</div> </center>