Tagged: 

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #261029

    Hi..

    I purchased the tri.be pro version of the calendar and i am trying to get it to display properly.
    I would like the calendar to display full width(no sidebar) and the events page to display a sidebar with custom widgets.
    How do i do that.
    Thx

    ………. SOLUTION ……………………
    Hope this helps someone else out. Basically follow this tutorial. But make these changes to the following pages.
    http://tri.be/selectively-removing-sidebars-in-twenty-twelve/

    FUNCTION.PHP page

    add_filter(‘body_class’, ‘tribe_make_events_fullwidth’);

    function tribe_make_events_fullwidth($classes) {
    if ( in_array(‘full-width’, $classes) ) return $classes;
    if ( tribe_is_event_query() && ! is_singular() ) $classes[] = ‘fullsize’;
    return $classes;
    }

    PAGE.PHP

    <?php

    //get the sidebar

    $avia_config[‘currently_viewing’] = ‘page’;

    if ( ! tribe_is_event_query() || ( tribe_is_event_query() && is_singular()))

    get_sidebar();

    ?>
    </div><!–end container–>

    GRID.CSS – wp-content/themes/enfold/css/grid.css

    .responsive_large .fullsize .container .nine.units {
    width: 100%;
    }

    • This topic was modified 9 years, 10 months ago by khedrubje.
    #261082

    Hi,

    Please contact the plugin author for more info about the issue. Making third party plugins compatible with theme is beyond the support scope we can offer. You can also hire a freelance developer to help you debug the plugin.

    Regards,
    Josue

    #261536

    Hi..

    Could you at least tell me which php page specifically the code for loading the sidebar lies in as tri.be support are unshore which page to edit. They do have a tutorial that i have linked below.
    http://tri.be/selectively-removing-sidebars-in-twenty-twelve/

    To selectively remove the sidebars, you’ll want to make a small change to your theme by editing or, as we commonly recommend, overriding the theme’s page.php template. First, open it up in your favorite code editor and find this line of code, near the top:

    <?php get_sidebar(); ?>

    You’ll need to put this code in its place:

    <?php if ( ! tribe_is_event_query() || ( tribe_is_event_query() && is_singular() ) ) get_sidebar(); ?>

    #261541

    Hi!

    Have you tried setting the Page layout to no Sidebar?
    http://screencast.com/t/UuxyukZfG

    Best regards,
    Josue

    #261577

    Unfortunately it is not that simple.:)
    I tried that first off and it makes no difference.
    When i add the recommended code it removes all sidebar info.
    <?php

    //get the sidebar
    $avia_config[‘currently_viewing’] = ‘page’;
    get_sidebar();

    ?>

    EDITED PAGE.PHP
    <?php

    //get the sidebar
    $avia_config[‘currently_viewing’] = ‘page’;
    <?php if ( ! tribe_is_event_query() || ( tribe_is_event_query() && is_singular() ) ) get_sidebar(); ?>();

    ?>
    <?php if ( ! tribe_is_event_query() || ( tribe_is_event_query() && is_singular() ) ) get_sidebar(); ?>

    #261583

    You’d need to contact a developer to tweak the theme/plugin for you, we can not help you with this.

    We can’t help with installation of WordPress itself, 3rd party plugins that were not part of the theme package or heavy theme customization.

    https://kriesi.at/support/register/

    Regards,
    Josue

Viewing 6 posts - 1 through 6 (of 6 total)
  • The topic ‘Tri.be calendar display calendar full width (SOLVED)’ is closed to new replies.