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.

MSM and one weblog

January 26, 2011 2:58pm

Subscribe [3]
  • #1 / Jan 26, 2011 2:58pm

    MAYO

    53 posts

    Is it possible for 2 sites, running on the multi site manager…. to share weblog entries between each other?

    For example

    I want to set two sites up that have a different theme, pages etc. But i also want them both to have an ‘Events’ page. If i add an event to one side, id like it to appear on both sites.

    Is this possible with MSM?

    I’ve tried this code:

    {exp:weblog:entries weblog="{my_weblog}" site="1|2"}
    {title}
    {/exp:weblog:entries}

    Just to run a quick test, and it only seems to pull in the entries related to the site im on.

  • #2 / Jan 26, 2011 3:06pm

    Ingmar

    29245 posts

    Yes, that’s possible. That said, the site short name is likey not just “1” or “2”. Even so, in your setup you’d need to a channel by the same name on both sites, do you have that in your setup?

  • #3 / Jan 27, 2011 6:25pm

    Design by Front

    106 posts

    Hey Mayo,

    Ingmar is right, it’s absolutely possible 😊 I think you may be using the site ID instead of the site short name. It’s more likely to be

    site=“mayo|butter”

    rather than

    site=“1|2”

    You should also make sure the weblog name for “{my_weblog}” is the same on both sites.

    Does that help?
    Chuck

  • #4 / Jan 28, 2011 10:56am

    Ingmar

    29245 posts

    Thanks. Does that help any, MAY0?

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

ExpressionEngine News!

#eecms, #events, #releases