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.

Channel Entries Search & MSM

September 08, 2011 5:36am

Subscribe [1]
  • #1 / Sep 08, 2011 5:36am

    Milan Topalov

    128 posts

    This predictably works:

    {exp:channel:entries channel="channelA" search:fieldA="keyword" dynamic="off" limit="5"}
    {title}
    {/exp:channel:entries}

    This doesn’t (quoted template sits on “siteB”; it products results, but simply ignores the search param & just outputs the latest entries):

    {exp:channel:entries site="siteA" channel="channelA" search:fieldA="keyword" dynamic="off" limit="5"}
    {title}
    {/exp:channel:entries}

    Neither does this (quoted template sits on “siteA” and is pulled into the “siteB” with a simple embed; it produces the same results as the example above it):

    {exp:channel:entries site="siteA" channel="channelA" search:fieldA="keyword" dynamic="off" limit="5"}
    {title}
    {/exp:channel:entries}

    My question is… how do I do channel entries search across MSM sites?

    Thanks 😊

  • #2 / Sep 08, 2011 11:50am

    Lisa Wess

    20502 posts

    Hi Milan Topalov,

    Unfortunately the search: parameter does not work with the site: parameter.  You would need a custom query to accomplish this.

    You’re welcome to add a feature request to improve this. =)

    Please let me know if you have any other questions.

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

ExpressionEngine News!

#eecms, #events, #releases