WordPress.org

Ready to get started?Download WordPress

Forums

Events Manager
MIgrating data from Ajax Calendar plugin - issues (4 posts)

  1. cyberaishu
    Member
    Posted 2 years ago #

    Hello,

    I have some event related data that is currently rendered by the Ajax calender plugin. I am trying to migrate this data to events manager. To begin with I tried inserting some data into the 'wp_em_locations' table and also a corresponding entry in the 'wp_posts' table. Although my location name shows up, when I try to edit / view the location, none of the other information (like address, town , zipcode etc) shows up. This data is present in the DB though. Is there someother table that I need to update ? What am I doing wrong here ? Any help is much appreciated !!

    Thanks,
    Aishwarya

    http://wordpress.org/extend/plugins/events-manager/

  2. agelonwl
    Member
    Posted 2 years ago #

    are you doing that in the backend interface or directly to database? if in the database, try checking table wp_postmeta

  3. cyberaishu
    Member
    Posted 2 years ago #

    Yes updating the wp_postmeta works for location information. Thanks :).

    I have now moved all the location data to the 'wp_em_locations' table. But the event information does not seem to show up. My 'wp_em_events' table has a bunch of records but they don't show up in the UI. When I inserted these records into the events table, I also updated my 'wp_posts' and 'wp_postmeta' table. Please let me know what I am doing wrong here. Is there some other table that I need to update for the event information to show up in the UI ?

    Thanks,
    Aishwarya

  4. Marcus
    NetWebLogic Support
    Plugin Author

    Posted 2 years ago #

    you need to have a record in wp_posts for each event, and there must be a corresponding record in wp_em_event which has the same post_id. aside from this, you also need to add the extra event info into the postmeta tables as you suspect (I advise you look at an event you created via the UI to see).

    Same principle with locations.

    hope that helps!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic