Support

Home Forums Event Espresso Premium [EVENT_LIST] vs [ESPRESSO_EVENTS]

[EVENT_LIST] vs [ESPRESSO_EVENTS]

Posted: November 5, 2013 at 12:32 pm


Matt Paul

November 5, 2013 at 12:32 pm

What is the difference with these shorcodes?
When I look in the template folder I do not see a template for [ESPRESSO_EVENTS]
Where can I get clear information on it.

THe only thing I can find when searching is the following:

Attention:
The [EVENT_LIST] shortcode should not be used as a replacement for the [ESPRESSO_EVENTS] shortcode. Replacing the [ESPRESSO_EVENTS] shortcode will break your registration pages.

Thank you.


Josh

  • Support Staff

November 5, 2013 at 1:48 pm

Hi Matt,

At this time [ESPRESSO_EVENTS] pulls in all of the templates as it processes through the registration and payment pages. [EVENT_LIST] displays only the event list.


Matt Paul

November 5, 2013 at 2:15 pm

“pulls in all of the templates as it processes through the registration and payment pages.”

Thanks but still don’t understand is there more documentation on it? Is there an example of when and where it would be used?


Josh

  • Support Staff

November 5, 2013 at 2:35 pm

Hi Matt,

It’s the page that processes the event steps. When you activate Event Espresso for the first time it adds it to one page, and that’s the page that handles everything from registration through payment. It’s used on only that one page. It’s not documented like the other shortcodes because it’s not optional, it doesn’t accept parameters, and is only used on one page.


Matt Paul

November 5, 2013 at 3:17 pm

there is no other documentation on it? I am really confused.

would more information be espresso set up? I just don’t understand where it would be used or where I need it on the site. It sounds to be foundational to the plugin and I want to understand it more. I search on the net and all it does is talk about it in the shortcode reference. That page you and I referenced – does not give me any detail on it.


Josh

  • Support Staff

November 5, 2013 at 4:07 pm

Hi Matt,

We don’t provide documentation for it because it’s not something that we recommend tinkering with and almost 90% of Event Espresso’s functionality on the front end of the website runs through that shortcode. It is used on the Main Registration page where people register for events. It’s required to be on the page that is set to be the Main Registration page, that’s the one place where it’s used. Without it on a page, Event Espresso doesn’t function.

I hope that clears things up. If not, what details are you looking to learn about the shortcode? Have you looked into the code?


Matt Paul

November 5, 2013 at 7:29 pm

Okay now it is starting to make sense. That is what I was looking for – but isn’t there a best practice document.

Such as:
1.where to put it in the hierarchy of the site or section. For example: if you look at mattpaulsports.com right now – and you go to the primary navigation menu. You will see Register for Programs – it takes you to a black page. When I go to the edit – the person doing the site prior – has the [raw]ESPRESSO_EVENTS[/raw]

Other Questions:

2.Do I need that page actually clickable on the site – that is the question I have.

3.The raw tags are not an event espresso thing – that is probably a theme thing?

My goal is to have sections/categoies of event lists:

Locations ie.
Programs – All Locations
Chestnut Hill Programs(events)
Center City Programs

So when they click on Register for Programs – it will go to Programs All Locations – not a blank [ESPRESSO_EVENTS] page holder.

I am not trying to manipulate the actual code – I just want to understand it so I get my content structure and interface where it needs to be.

So saying that – last couple of questions.

4. Can I just create a page like “Espresso Events holder page” not have it in any of the navigation. And design the way I described above?

As I write this I found this https://eventespresso.com/wiki/the-basic-settings/

5. So all you need to do is have the page created in wordpress and the shortcode takes care of from there – it does have to appear anywhere on the site as far as the user sees?

6. I wonder why the last person has the page blank like that- so that is not needed?

Thanks for your help.

Jamie


Tony

  • Support Staff

November 6, 2013 at 2:01 am

Hi Matt,

1) Usually the hierarchy of the site generally should not matter. We create the pages as top-level but you can alter this to however you need.

The page you mention here which contains [raw]ESPRESSO_EVENTS[/raw] shortcode is actually outputting all the Events which have been created with Event Espresso (EE) but with in-line styling of display: none.

2) Yes, the core EE pages must be published and public in order for EE to work correctly.

3) Yes that is correct, Raw tags are not a part of EE and usually a theme ‘feature’.

4) Yes you can. But why not incorporate the page into the site? To expand on what Josh posted:

[ESPRESSO_EVENTS] is the core EE page which handles most of the functionality, by default it displays a list of all events (so in your case can be used as the ‘Programs – All Locations’ page) it is required but can still be used.

[EVENT_LIST] is there to allow you create the other customised event lists, lets say a list of events all in category ‘Chestnut Hill’, that could be [EVENT_LIST category_identifier=”chestnut_hill_identifier”] which will only display events within that category.

5) It needs to be publicly visible, but the users do not need to see it. As in it must be published and public but does NOT have to be included on any Nav Menus.

6) They have purposefully removed the list from that page, I’m guessing they did not like the layout of the list, as the current pages are very different from the default event list. They are currently using the espresso_table to display the events.

What I would do is fix the ‘Register for programs’ so it actually displayed the events. That page would contain the [ESPRESSO_EVENTS] shortcode & will display all the Events.

Create a child page ‘Chestnut Hill Programs’ of ‘Register for programs’
This page would contain [EVENT_LIST category_identifier=”chestnut_hill_identifier”]
This would then only display event from that category.

Finally another child page with [EVENT_LIST category_identifier=”center_city_identifier”]

This keeps all events easily accessible from the main page and each locations events can also be found within their respective pages, if you wish to add more locations just create more child pages with their own category.

Does that make sense?


Neal Otto

November 7, 2013 at 8:55 pm

Hello, not sure if this is correct. Based on my understanding, we only need to have one page containing [ESPRESSO_EVENTS] and this has to be specified as the main registration page under Page Settings.

I also created another page containing [EVENT_LIST] which works fine.
http://www.jump-start.com/event-registration/

However when you click on the REGISTER buttons, it goes to this page:

http://www.jump-start.com/event-registration/?ee=388

Which shows the raw code [ESPRESSO_EVENTS]. Anything that I need to do or any step that I missed?

Thanks.


Tony

  • Support Staff

November 8, 2013 at 2:46 am

Hi Neal,

Based on my understanding, we only need to have one page containing [ESPRESSO_EVENTS] and this has to be specified as the main registration page under Page Settings.

Yes that’s correct.

I also created another page containing [EVENT_LIST] which works fine.
http://www.jump-start.com/event-registration/

Unless you’ve changed the [ESPRESSO_EVENTS] page, that would be the default page. It looks like your custom event list page is:

http://www.jump-start.com/class-sign-up/

Is that not the case?

If you go to Event Espresso -> System Status. Then look under ‘Registration Pages’. Are the url’s for each page green?

Also if http://www.jump-start.com/event-registration/ is the [ESPRESSO_EVENTS] page in use, it is being served as a cached page.

<!-- Cached page generated by WP-Super-Cache on 2013-11-07 19:52:56 -->

You’ll need to exclude Event Espresso’s pages from caching in order for EE to work correctly. If you look under Event Espresso -> General Settings. Then page ‘Page Settings’.

You want the ‘Main registration page’, ‘Auto Return URL (Thank You and Return Payment page)’ & the ‘Notify URL’ pages set on the do not cache list.

By default these are ‘event-registration’, ‘thank-you’ & ‘transactions’ although you need to find the page slug for each if you have changed any. Then add these to WP-Super-Cache’s do not cache list.

This if from W3 Total Cache although it should be similar http://d.pr/i/MxBa


Matt Paul

November 8, 2013 at 12:46 pm

Thank you for the answers- this thread should help out tremendously
I will let you know if I have any issues but feel more clear now.


Neal Otto

November 8, 2013 at 11:30 pm

Hi Tony –

My custom event list page is
http://www.jump-start.com/class-sign-up/

Main registration page (not really being used) where the code [ESPRESSO_EVENTS] is added is:
http://www.jump-start.com/event-registration/

However, when I click on REGISTER button from this page:
http://www.jump-start.com/class-sign-up/

It redirects to the main event registration page which is:
http://www.jump-start.com/event-registration/ but it only shows the shortcode [ESPRESSO_EVENTS]. So it doesn’t seem to be working or am I missing a step?

Yes, all the pages are in green under system settings.

Yes, I added the event-registration, transactions, thank-you under do not cache list.

This used to work before, by the way but we disabled the plugin for some time and re-enabled it.

THank you so much.


Tony

  • Support Staff

November 11, 2013 at 3:17 am

@matt Paul,

No Problem πŸ™‚

@Neal Otto,

Is it possible for us to take a look and investigate this further?

If so please send log in details using https://eventespresso.com/send-login-details/

*Please not Log-in details must be admin level & ftp details are appreciated.


Neal Otto

November 11, 2013 at 7:00 pm

Got it. I will send asap!


Tony

  • Support Staff

November 12, 2013 at 12:58 am

Hi Neal,

I logged in and created another Page for your main event-registration

http://www.jump-start.com/registration/

This page contains only [ESPRESSO_EVENTS] and is set to the ‘Main Registration Page’ in Event Espresso -> General Settings and works.

Sometime this can happen with the default page, you could delete the current event-registration page and recreate it with the same page slug etc if you want to or leave it with the one above.

Also the version of EE crrently installed on the site is 3.1.30.4 which is rather old now, I would recommend upgrading to the latest version (currently 3.1.35.2)

Make sure you have full site backup first, just in case.


Neal Otto

November 12, 2013 at 7:16 pm

Thank you very much, Tony. It seems to be working well now! Just need to set up the payment system. Thanks again.


Tony

  • Support Staff

November 13, 2013 at 1:42 am

No Problem Neal πŸ™‚

The support post ‘[EVENT_LIST] vs [ESPRESSO_EVENTS]’ 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