Forum Replies Created
-
AuthorPosts
-
prebenjensen
ParticipantHI.
I have deleted the file in my theme’s tribe-events directory. But I as I share with you the code was like this:<?php
/**
* Page Template
*
* This template is the default page template. It is used to display content when someone is viewing a
* singular view of a page (‘page’ post_type) unless another page template overrules this one.
* @link http://codex.wordpress.org/Pages
*
* @package WooFramework
* @subpackage Template
*/
get_header();
?><!– #content Starts –>
<?php woo_content_before(); ?>
<div id=”content” class=”col-full”><div id=”main-sidebar-container”>
<!– #main Starts –>
<?php woo_main_before(); ?>
<section id=”main”>
<?php
woo_loop_before();if (have_posts()) { $count = 0;
while (have_posts()) { the_post(); $count++;
woo_get_template_part( ‘content’, ‘page’ ); // Get the page content template file, contextually.
}
}woo_loop_after();
?>
</section><!– /#main –>
<?php woo_main_after(); ?><?php get_sidebar(); ?>
</div><!– /#main-sidebar-container –>
<?php get_sidebar( ‘alt’ ); ?>
</div><!– /#content –>
<?php woo_content_after(); ?>
<?php get_footer(); ?>When this code is used displayed everything in the middle column. It is not the intent.
The sidebars is also in the middle column. The sidebars from canvas is still empty.Here is the original code/contest I use in the file:
<?php
/**
* Single Event Template
* A single event. This displays the event title, description, meta, and
* optionally, the Google map for the event.
*
* Override this template in your own theme by creating a file at [your-theme]/tribe-events/single-event.php
*
* @package TribeEventsCalendar
*
*/if ( ! defined( ‘ABSPATH’ ) ) {
die( ‘-1’ );
}$event_id = get_the_ID();
?>
<div id=”tribe-events-content” class=”tribe-events-single vevent hentry”>
<p class=”tribe-events-back”>
“> <?php _e( ‘« All Events’, ‘tribe-events-calendar’ ) ?>
</p><!– Notices –>
<?php tribe_events_the_notices() ?><?php the_title( ‘<h2 class=”tribe-events-single-event-title summary entry-title”>’, ‘</h2>’ ); ?>
<div class=”tribe-events-schedule updated published tribe-clearfix”>
<?php echo tribe_events_event_schedule_details( $event_id, ‘<h3>’, ‘</h3>’ ); ?>
<?php if ( tribe_get_cost() ) : ?>
<span class=”tribe-events-divider”>|</span>
<span class=”tribe-events-cost”><?php echo tribe_get_cost( null, true ) ?></span>
<?php endif; ?>
</div><!– Event header –>
<div id=”tribe-events-header” <?php tribe_events_the_header_attributes() ?>>
<!– Navigation –>
<h3 class=”tribe-events-visuallyhidden”><?php _e( ‘Event Navigation’, ‘tribe-events-calendar’ ) ?></h3>
<ul class=”tribe-events-sub-nav”>
<li class=”tribe-events-nav-previous”><?php tribe_the_prev_event_link( ‘<span>«</span> %title%’ ) ?>
<li class=”tribe-events-nav-next”><?php tribe_the_next_event_link( ‘%title% <span>»</span>’ ) ?><!– .tribe-events-sub-nav –>
</div>
<!– #tribe-events-header –><?php while ( have_posts() ) : the_post(); ?>
<div id=”post-<?php the_ID(); ?>” <?php post_class(); ?>>
<!– Event featured image, but exclude link –>
<?php echo tribe_event_featured_image( $event_id, ‘full’, false ); ?><!– Event content –>
<?php do_action( ‘tribe_events_single_event_before_the_content’ ) ?>
<div class=”tribe-events-single-event-description tribe-events-content entry-content description”>
<?php the_content(); ?>
</div>
<!– .tribe-events-single-event-description –>
<?php do_action( ‘tribe_events_single_event_after_the_content’ ) ?><!– Event meta –>
<?php do_action( ‘tribe_events_single_event_before_the_meta’ ) ?>
<?php
/**
* The tribe_events_single_event_meta() function has been deprecated and has been
* left in place only to help customers with existing meta factory customizations
* to transition: if you are one of those users, please review the new meta templates
* and make the switch!
*/
if ( ! apply_filters( ‘tribe_events_single_event_meta_legacy_mode’, false ) ) {
tribe_get_template_part( ‘modules/meta’ );
} else {
echo tribe_events_single_event_meta();
}
?>
<?php do_action( ‘tribe_events_single_event_after_the_meta’ ) ?>
</div> <!– #post-x –>
<?php if ( get_post_type() == TribeEvents::POSTTYPE && tribe_get_option( ‘showComments’, false ) ) comments_template() ?>
<?php endwhile; ?><!– Event footer –>
<div id=”tribe-events-footer”>
<!– Navigation –>
<!– Navigation –>
<h3 class=”tribe-events-visuallyhidden”><?php _e( ‘Event Navigation’, ‘tribe-events-calendar’ ) ?></h3>
<ul class=”tribe-events-sub-nav”>
<li class=”tribe-events-nav-previous”><?php tribe_the_prev_event_link( ‘<span>«</span> %title%’ ) ?>
<li class=”tribe-events-nav-next”><?php tribe_the_next_event_link( ‘%title% <span>»</span>’ ) ?><!– .tribe-events-sub-nav –>
</div>
<!– #tribe-events-footer –></div><!– #tribe-events-content –>
I can see that others have the same problem , so please help us
El’Prebsi
prebenjensen
ParticipantHi again.
I also made a new family website, just to test if it had to be something with wordpress version. on this website there is absolutely no code changes. However, there are the same problems.Here is the addresses:
Event page (no sidebar filling) http://fam-jensen.info/event/faetter-og-kusine-fest-2014/
Non event page (with sidebar filling) http://fam-jensen.info/category/familie/prebenjensen
ParticipantHi.
Thank you for response.Sorry for your trouble here – you mention reaching out to us before, can you share a link to that forum topic for reference here? https://theeventscalendar.com/support/forums/topic/sidebars-is-missing-in-single-event-list-and-in-calendar/
All changes made has been done in custom.css and i the tribe-event folder. I have reset everything, and tried in af cleen canvas. Still the same problem.
Also, can you explain a bit more about what you’re trying to do here? Do you mean that on non-Events pages, the Canvas sidebars show up fine, but on events-related pages, the canvas sidebars do not? yes that’s exactly what I mean..
prebenjensen
ParticipantIt seems that links disappear when I upload. I try again here.
http://mcikast.dk/event/tyskland-2015/
http://mcikast.dk/alle-blogs/November 24, 2014 at 10:34 am in reply to: Sidebars is missing in single event, list and in calendar. #897282prebenjensen
ParticipantHi. the comments is on in the settings, that is not the problem. The comments are showing fine under the event. In canvas you can have sidebars all over the site. one on right side and one left side. The only plugin that does not support this on my site is the event calendar. Something is missing in the standard event template.
Here is a examble with sidebars http://mcikast.dk/members/
Here is an event without sidebars http://mcikast.dk/event/tyskland-2015/
It is only with events we have this issue.I have seen this issue from other people.
We all really would like a solution that we can understand.
Thanks
El’prebsiNovember 24, 2014 at 10:20 am in reply to: The event calendar pro is changing my profil links #897247prebenjensen
ParticipantIt is in the frontend upper right corner, and I am not using any plugin for the profiles. When pro is deactivatet nothing’s wrong, but when activatet the profil link is pointing to profil activities.
prebenjensen
ParticipantIt was temp. problem, it is solved
prebenjensen
ParticipantThank you, that’s what I need. problem solved
prebenjensen
ParticipantI have the same problem, right and left sidebar is blank. http://www.mcikast.dk
I had the same problem before pro version. -
AuthorPosts
