• fantomasfr

    (@fantomasfr)


    Hello everbody,

    I have install multisite on my site.
    The main site is in french and the other one in english (and in german in a near future).
    I want to display the events of the main site (fr) on all sites with the ability of filtering by caterory.

    I display the 3 last events on the mainpage of both sites, everything works fine except search feature with :

    <?php
    if (!isset($_POST[‘number’])){
    $nbre = 3;
    }
    else{
    $nbre = $_POST[‘number’];
    };

    if (!isset($_POST[‘category’])){
    $category = “”;
    }
    else{
    $category = $_POST[‘category’];
    };

    if (class_exists(‘EM_Events’)) {
    echo EM_Events::output( array(‘blog’=> 0,’category’=>$category,’orderby’=>’event_start_date’) );
    }
    ?>

    The result only display one event in the category, not all.
    If I disable global table, it’s work (but i can’t see events on the other site).

    I have event manager plugin activated on both sites, and network plugin activated also.

    If someone can help me, i’ll be great.
    Thank’s in advance.

Viewing 1 replies (of 1 total)
  • Thread Starter fantomasfr

    (@fantomasfr)

    After changing catégories names, it appear that i have no result instead of the displaying only the first…strange! ?

Viewing 1 replies (of 1 total)

The topic ‘Event manager search problem when activating global table’ is closed to new replies.