Forum Replies Created
-
AuthorPosts
-
Graham Stacey
ParticipantI have sorted out the issue by replacing new template from plugin updates. This was the issue of theme tempalte nav.php which was overriding the plugin template file.
But how can I know which files needs to update when plugin releases the updates.
I suggest you to place the feature like woo commerce for template overrides so that user can know which template files needs to merge/update into the theme.
Appreciate the support.
Thanks,
TejasSeptember 4, 2015 at 4:45 am in reply to: Combine Events, by publish date, in mutli CPT query #1002036Graham Stacey
ParticipantThanks George for this.
This led me to look at the orderby spec a little closer.
I am not sure this will work for us as we are then juggling modify posts to try and get them in the order we would like on the homepage.We have had a go at implementing this:
For the time being and seeing how that goes. We can then use the publish date to affect the order on the home page. Thankfully this does not seem to affect the order of events on the main events listing.
Thanks for your help
G-
This reply was modified 10 years, 7 months ago by
Graham Stacey.
Graham Stacey
ParticipantHi Casey,
Sorry to pester…
Can I note, that even if I remove, or in this case rename, the custom template, then the event data is still corrupted.
It seems to me that this is nothing to do with the custom template.My client is now very fed up that this has been dragging on for too many weeks. I am at a loss as to a way forward.
Any clues…Graham Stacey
ParticipantThis reply is private.
Graham Stacey
ParticipantThis reply is private.
Graham Stacey
ParticipantHi Casey,
Sorry this keeps dragging on… I was away on holiday for a while and then catching up.
I have looked at the test site and this is not working.
There is a warning on the widget and it is picking up news items not events.
I would be very grateful if you can have another look.
Thank youGraham Stacey
ParticipantThis reply is private.
Graham Stacey
ParticipantThis reply is private.
Graham Stacey
ParticipantHi,
I think you are looking at the production site. We have turned off events on the homepage because the information is mis-leading.Please see ob-live.com, which is a copy and is showing a messed up widget. Happy to provide log-in details for this clone site.
Thanks
GGraham Stacey
ParticipantThanks Casey,
I have loaded the code to http://pastie.org/9203907 as requested. This is a copy of the production site code as it is. As I mentioned above this is currently cloned toob-live.com
What I am still bugged about is that there is no issue with the site running on my local server.
The events display as expected.
Thank you for continuing to look at this.Graham Stacey
ParticipantHi,
I have had to remove all events from showing on the widget as the info is just misleading.
I have cloned the site to ob-live.com and kept the events showing, you can see the issue here.
The widget is set to only show events from one category. I have only one of many events currently in that category but there are 3 events showing; one duplicate and one previous event.
I can provide login details for this cloned site
Do you have any clues?
Thanks
Graham Stacey
ParticipantThere is indeed a template override, here’s the code:
<?php
/**
* Events Pro List Widget Template
* This is the template for the output of the events list widget.
* All the items are turned on and off through the widget admin.
* There is currently no default styling, which is highly needed.
*
* Override this template in your own theme by creating a file at [your-theme]/tribe-events/widgets/list-widget.php
*
* When the template is loaded, the following vars are set: $start, $end, $venue,
* $address, $city, $state, $province’], $zip, $country, $phone, $cost
*
* @package TribeEventsCalendarPro
* @since 1.0
* @author Modern Tribe Inc.
*
*/if ( !defined(‘ABSPATH’) ) { die(‘-1’); } ?>
<?php
$widget_args = tribe_events_get_adv_list_widget_args();
extract($widget_args);
?>
<li class=”<?php tribe_events_event_classes() ?>”>
<?php do_action( ‘tribe_events_list_widget_before_the_event_title’ ); ?>
<h4 class=”entry-title entry-title-widget summary”>
” rel=”bookmark”><?php the_title(); ?>
</h4>
<?php do_action( ‘tribe_events_list_widget_after_the_event_title’ ); ?>
<?php do_action( ‘tribe_events_list_widget_before_the_meta’ ) ?>
<div class=”duration”>
<?php echo tribe_events_event_schedule_details(); ?>
</div>
<?php if ( $cost && tribe_get_cost() != ” ) { ?>
<span class=”tribe-events-divider”>|</span>
<div class=”tribe-events-event-cost”>
<?php echo tribe_get_cost( null, true ); ?>
</div>
<?php } ?>
<div class=”vcard adr location”>
<?php if ( $venue && tribe_get_venue() != ”) { ?>
<span class=”fn org tribe-venue”><?php echo tribe_get_venue_link(); ?></span>
<?php } ?>
<?php if ( $address && tribe_get_address() != ” ) { ?>
<span class=”street-address”><?php echo tribe_get_address(); ?></span>
<?php } ?>
<?php if ( $city && tribe_get_city() != ” ) { ?>
<span class=”locality”><?php echo tribe_get_city(); ?></span>
<?php } ?>
<?php if ( $region && tribe_get_region() !=” ) { ?>
<span class=”region”><?php echo tribe_get_region(); ?></span>
<?php } ?>
<?php if ( $zip && tribe_get_zip() != ” ) { ?>
<span class=”postal-code”><?php echo tribe_get_zip(); ?></span>
<?php } ?>
<?php if ( $country && tribe_get_country() != ”) { ?>
<span class=”country-name”><?php echo tribe_get_country(); ?></span>
<?php } ?>
<?php if ( $organizer && tribe_get_organizer() != ” ) { ?>
<?php _e( ‘Organizer:’, ‘tribe-events-calendar-pro’ ); ?>
<span class=”tribe-organizer”><?php echo tribe_get_organizer_link(); ?></span>
<?php } ?>
<?php if ( $phone && tribe_get_phone() != ” ) { ?>
<span class=”tel”><?php echo tribe_get_phone(); ?></span>
<?php } ?>
</div>
<?php do_action( ‘tribe_events_list_widget_before_the_meta’ ) ?>Thanks for looking.
Graham Stacey
ParticipantOf course – I didn’t want authors showing on the site and now I can see that this is the class Events is using – thanks for the diagnostics.
Graham Stacey
ParticipantSure,
Site on staging server here…
http://biams.ob-live.com/event/the-visual-arts-and-the-mission-of-god/
Another site live here…
http://campaignforsocialscience.org.uk/event/campaign-for-social-science-roadshow-university-of-exeter/
Both on the same theme – Responsive by ThemeID here
http://themeid.com/
ThanksGraham Stacey
ParticipantI can also confirm that previous version of Types is working – thankfully
-
This reply was modified 10 years, 7 months ago by
-
AuthorPosts
