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.

Can't import anything from site to site via MSM

January 25, 2012 4:43pm

Subscribe [1]
  • #1 / Jan 25, 2012 4:43pm

    MarketingMatters

    28 posts

    ExpressionEngine 2.3.1:
    I’m having a slew of issues today. Most of them deal with importing data from siteA to siteB. It’s not happening.

    I believe I have MSM completely installed correctly. I haven’t run into any issues. I see template data importing, but no queries whatsoever.

    Here’s some of the stuff that I have tried:
    from the root site:

    {exp📆cal site_id="1" calendar_id="292" date_range_start="today" show_months="6" pad_short_weeks="n" dynamic="off"}
    <li>{event_title} ({event_start_date format="%F %j, %Y"})</li>
    {if no_results}<li>No Results</li>{/if}
    {/exp📆cal}


    {exp:channel:entries channel="accommodations_page" limit="1" orderby="date" dynamic="off"}
    {hotel}
    <h1>{name}</h1>
    {description}
     
    {/hotel}
    <div class=“balls”></div>
    {disclaimer}<div>{cell_1}</div>{/disclaimer}
    {/exp:channel:entries}

    works fine…


    From the second site:

    {exp📆cal site_id="1" calendar_id="292"}
    {event_title}
    {/exp📆cal} 
    {exp📆cal site_id="1" calendar_id="292" date_range_start="today" date_range_end="6 months" pad_short_weeks="n" dynamic="off"}
    <li>{event_title} ({event_start_date format="%F %j, %Y"})</li>
    {if no_results}<li>No Results</li>{/if}
    {/exp📆cal}

    {embed="default_site:testing/index"}
    {exp:channel:entries channel="accomodations" limit="100"}I should see titles here: {title}
    {/exp:channel:entries}

    MORE:

    {embed="default_site:testing/index"}
    {exp📆cal site_id="1" calendar_id="292" date_range_start="today" show_months="6" pad_short_weeks="n" dynamic="off"}
    <li>{event_title} ({event_start_date format="%F %j, %Y"})</li>
    {if no_results}<li>No Results</li>{/if}
    {/exp📆cal}

    {exp📆cal site_id="2" calendar_id="292" date_range_start="today" show_months="6" pad_short_weeks="n" dynamic="off"}
    <li>{event_title} ({event_start_date format="%F %j, %Y"})</li>
    {if no_results}<li>No Results</li>{/if}
    {/exp📆cal}

    {exp📆cal site_id="3" calendar_id="292" date_range_start="today" show_months="6" pad_short_weeks="n" dynamic="off"}
    <li>{event_title} ({event_start_date format="%F %j, %Y"})</li>
    {if no_results}<li>No Results</li>{/if}
    {/exp📆cal}

    {exp📆cal calendar_id="292" date_range_start="today" show_months="6" pad_short_weeks="n" dynamic="off"}
    <li>{event_title} ({event_start_date format="%F %j, %Y"})</li>
    {if no_results}<li>No Results</li>{/if}
    {/exp📆cal}

  • #2 / Jan 26, 2012 6:12pm

    Sean C. Smith

    3818 posts

    Hi MarketingMatters,

    I’m sorry that you are experiencing this problem. I looked at your code and it looks like you are using a variable instead of the site paramater.

    Where you have site_id=“1” you should change that to site=“site_short_name”. Please do that and then get back to me with the results.

    Sean

  • #3 / Jan 26, 2012 6:37pm

    MarketingMatters

    28 posts

    Sorry for not replying sooner. Site_ID is a Solspace tag. It doesn’t work. They’ve documented the bug. We did get site=“site_short_name” working on everything though. Thanks for the reply!

  • #4 / Jan 30, 2012 8:39pm

    Sean C. Smith

    3818 posts

    MarketingMatters,

    Glad to see you’ve got it working now. I’m going to close out this thread, but feel free to post again when you have more questions.

    Sean

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

ExpressionEngine News!

#eecms, #events, #releases