Forum Replies Created
-
AuthorPosts
-
June 21, 2012 at 9:00 pm in reply to: tribe_calendar_grid() doesn’t show the full menu like the CPT pages #21028
Jonah
ParticipantHi Andrew,
Sorry there is no template tag to embed the fully functioning calendar but you can also do this via an include like so:
include('wp-content/plugins/the-events-calendar/views/gridview.php');
I hope that helps!– Jonah
Jonah
ParticipantHi Tony,
I think that should work. Have you verified the path to the files is correct? What being output, anything?
– Jonah
Jonah
Participant@Magezi – in your case your theme has a style for hr elements and is setting the width to 600px. You can correct this easily by adding the following CSS to your theme’s style.css:
.tribe-events-calendar hr {
width: auto;
}
@Steve – you have a similar issue, your theme is applying a width to the .hentry class and you can correct this with the following CSS:
.tribe-events-calendar .hentry {
width: auto;
}
I hope that helps guys but let me know if you need anything else.
– Jonah
Jonah
ParticipantHi Krysia,
Try changing this to:
echo $tribe_ecp->monthsFull[date('F',$date)];
…in your modified copy of table-mini.phpI hope that helps,
– JonahJonah
ParticipantJonah
ParticipantHi Matt,
The Community Events plugin currently uses your theme’s page.php template and if there are things you want to remove from the template only on the community pages you’ll need to use these two conditional checks in PHP to determine whether you are on one of the community pages and if so, display or don’t display certain things:
if(tribe_is_community_my_events_page()) {
echo 'this is the my events community page!';
}if(tribe_is_community_edit_event_page()) {
echo 'this is the add/edit community events page!';
}
…you could also just hide things in CSS by targeting either the .tribe_community_list or .tribe_community_edit body classes.Does that help?
– Jonah
Jonah
ParticipantYou’re welcome Ann, let us know if there’s anything else you need 🙂
– Jonah
Jonah
Participant@ian – have you tried clearing your permalinks by clicking Save @ Settings > Permalinks?
@Mike – can you provide us WP admin access to your site? You can email credentials to pro [at] tri [dot] be and please reference this thread.
Thanks,
JonahJonah
ParticipantHi Robert, sorry to hear about these troubles. Yes if you could email us a link to your website so we can see what’s going on that would be great. You can email to pro [at] tri [dot] be (please reference this thread so we know what it’s about)
Have you tried deactivating all other plugins to see if there’s maybe a conflict? Or, clearing your permalinks by visiting Settings > Permalinks and clicking save?
Another thing that might help is if you can email us a copy of your theme so we can try it out on our end.
Hopefully we can get this worked out quickly.
Thanks,
JonahJonah
ParticipantHi Ken,
Sorry to hear about the troubles. Have you modified /wp-content/plugins/the-events-calendar/views/table-mini.php by having a copy in an ‘events’ folder in your theme? What about the /wp-content/plugins/the-events-calendar/resources/events.css file? Are you running 2.0.7 of both the base and PRO plugins?
– Jonah
Jonah
ParticipantHi Tony,
Make a copy of /wp-content/plugins/the-events-calendar/views/single.php and place in an ‘events’ folder in your theme and then replace the tribe_meta_event_cats() function with this: https://gist.github.com/2967263
I hope that helps!
– Jonah
Jonah
ParticipantHi Genesis,
Unfortunately this is a bit too complex of an issue for us to be able to troubleshoot or help with. I took a look at the theme but there’s so much going on it’s hard to say what the problem could be without spending a lot of time turning things on and off. One thing, have you tried setting your permalinks to Postname in Settings > Permalinks? Other than that there is probably something in your theme that is throwing things off. My suggestion would be to start stripping things out of the theme until you can get the menus or sidebars back on event related pages.
Good luck!
– Jonah
Jonah
ParticipantHi Terri,
Sorry to hear about that. Make sure you are running the latest version of our plugins (2.0.7) and try deactivating all other plugins to see if that helps. Also, have you made modifications to /wp-content/plugins/the-events-calendar/views/single.php?
Thanks,
JonahJonah
ParticipantHi Denis,
Last little tip I can provide on this, you’ll need to figure out the rest on your own or hire a developer. Try adding these additional conditions to only filter out the category to be excluded if we are not on a category for the upcoming or past lists:
add_action( 'pre_get_posts', 'exclude_events_category' );
function exclude_events_category( $query ) {if ( $query->query_vars['eventDisplay'] == 'upcoming' && !is_tax(TribeEvents::TAXONOMY) || $query->query_vars['eventDisplay'] == 'past' && !is_tax(TribeEvents::TAXONOMY) || $query->query_vars['eventDisplay'] == 'month' && $query->query_vars['post_type'] == TribeEvents::POSTTYPE && !is_tax(TribeEvents::TAXONOMY) && empty( $query->query_vars['suppress_filters'] ) ) {
$query->set( 'tax_query', array(
array(
'taxonomy' => TribeEvents::TAXONOMY,
'field' => 'slug',
'terms' => array('2012'),
'operator' => 'NOT IN'
)
)
);
}return $query;
}
I hope that helps!– Jonah
Jonah
ParticipantGlad to hear it Derek, let us know if you need anything else.
Cheers,
Jonah -
AuthorPosts
