Support » Plugin: NextGEN Gallery - WordPress Gallery Plugin » Multisite: Can I get other sites gallery?

  • I’m going a multisite installation for a website in several languages. I was wondering if it was possible to grab the galleries of site 1 and display them on site 2? This eliminating the need for duplicate content.

    I tried using get_blog_post() to grab the content of a page with a NextGEN gallery. Unfortunately all that was returned is the short code that creates the gallery rather than the functioning gallery.

    Here is the code I used:

    <?php // Display "Portfolio" page content from the network's primary website
    $portfolio_page = get_blog_post( 1, 575 );
    if( $portfolio_page ):
    <?php echo $portfolio_page->post_content; ?>
    <?php endif; ?>

    Any way to do this?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi, I the same question. I tried to change the upload path in the settings to where my gallery of the first site is located, but obviously there has to be some more pointers somewhere else…

    the two sites are on the same server:

    In Swedish with gallery content
    In English with no gallery content

    Great plugin anyway!

    I tried to copy the three ngg-tables from the old/swedish mySQL-database
    to the new/english database

    and I got everything…BUT…the pictures… The Albums and the Gallerys are there but the picturelink is broken.

    So in the Gallery there is a picture path which by default is /wp-content/gallery/…(gallery name)…

    I tried to change this to the long path of the old/swedish site-gallery where the pics are but by some %(/%(/&% default (/%(/&% the plug-in puts the new/english site name first which render something like….etc FFF(very/&%/&%)

    Anyone care to take up from here?

    … just changing the path and everything would work…
    Ok – you have to make two instances of the same gallery, one on each site, but from there you could find the pictures – IF you only could change the path

    Come on Photocrati – give us an answer!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Multisite: Can I get other sites gallery?’ is closed to new replies.