PLEASE NOTE: These forums are no longer utilized and are provided as an archive for informational purposes only. All support issues will be handled via email using our support ticket system. For more detailed information on this change, please see this blog post.

Multisite import of Forms

  1. sandman18
    Member

    When viewing this document

    http://www.gravityhelp.com/documentation/page/WP_Config_Options

    After I change my url in the code provided, which script do I past the code into?

    Thanks

    Posted 13 years ago on Thursday June 23, 2011 | Permalink
  2. These are WP-Config options so they would go in your wp-config.php file in the root of your WordPress site. The same file that contains your database connection string information, etc.

    Posted 13 years ago on Thursday June 23, 2011 | Permalink
  3. sandman18
    Member

    When I export a form it is doing so as a csv file not an xml. Is it the same thing? I also attempted to upload the code for the license key and it did not automatically register the license.

    Posted 13 years ago on Thursday June 23, 2011 | Permalink
  4. No thats not the same thing. When you go to Import/Export in the Gravity Forms navigation there are 3 options.

    - Export Entries: This exports entry data to CSV file which is probably what you have done

    - Export Forms: This exports forms to an XML file format which can then be imported on another site running Gravity Forms

    - Import Forms: This imports a form XML file which is generated by Exporting Forms

    The definitions do work so if they aren't working it's going to be do to not being implemented properly.

    One important thing to note when using these helper definitions in your wp-config.php is they are only going to execute on NEW sites you create in multi-site.

    They aren't going to apply to existing sites. They only get triggered and applied when a new site is created in multi-site after they have been added to your wp-config.php file.

    Posted 13 years ago on Thursday June 23, 2011 | Permalink
  5. sandman18
    Member

    Ok, I have downloaded the xml file and uploaded it to my server. I placed the code in the wp-config.php file using the correct url of the file. I created a new site in my network and the form still did not show up?

    Posted 13 years ago on Saturday June 25, 2011 | Permalink
  6. sandman18
    Member

    Any thoughts on how to fix this? It is also not registering my license automatically when I put that code in.

    Posted 13 years ago on Monday June 27, 2011 | Permalink
  7. All I can do is double check your implementation. If the code is properly placed in your wp-config.php file using the correct syntax it should execute when a new site is created in multi-site. Use http://pastie.org to paste the contents of your wp-config.php file so we can take a look, remove your database login information before doing so.

    Posted 13 years ago on Monday June 27, 2011 | Permalink
  8. sandman18
    Member

    All set.

    http://pastie.org/2131831

    Posted 13 years ago on Tuesday June 28, 2011 | Permalink

This topic has been resolved and has been closed to new replies.