CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviContribute (Moderator: Donald Lobo) »
  • Moving Contribution pages between sites
Pages: [1]

Author Topic: Moving Contribution pages between sites  (Read 717 times)

Upperholme

  • Administrator
  • Ask me questions
  • *****
  • Posts: 568
  • Karma: 8
    • MC3
  • CiviCRM version: 4.x
  • CMS version: Drupal 6.x/7.x, Wordpress, Joomla
Moving Contribution pages between sites
November 24, 2011, 01:52:32 am
I've got a situation where a number of contribution pages have been created on install A, and I want to move them to install B. As other changes have since been made to install B, i don't wish to replace the entire db, but simply export the contribution pages and then import them into the second site. Anydone done this, or have any tips?
Graham Mitchell
http://mc3.coop

Hershel

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4640
  • Karma: 176
    • CiviHosting
  • CiviCRM version: Latest
  • CMS version: Mostly WordPress and Drupal
Re: Moving Contribution pages between sites
November 24, 2011, 02:40:37 am
Never tried, and it depends on if you have custom fields and pricesets etc. that are different. But you could try to copy over just the civicrm_contribution_page table anyhow, as that's the main data for those pages.
CiviHosting and CiviOnline -- The CiviCRM hosting experts, since 2007

See here for the official: What to do if you think you've found a bug.

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Moving Contribution pages between sites
November 24, 2011, 07:17:58 am

Check the scripts at bin/migrate/{import,export}.php

and then extend it to:

1. Add contribution pages and all the dependents

2. for extra credit, would be great to layer in a UI so people can check what they want to migrate

lobo
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviContribute (Moderator: Donald Lobo) »
  • Moving Contribution pages between sites

This forum was archived on 2017-11-26.