Support

Home Forums Pre-Sales Events List/Calendar View

Events List/Calendar View

Posted: May 12, 2015 at 1:18 pm


Joren

May 12, 2015 at 1:18 pm

Does EE4 have a list view for its events, along with the calendar view that it comes with? Is it possible to toggle between the two on one page?


Lorenzo Orlando Caum

  • Support Staff

May 12, 2015 at 1:31 pm

Hi Joren, the default view for Event Espresso 4 events listing page is to show a list of events in reverse chronological order.

The calendar view (events in a calendar) is available via the events calendar add-on.

Have you had a chance to try out the demo for Event Espresso 4 on our demo site?

If not, you can setup your own demo site in under a minute over on:

http://demoee.org

Thanks


Lorenzo


Joren

May 12, 2015 at 1:36 pm

Ok. I can customize the templates correct?


Lorenzo Orlando Caum

  • Support Staff

May 12, 2015 at 1:54 pm

Hi Joren, you sure can. Here is information on getting those templates setup:

https://gist.github.com/lorenzocaum/16aac08f099d7c154f04

We also have additional information on the templates here:

https://eventespresso.com/2014/02/developers-corner-theming-event-espresso-4/

Note that the calendar itself does not run via customizable templates but it does have different parameters to change the default view (e.g. show a certain month by default).


Lorenzo


Joren

May 20, 2015 at 11:28 am

Thanks Lorenzo. I followed the steps on that though, copying all of the plugin’s theme files into my own theme, renaming the two to “old-“, adding the pagination function, duplicating page.php and replacing content loop for the single/archive pages, and any event esperesso pages now just simply time out without any errors reported. Can be seen here http://simpleque.embold.net/events/ and runs fine on regular pages http://simpleque.embold.net/

If I remove the plugin theme files from my theme directory it runs fine.


Lorenzo Orlando Caum

  • Support Staff

May 20, 2015 at 1:00 pm

Hi Joren, does it begin to work if the pagination function is removed from your theme’s functions? I edited the tutorial since your prior reply on May 12th.


Lorenzo


Joren

May 20, 2015 at 1:26 pm

Seems to cause the time out either way (just tried commenting the pagination function out)


Lorenzo Orlando Caum

  • Support Staff

May 20, 2015 at 6:19 pm

Hi,

Could you provide a copy of your theme as a zip file?

You can upload to a service like Tinygrab or Cloudapp and then link to it here.


Lorenzo


Joren

May 21, 2015 at 7:05 am

Here’s all of it, thanks! https://www.dropbox.com/s/zoy5aw8vv9kgwl6/simpleque.zip?dl=0


Lorenzo Orlando Caum

  • Support Staff

May 21, 2015 at 11:35 am

Thanks. I setup this theme on a testing site and the Event Espresso pages including the single event pages and events listing pages work as expected.

http://cl.ly/image/0K3c2k1M1p0F

Are you seeing anything in your site error_log?

What kind of web hosting are you using?


Lorenzo


Joren

May 21, 2015 at 12:22 pm

Dang, it’s definitely the espresso_get_template_part( ‘loop’, ‘espresso_events’ ); that is killing it. Single event page comes up fine. No errors in the error log either. I’m using a personal web server, if you can’t think of anything else than I can try moving this to another server to see how it runs there.


Lorenzo Orlando Caum

  • Support Staff

May 21, 2015 at 12:57 pm

Hi Joren,

That is strange. I uploaded the copy that you sent me and then went to the events listing page and it came right up.

Could you try testing on the other server?


Lorenzo


Joren

May 25, 2015 at 8:22 am

Finished moving this to another host, still has the same problem: http://www.que-que.com/events/

Also, how do can I update the license keys to another domain? This one is also only temporary. I don’t see a way to change this on my account.


Lorenzo Orlando Caum

  • Support Staff

May 25, 2015 at 9:39 am

Hi Joren, you can request a release via your Event Espresso account page in the future. See your account page for your updated support license key:

https://eventespresso.com/users/jorenrapini/#account-settings

You can link it to your new site.

Does the timeout issue occur with any other themes?


Lorenzo


Joren

May 25, 2015 at 10:01 am

Added the plugin theme files to twenty fifteen, event list page just loops a “nothing found”.


Joren

May 25, 2015 at 10:01 am

Can be viewed with twenty fifteen at http://www.que-que.com/events/


Lorenzo Orlando Caum

  • Support Staff

May 25, 2015 at 10:33 am

Thanks, I can see the issue even on a default theme. I’m going to double-check the starter templates again and I’ll share an updated copy to use.


Lorenzo


Lorenzo Orlando Caum

  • Support Staff

May 25, 2015 at 10:47 am

Hi, could you try this version of the archive-espresso_events.php file in the Twenty Fifteen theme?

http://cl.ly/code/2z3g203N3p3G/archive-espresso_events.php


Lorenzo


Joren

May 25, 2015 at 10:59 am

Same problem 🙁


Lorenzo Orlando Caum

  • Support Staff

May 26, 2015 at 10:36 am

Hi Joren, I have not seen this issue before so I’m interested to know why this is happening.

Could you provide us with temporary access to the original site or the new site? You mentioned that both are experiencing the same issue so having temporary access to one of them will be helpful. Please also include a temporary SFTP or FTP login so we can try swapping out the templates

https://eventespresso.com/send-login-details/

Thanks again


Lorenzo


Joren

May 26, 2015 at 10:54 am

Sent, thanks


Lorenzo Orlando Caum

  • Support Staff

May 26, 2015 at 12:38 pm

Hi, this should now be working. You can edit the order of the event elements here:

/wp-content/themes/simpleque/template-parts/content-espresso_events.php

is_archive refers to the event listings page.

is_single refers to the single event page.

Thanks


Lorenzo


Joren

May 27, 2015 at 9:30 am

Thanks. I noticed that you moved all of the other content files to an “old” folder. I know I’ll need to make tweaks to them, so when I need to use one do I just put it in the “template-parts” folder to override the default? Or into the theme’s main folder?


Lorenzo Orlando Caum

  • Support Staff

May 27, 2015 at 10:23 am

Hi, the files in the old folder are no longer needed. If you need to reposition the content, then edit the content espresso events file in the template-parts folder.


Lorenzo


Joren

May 27, 2015 at 12:32 pm

I wondered why I didn’t see a response on this one, for some reason it failed to post the comment:

Another problem, calendar add on is enabled, tried adding [ESPRESSO_CALENDAR] both to a page and to a template ( via <?php echo do_shortcode(‘[ESPRESSO_CALENDAR]’);?> ) but there is no output at all.


Lorenzo Orlando Caum

  • Support Staff

May 27, 2015 at 1:27 pm

Hi Joren,

It did post and I split it since it was a new question. We try to focus on a single issue per support post:

https://eventespresso.com/topic/split-events-listcalendar-view/


Lorenzo


Joren

May 27, 2015 at 3:45 pm

Back to the templates then for this one, for example I’d just like to alter the template content for espresso_events-datetimes, how would I do that? I just need to add a couple CSS classes for me to utilize.


Lorenzo Orlando Caum

  • Support Staff

May 28, 2015 at 7:07 am

Alright, try copying that file from the starter templates folder here:

/wp-content/plugins/event-espresso-core-reg/public/Espresso_Arabica_2014

… to your themes folder:

/wp-content/themes/yourthemefolder

Does that work or does it trigger the loading issue that was resolved earlier?

As a sidenote, you may find this resource helpful for understanding how the starter templates work together:

https://gist.github.com/lorenzocaum/0a35fe4997992fdb1dc5


Lorenzo


Joren

May 28, 2015 at 7:16 am

Ah ok never mind, that template file just spits out espresso_list_of_event_dates which I’m assuming is non-editable, so I’ll need to use espresso_event_date_obj to create my own layout I think


Joren

May 28, 2015 at 8:06 am

PERFECT thank you!


Lorenzo Orlando Caum

  • Support Staff

May 28, 2015 at 8:07 am

Hi,

I’ll go ahead and mark this support post as resolved.

If you have a new question, please create a new support post via our support forums:

https://eventespresso.com/support/forums/

Thanks!


Lorenzo

The support post ‘Events List/Calendar View’ is closed to new replies.

Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

Event Espresso