ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Move/copy an entry to a different MSM site

December 03, 2007 6:08pm

Subscribe [2]
  • #1 / Dec 03, 2007 6:08pm

    Ben Kimball (UT)

    33 posts

    I’d like to be able to copy an entry from a weblog in one site into a weblog in a different site. I believe the current Edit form only allows you to move entries between weblogs in the same site. Is that correct? If so, I think I need to develop an extension to add this functionality to my installation.

    In that case, can I simply duplicate the exp_weblog_titles database row, modifying site_id and weblog_id appropriately, then duplicate the exp_weblog_data row and modify its entry_id? Or are there deeper ramifications I’m not seeing?

    Thanks!
    Ben

    P.S. Maybe this should go into extension development forum, but I’m not sure that I didn’t miss an obvious way to do it without custom PHP code.

  • #2 / Dec 04, 2007 12:27pm

    Robin Sowell

    13255 posts

    Heh- yea, I’m going to need to clone across sites pretty soon, but my plate is full so I think we’re going to contract that one out.

    The tricky bit is- the field ids will differ, so you need to be able to map your fields on one site to the fields on the other site.  So- just changing the site id in exp_weblog_data won’t do it- the data need to go in a different field.  Not too difficult if the field names match.  In my case, we can’t be assured they will, so need to have a cp that allows ‘mapping’ each field in one site to appropriate field in all other sites.

  • #3 / Dec 04, 2007 12:35pm

    Ben Kimball (UT)

    33 posts

    Ahhh… excellent information. Thanks very much! Let’s keep in touch about this, maybe in PMs or email. Sounds like we both need the same bit of custom code.

    Cheers!
    Ben

  • #4 / Sep 14, 2009 2:11pm

    mreeves

    30 posts

    Is this possible with the latest release of MSM?

  • #5 / Sep 14, 2009 2:42pm

    Lisa Wess

    20502 posts

    No, this would still require custom handling.

  • #6 / Sep 14, 2009 2:50pm

    mreeves

    30 posts

    Is anyone aware of any third party extensions that do this? I’ve hunted high and low but can’t find anything.

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases