List view on a page

Home Forums Calendar Products Events Calendar PRO List view on a page

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #16494
    Richard
    Member

    I would like to have an EVENTS page on my website where I could list the events, instead of a calendar view.

    How would I do that?
    Thanks

    #16515
    Rob
    Member

    Hey Richard. It sounds like the easiest way to accomplish this would just be to set the default view (under Settings -> The Events Calendar) to list view instead of grid view. Then when users visited the /events page they’d see the list.

    If not, and if you wanted to get more customized with how you display event data, you should check out our template tag documentation at https://theeventscalendar.com/support/documentation. If you still have questions from there let me know.

    #16534
    Richard
    Member

    Thank you. Please see.. http://richardgagliardi.com/index.php/events/

    I would like to have the top heading say “Our Events” instead of SUNDAY. It seems like the page heading is taking the title of the 1st event.

    I would also like to move down a bit, or eliminate all together, the word “Upcoming Events” because it looks a bit too close to the top line. How would I tweak this page? Thanks. RIch

    #16627
    Rob
    Member

    Hey Richard. Thanks for the follow-up. Odd, as this issue of the first event becoming the title of the calendar was something I thought we’d squashed. One thing you’ll definitely want to do is make sure that pretty permalinks are enabled on the site; that generally should resolve this first issue unless it’s a theme-specific conflict.

    As for tweaking the “Upcoming Events” text, perhaps this comment I posted in a related thread would help you out (https://theeventscalendar.com/support/forums/topic/calendar-of-events-title-change/page/3/#post-16510)? Let me know if not and we can continue trying to troubleshoot as needed.

    #16676
    Richard
    Member

    What a pretty permalinks? I currently have it set to POST NAME http://richardgagliardi.com/index.php/sample-post/

    Please see http://richardgagliardi.com/index.php/events/past/ On top you will see the title of the page is Monday, which is the first event. Any ideas? Thanks.

    #16695
    Rob
    Member

    Hey Richard. It looks like your permalinks are enabled fine, so something else must be at play here. This is unfortunately a bit outside my area of expertise but I have asked our dev Jonah to take a look and comment directly when he hits the forums next. Stay tuned.

    #16707
    Jonah
    Participant

    Hi Richard,

    You’ll want to find where the_title() is called in your theme. It may be in page.php or header.php – look there first.

    When you find the_title(), try replacing it with the following code:

    if(tribe_is_month()) {

    echo 'Calendar Grid';

    } else if(tribe_is_event() && !tribe_is_day() && !is_single()) {

    echo 'Event List';

    } else if(tribe_is_event() && !tribe_is_day() && is_single()) {

    echo 'Single Event';

    } else if(tribe_is_day()) {

    echo 'Single Day';

    } else {

    the_title();

    }

    Try that first.

    #16708
    Richard
    Member

    That seemed to have worked. thank you.

    #16722
    Rob
    Member

    Excellent to hear! Happy to help, Richard. Please let us know whether you need anything else down the road. Thanks again for your use of Events Calendar PRO.

    #976326
    Support Droid
    Keymaster

    This topic has not been active for quite some time and will now be closed.

    If you still need assistance please simply open a new topic (linking to this one if necessary)
    and one of the team will be only too happy to help.

Viewing 10 posts - 1 through 10 (of 10 total)
  • The topic ‘List view on a page’ is closed to new replies.