Home › Forums › Calendar Products › Events Calendar PRO › List view on a page
- This topic has 9 replies, 4 voices, and was last updated 10 years, 10 months ago by
Support Droid.
-
AuthorPosts
-
March 8, 2012 at 6:45 pm #16494
Richard
MemberI 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?
ThanksMarch 9, 2012 at 10:41 am #16515Rob
MemberHey 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.
March 9, 2012 at 11:31 am #16534Richard
MemberThank 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
March 12, 2012 at 12:08 pm #16627Rob
MemberHey 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.
March 13, 2012 at 11:40 am #16676Richard
MemberWhat 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.
March 13, 2012 at 4:20 pm #16695Rob
MemberHey 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.
March 13, 2012 at 6:24 pm #16707Jonah
ParticipantHi 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.
March 13, 2012 at 7:00 pm #16708Richard
MemberThat seemed to have worked. thank you.
March 14, 2012 at 7:42 am #16722Rob
MemberExcellent 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.
July 6, 2015 at 5:00 pm #976326Support Droid
KeymasterThis 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. -
AuthorPosts
- The topic ‘List view on a page’ is closed to new replies.
