John

Forum Replies Created

Viewing 15 posts - 1 through 15 (of 19 total)
  • Author
    Posts
  • in reply to: Calendar View Problem and Google Import? #11189
    John
    Member

    Yes you can drop it wherever as long as it is not within another function. Sorry, I had replied several days ago but looks like it never got posted.

    in reply to: Field Names #11002
    John
    Member

    I think you could do it by editing the English translation file.

    in reply to: Calendar View Problem and Google Import? #11001
    John
    Member

    Yes, you can drop it anywhere in functions.php as long as it isn’t within another function.

    in reply to: Homepage customization / including upcoming and past events #11000
    John
    Member

    Hi Adam,

    The December post isn’t showing up because tribe_get_events is using the system’s default posts_per_page option. You can add ‘posts_per_page’=>-1 to show all upcoming events.

    As far as pagination goes, it generally doesn’t work with get_posts. We are hoping to implement a custom pagination solution in an upcoming release.

    in reply to: Homepage customization / including upcoming and past events #10788
    John
    Member

    Hi Adam,

    To accomplish what you are looking for you should be able to do in 2 custom queries:

    $upcoming = tribe_get_events( array(‘eventDisplay’=>’upcoming’) );

    $past = tribe_get_events( array(‘eventDisplay’=>’past’) );

    You can loop through those events like you would with any get_posts call.

    John
    Member

    Reji – would something like get_tribe_custom(‘Field label’) be sufficient?

    in reply to: Only Show Todays Events in Widget #10786
    John
    Member

    Try this to use today’s date:

    $date = date(‘Y-m-d’);
    $posts = tribe_get_events( “startDate=$date&endDate=$date&eventCat=” . $category );

    in reply to: Event Custom Field – Time/Date Picker #10785
    John
    Member

    This should be possible. We are using the jQuery UI Datepicker so you could add custom javascript to tie into the text field

    http://jqueryui.com/demos/datepicker/

    in reply to: Integration with Gravity Forms? #10267
    John
    Member

    Hi guys,

    I apologize for the syntax error – our issue tracker stripped out the 2 equal signs when I copy/pasted. To save venue and organizer try to add the following lines above the saveEventMeta line.

    $_POST[‘Organizer’] = stripslashes_deep($_POST[‘organizer’]);
    $_POST[‘Venue’] = stripslashes_deep($_POST[‘venue’]);

    if( !empty($_POST[‘Venue’][‘VenueID’]) )
    $_POST[‘Venue’] = array(‘VenueID’ => $_POST[‘Venue’][‘VenueID’]);

    if( !empty($_POST[‘Organizer’][‘OrganizerID’]) )
    $_POST[‘Organizer’] = array(‘OrganizerID’ => $_POST[‘Organizer’][‘OrganizerID’]);

    in reply to: Display today's events #9830
    John
    Member

    You should be able to click on the actual date from the grid view.

    in reply to: Integration with Gravity Forms? #9829
    John
    Member

    Yes, it is, but internally the post type name has changed which is why I think that redoing the form should hopefully fix it.

    in reply to: Remove ADDITIONAL FUNCTIONALITY line #9828
    John
    Member

    Hi guys,
    We are planning on adding a filter to remove this for the 2.0.1 release.

    in reply to: querying events #9827
    John
    Member

    There are two ways you can get all events for a month using a custom query. The easiest is to pass ‘eventDisplay=month’ to your WordPress query.

    You can also get events for a range of dates by using the start_date and end_date query parameters.

    in reply to: Sidebars and Widgets #9734
    John
    Member

    Hi Rachel,

    1. I’m not familiar with the plugins you are describing, can you describe what should happen that is not?

    2. You’ll have to add the tags taxonomy to the tribe_events post type in your functions.php. Once you are linking them you would have to do template overrides to actually display them.

    See http://codex.wordpress.org/Function_Reference/register_taxonomy_for_object_type

    in reply to: Integration with Gravity Forms? #9728
    John
    Member

    The date and time stuff should still work, but the post type has changed between ECP 1.3 and ECP 2.0, so you may need to rebuild the form using the new custom post type. If that doesn’t work, then let me know.

Viewing 15 posts - 1 through 15 (of 19 total)