Danielle

Forum Replies Created

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • in reply to: tribe_get_venue_description #971080
    Danielle
    Participant

    Thanks that worked. Below is the code I used in case anyone wants to use it.

    
    <?php
        $my_postid = tribe_get_venue_id();;
        $content_post = get_post($my_postid);
        $content = $content_post->post_content;
        $content = apply_filters('the_content', $content);
        $content = str_replace(']]>', ']]>', $content);
        echo $content;
    ?>
    
    in reply to: tribe_get_venue_description #971002
    Danielle
    Participant

    I don’t see any way to display the event description. Can someone help?

    Danielle
    Participant

    That worked great thanks. I hope someone else finds this helpful too.

    Danielle
    Participant

    Thanks but that only helps me display a single item. I’m trying to display both city and state. Adding just one works fine but adding both causes the code below to throw an error saying state is not defined.

    Uncaught TemplateError: ReferenceError: state is not defined (on tribe_tmpl_tooltip line 11)
    (anonymous function) @ tribe_tmpl_tooltip:23
    (anonymous function) @ tribe-events.min.js:1a @ tribe-events.min.js:1
    (anonymous function) @ tribe-events.min.js:1m.each.m.event.special.
    (anonymous function).handle @ jquery.js:3m.event.dispatch @ jquery.js:3m.event.add.r.handle @ jquery.js:3

    /month/single-event.php

    
    <?php
    global $post;
    $day            = tribe_events_get_current_month_day();
    $event_id       = "{$post->ID}-{$day['daynum']}";
    $start          = tribe_get_start_date( $post, false, 'U' );
    $end            = tribe_get_end_date( $post, false, 'U' );
    $city           = array();
    $getcity        = tribe_get_city();
    $city['city']   = $getcity;
    $state          = array();
    $getstate       = tribe_get_state();
    $state['state'] = $getstate;
    ?>
    
    <div id="tribe-events-event-<?php echo $event_id ?>" class="<?php tribe_events_event_classes() ?>" data-tribejson='<?php echo tribe_events_template_data( $post, $city, $state ); ?>'>
    	<h3 class="tribe-events-month-event-title entry-title summary"><a href="<?php tribe_event_link( $post ); ?>" class="url"><?php the_title() ?></a></h3>
    </div><!-- #tribe-events-event-# -->
    

    /month/tooltip.php

    [[=city]] [[=state]]

    in reply to: Strange Event Appearing on List Page #964556
    Danielle
    Participant

    I understand this is a theme issue. I’ve isolated the page down to a bare minimum to try and triage and the bug still happens. What I’m looking for help on is, “The only way that could happen is if ….”, or, “There are a few things you could try…”. It’s pretty apparent that the page copy is being duplicated in the_excerpt. I’d imagine that there are few instances where that can happen. I’m looking for help identifying that so I can try and fix this bug and use your product I paid for.

    Danielle
    Participant

    This works fine with the default WP theme. I think this bug is related to the other post.

    I’ve disabled all plugins and created a vanilla environment meaning nothing is loaded in the header/footer except wp_head/wp_footer. There is no html or css loaded except that of the events plugin. The data is still duplicated.

    in reply to: Strange Event Appearing on List Page #964010
    Danielle
    Participant

    If you scroll down and see the code where the event is listed, you’ll see that it’s grabbing the copy from the plugin’s menu bar and putting it in the event text. It’s also grabbing each consecutive event and putting that copy inside the single event shown. It’s as if there’s an open tag or something.

    in reply to: Strange Event Appearing on List Page #964008
    Danielle
    Participant

    Yes, changing to WP’s default theme solves this issue. However I need to use it with my current theme and this type of error doesn’t appear like a HTML/CSS issue.

    The <?php the_excerpt() ?> is taking the page’s text and displaying it as an event. This even happens after deleting all events and venues which rules out any issue with bad data being imported. I’m currently testing with the test venues/events listed in your documentation.

    I’ve disabled all plugins, removed everything in the header/footer except wp_header and wp_footer. I’ve removed everything from the theme’s functions.php file.

    Below is the source of the page to show that the code is vanilla plugin/wp. Yes, I’ve downloaded the latest version of the plugin and pro version a few times.

    <!doctype html>
    <!–[if lt IE 7]><html lang=”en-US” class=”no-js lt-ie9 lt-ie8 lt-ie7″><![endif]–>
    <!–[if (IE 7)&!(IEMobile)]><html lang=”en-US” class=”no-js lt-ie9 lt-ie8″><![endif]–>
    <!–[if (IE 8)&!(IEMobile)]><html lang=”en-US” class=”no-js lt-ie9″><![endif]–>
    <!–[if gt IE 8]><!–> <html lang=”en-US” class=”no-js”><!–<![endif]–>
    <head>
    <meta charset=”utf-8″>
    <meta http-equiv=”X-UA-Compatible” content=”IE=edge,chrome=1″>
    <title>Upcoming Events </title>
    <script type=”text/javascript”>
    window._wpemojiSettings = {“baseUrl”:”http:\/\/s.w.org\/images\/core\/emoji\/72×72\/”,”ext”:”.png”,”source”:{“concatemoji”:”http:\/\/localhost\/axlive\/wp-includes\/js\/wp-emoji-release.min.js?ver=4.2.1″}};
    !function(a,b,c){function d(a){var c=b.createElement(“canvas”),d=c.getContext&&c.getContext(“2d”);return d&&d.fillText?(d.textBaseline=”top”,d.font=”600 32px Arial”,”flag”===a?(d.fillText(String.fromCharCode(55356,56812,55356,56807),0,0),c.toDataURL().length>3e3):(d.fillText(String.fromCharCode(55357,56835),0,0),0!==d.getImageData(16,16,1,1).data[0])):!1}function e(a){var c=b.createElement(“script”);c.src=a,c.type=”text/javascript”,b.getElementsByTagName(“head”)[0].appendChild(c)}var f;c.supports={simple:d(“simple”),flag:d(“flag”)},c.supports.simple&&c.supports.flag||(f=c.source||{},f.concatemoji?e(f.concatemoji):f.wpemoji&&f.twemoji&&(e(f.twemoji),e(f.wpemoji)))}(window,document,window._wpemojiSettings);
    </script>
    <style type=”text/css”>
    img.wp-smiley,
    img.emoji {
    display: inline !important;
    border: none !important;
    box-shadow: none !important;
    height: 1em !important;
    width: 1em !important;
    margin: 0 .07em !important;
    vertical-align: -0.1em !important;
    background: none !important;
    padding: 0 !important;
    }
    </style>
    <link rel=’stylesheet’ id=’tribe-events-bootstrap-datepicker-css-css’ href=’http://localhost/axlive/wp-content/plugins/the-events-calendar/vendor/bootstrap-datepicker/css/datepicker.css?ver=4.2.1&#8242; type=’text/css’ media=’all’ />
    <link rel=’stylesheet’ id=’tribe-events-custom-jquery-styles-css’ href=’http://localhost/axlive/wp-content/plugins/the-events-calendar/vendor/jquery/smoothness/jquery-ui-1.8.23.custom.css?ver=4.2.1&#8242; type=’text/css’ media=’all’ />
    <link rel=’stylesheet’ id=’tribe-events-calendar-style-css’ href=’http://localhost/axlive/wp-content/plugins/the-events-calendar/resources/tribe-events-skeleton.min.css?ver=3.9.3&#8242; type=’text/css’ media=’all’ />
    <link rel=’stylesheet’ id=’tribe-events-calendar-pro-style-css’ href=’http://localhost/axlive/wp-content/plugins/events-calendar-pro/resources/tribe-events-pro-skeleton.min.css?ver=3.9.3&#8242; type=’text/css’ media=’all’ />
    <script type=’text/javascript’ src=’http://localhost/axlive/wp-includes/js/jquery/jquery.js?ver=1.11.2′></script&gt;
    <script type=’text/javascript’ src=’http://localhost/axlive/wp-includes/js/jquery/jquery-migrate.min.js?ver=1.2.1′></script&gt;
    <script type=’text/javascript’ src=’http://localhost/axlive/wp-content/plugins/the-events-calendar/vendor/jquery-placeholder/jquery.placeholder.min.js?ver=2.0.7′></script&gt;
    <script type=’text/javascript’>
    /* <![CDATA[ */
    var tribe_bootstrap_datepicker_strings = {“dates”:{“days”:[“Sunday”,”Monday”,”Tuesday”,”Wednesday”,”Thursday”,”Friday”,”Saturday”,”Sunday”],”daysShort”:[“Sun”,”Mon”,”Tue”,”Wed”,”Thu”,”Fri”,”Sat”,”Sun”],”daysMin”:[“S”,”M”,”T”,”W”,”T”,”F”,”S”,”S”],”months”:[“January”,”February”,”March”,”April”,”May”,”June”,”July”,”August”,”September”,”October”,”November”,”December”],”monthsShort”:[“Jan”,”Feb”,”Mar”,”Apr”,”May”,”Jun”,”Jul”,”Aug”,”Sep”,”Oct”,”Nov”,”Dec”],”clear”:”Clear”,”today”:”Today”}};
    /* ]]> */
    </script>
    <script type=’text/javascript’ src=’http://localhost/axlive/wp-content/plugins/the-events-calendar/vendor/bootstrap-datepicker/js/bootstrap-datepicker.js?ver=3.2′></script&gt;
    <script type=’text/javascript’ src=’http://localhost/axlive/wp-content/plugins/the-events-calendar/vendor/jquery-resize/jquery.ba-resize.min.js?ver=1.1′></script&gt;
    <script type=’text/javascript’>
    /* <![CDATA[ */
    var tribe_js_config = {“permalink_settings”:”\/%postname%\/”,”events_post_type”:”tribe_events”,”events_base”:”http:\/\/localhost\/axlive\/events\/”};
    /* ]]> */
    </script>
    <script type=’text/javascript’ src=’http://localhost/axlive/wp-content/plugins/the-events-calendar/resources/tribe-events.min.js?ver=3.9.3′></script&gt;
    <script type=’text/javascript’>
    /* <![CDATA[ */
    var TribeEventsPro = {“geocenter”:{“max_lat”:”38.5184656″,”max_lng”:”-90.3359378″,”min_lat”:”38.5184656″,”min_lng”:”-90.3359378″},”map_tooltip_event”:”Event: “,”map_tooltip_address”:”Address: “,”recurrence”:{“splitAllMessage”:”You are about to split this series in two.\n\nThe event you selected and all subsequent events in the series will be separated into a new series of events that you can edit independently of the original series.\n\nThis action cannot be undone.”,”splitSingleMessage”:”You are about to break this event out of its series.\n\nYou will be able to edit it independently of the original series.\n\nThis action cannot be undone.”,”bulkDeleteConfirmationMessage”:”Are you sure you want to trash all occurrences of these events?”}};
    /* ]]> */
    </script>
    <script type=’text/javascript’ src=’http://localhost/axlive/wp-content/plugins/events-calendar-pro/resources/tribe-events-pro.min.js?ver=3.9.3′></script&gt;
    <script type=’text/javascript’ src=’http://localhost/axlive/wp-content/plugins/the-events-calendar/resources/tribe-events-bar.min.js?ver=3.9.3′></script&gt;
    <script type=’text/javascript’ src=’http://maps.google.com/maps/api/js?sensor=false&ver=4.2.1′></script&gt;
    <script type=’text/javascript’>
    /* <![CDATA[ */
    var GeoLoc = {“ajaxurl”:”http:\/\/localhost\/axlive\/wp-admin\/admin-ajax.php”,”nonce”:”f80158afb0″,”map_view”:””};
    /* ]]> */
    </script>
    <script type=’text/javascript’ src=’http://localhost/axlive/wp-content/plugins/events-calendar-pro/resources/tribe-events-ajax-maps.min.js?ver=3.9.3′></script&gt;
    <link rel=”EditURI” type=”application/rsd+xml” title=”RSD” href=”http://localhost/axlive/xmlrpc.php?rsd&#8221; />
    <link rel=”wlwmanifest” type=”application/wlwmanifest+xml” href=”http://localhost/axlive/wp-includes/wlwmanifest.xml&#8221; />
    <meta name=”generator” content=”WordPress 4.2.1″ />
    </head>
    <body class=”logged-in tribe-filter-live tribe-events-uses-geolocation events-list events-archive tribe-theme-axforteen page-template-news-events-php singular”> <div id=”tribe-events” class=”tribe-no-js” data-live_ajax=”1″ data-datepicker_format=”0″ data-category=””><div class=”tribe-events-before-html”></div><span class=”tribe-events-ajax-loading”>Loading Events</span>
    <div id=”tribe-events-content-wrapper” class=”tribe-clearfix”><input type=”hidden” id=”tribe-events-list-hash” value=””>
    <!– Tribe Bar –>

    <div id=”tribe-events-bar”>

    <form id=”tribe-bar-form” class=”tribe-clearfix” name=”tribe-bar-form” method=”post” action=”http://localhost/axlive/events/list?post_type=tribe_events&eventDisplay=list”&gt;

    <!– Mobile Filters Toggle –>

    <div id=”tribe-bar-collapse-toggle” >
    Find Events<span class=”tribe-bar-toggle-arrow”></span>
    </div>

    <!– Views –>
    <div id=”tribe-bar-views”>
    <div class=”tribe-bar-views-inner tribe-clearfix”>
    <h3 class=”tribe-events-visuallyhidden”>Event Views Navigation</h3>
    <label>View As</label>
    <select class=”tribe-bar-views-select tribe-no-param” name=”tribe-bar-view”>
    <option selected value=”http://localhost/axlive/events/list/&#8221; data-view=”list”>
    List </option>
    <option tribe-inactive value=”http://localhost/axlive/events/month/&#8221; data-view=”month”>
    Month </option>
    <option tribe-inactive value=”http://localhost/axlive/events/map/&#8221; data-view=”map”>
    Map </option>
    </select>
    </div>
    <!– .tribe-bar-views-inner –>
    </div><!– .tribe-bar-views –>

    <div class=”tribe-bar-filters”>
    <div class=”tribe-bar-filters-inner tribe-clearfix”>
    <div class=”tribe-bar-date-filter”>
    <label class=”label-tribe-bar-date” for=”tribe-bar-date”>Events From</label>
    <input type=”text” name=”tribe-bar-date” style=”position: relative;” id=”tribe-bar-date” value=”” placeholder=”Date”>
    <input type=”hidden” name=”tribe-bar-date-day” id=”tribe-bar-date-day” class=”tribe-no-param” value=””> </div>
    <div class=”tribe-bar-search-filter”>
    <label class=”label-tribe-bar-search” for=”tribe-bar-search”>Search</label>
    <input type=”text” name=”tribe-bar-search” id=”tribe-bar-search” value=”” placeholder=”Search”> </div>
    <div class=”tribe-bar-geoloc-filter”>
    <label class=”label-tribe-bar-geoloc” for=”tribe-bar-geoloc”>Near</label>
    <input type=”hidden” name=”tribe-bar-geoloc-lat” id=”tribe-bar-geoloc-lat” value=”” /><input type=”hidden” name=”tribe-bar-geoloc-lng” id=”tribe-bar-geoloc-lng” value=”” /><input type=”text” name=”tribe-bar-geoloc” id=”tribe-bar-geoloc” value=”” placeholder=”Location”> </div>
    <div class=”tribe-bar-submit”>
    <input class=”tribe-events-button tribe-no-param” type=”submit” name=”submit-bar” value=”Find Events” />
    </div>
    <!– .tribe-bar-submit –>
    </div>
    <!– .tribe-bar-filters-inner –>
    </div><!– .tribe-bar-filters –>

    </form>
    <!– #tribe-bar-form –>

    </div><!– #tribe-events-bar –>

    <!– Main Events Content –>

    <div id=”tribe-events-content” class=”tribe-events-list”>

    <!– List Title –>
    <h2 class=”tribe-events-page-title”>Upcoming Events</h2>

    <!– Notices –>

    <!– List Header –>
    <div id=”tribe-events-header” data-title=”Upcoming Events | ” data-startofweek=”0″ data-view=”list” data-baseurl=”http://localhost/axlive/events/list/”&gt;

    <!– Header Navigation –>

    <h3 class=”tribe-events-visuallyhidden”>Events List Navigation</h3>
    <ul class=”tribe-events-sub-nav”>
    <!– Left Navigation –>

    <!– Right Navigation –>

    </div>
    <!– #tribe-events-header –>

    <!– Events Loop –>

    <div class=”tribe-events-loop vcalendar”>

    <!– Month / Year Headers –>
    <span class=’tribe-events-list-separator-month’><span>May 2015</span></span>
    <!– Event –>
    <div id=”post-0″ class=””>

    <!– Event Cost –>

    <!– Event Title –>
    <h2 class=”tribe-events-list-event-title entry-title summary”>


    </h2>

    <!– Event Meta –>
    <div class=”tribe-events-event-meta vcard”>
    <div class=”author “>

    <!– Schedule & Recurrence Details –>
    <div class=”updated published time-details”>
    <span class=”date-start dtstart”>May 20 @ 1:55 pm<span class=”value-title” title=”2015-05-20PDT01:55″></span></span> </div>

    </div>
    </div><!– .tribe-events-event-meta –>

    <!– Event Image –>

    <!– Event Content –>
    <div class=”tribe-events-list-event-description tribe-events-content description entry-summary”>
    <p>Find Events Event Views Navigation View As List Month Map Events From Search Near Upcoming Events Events List Navigation June 2015 Board Meeting June 15 @ 12:00 pm – 1:30 pm Musee D’Orsay, 1 Rue de la Légion d'Honneur, Paris, 75007 France I have traced the Rebel spies to her. Now she is my only […]</p>
    Find out more »
    </div><!– .tribe-events-list-event-description –>
    </div><!– .hentry .vevent –>

    </div><!– .tribe-events-loop –>

    <!– List Footer –>
    <div id=”tribe-events-footer”>

    <!– Footer Navigation –>

    <h3 class=”tribe-events-visuallyhidden”>Events List Navigation</h3>
    <ul class=”tribe-events-sub-nav”>
    <!– Left Navigation –>

    <!– Right Navigation –>

    </div>
    <!– #tribe-events-footer –>
    + Export Listed Events
    </div><!– #tribe-events-content –>

    <div class=”tribe-clear”></div>

    <div class=”tribe-events-after-html”></div> <script type=’text/javascript’>
    /* <![CDATA[ */
    var TribeList = {“ajaxurl”:”http:\/\/localhost\/axlive\/wp-admin\/admin-ajax.php”,”tribe_paged”:”0″};
    /* ]]> */
    </script>
    <script type=’text/javascript’ src=’http://localhost/axlive/wp-content/plugins/the-events-calendar/resources/tribe-events-ajax-list.min.js?ver=3.9.3′></script&gt;
    </body>
    </html>

    The list page still shows the page’s text inside the event: http://i.imgur.com/OvxI6LH.png
    The calendar view with the same data and environment: http://i.imgur.com/NWPaHFi.png

Viewing 8 posts - 1 through 8 (of 8 total)