Support

Home Forums Event Espresso Premium EE 4.2 goes on sale dates and price in Event list shortcode

EE 4.2 goes on sale dates and price in Event list shortcode

Posted: April 26, 2014 at 10:44 am

Viewing 10 reply threads


Gabriel Solano

April 26, 2014 at 10:44 am

hello
i have to two part question.

1. when i create a new event and set the goes on sale dates and time, it all looks well until i update event and “Sell until time reverts to same day as goes on sale date. (see pic attached) https://dl.dropboxusercontent.com/u/717985/Edit_Evento_gab213.jpg

2. how can i get the [ESPRESSO_EVENTS] shortcode to also list the Venue or at least the price of the event?

Versión de WordPress:
3.8.3
Versión de PHP:
5.4.17
Versión de MySQL:
5.5.35
Event Espresso Version:
4.2.2.reg


Dean

April 27, 2014 at 11:56 pm

Hi,

1) That’s unusual. Can I ask what date and time formats you have set in the Settings > General page (WordPress options)?

2) You would need to copy the /templates/content-espresso_events.php to your theme folder and edit it.

For an example, after where it says

(line 39 approx), you can add in new template parts (copied from above) to show more information.

E.g. http://take.ms/B6Lnc


Gabriel Solano

April 28, 2014 at 2:40 am

hi thanks for the reply

1. see screenshot for date and time settings
https://dl.dropboxusercontent.com/u/717985/Ajustes_generales.jpg

2. thanks will this and get back to you.


Gabriel Solano

April 28, 2014 at 2:59 am

2. ok tried it but i still dont get
a. Venue Name and Link
b. Price of the Event.

<code>&lt;div class=&quot;espresso-event-list-wrapper-dv&quot;&gt;	
		&lt;?php espresso_get_template_part( &#039;content&#039;, &#039;espresso_events-details&#039; ); ?&gt;
		&lt;?php espresso_get_template_part( &#039;content&#039;, &#039;espresso_events-datetimes&#039; ); ?&gt;	
		&lt;?php espresso_get_template_part( &#039;content&#039;, &#039;espresso_events-venues&#039; ); ?&gt;
		&lt;?php espresso_get_template_part( &#039;content&#039;, &#039;espresso_events-tickets&#039; ); ?&gt;
			
	&lt;/div&gt;
</code>

see screenshot
https://dl.dropboxusercontent.com/u/717985/eventlist_details.jpg

Will send login/pswd for Wp admin in private message


Gabriel Solano

April 28, 2014 at 3:04 am

**Removed**

  • This reply was modified 10 years, 7 months ago by Tony. Reason: Removed detaisl from public forum


Dean

April 28, 2014 at 5:01 am

Hi,

1) I can see the issue on your site, but I cannot replicate it on my test sites. Can you try troubleshooting? disable all plugins except EE and see if the date issue works then. If not, try with a default theme such as Twentytwelve.

2) I looked but it doesn’t seem that you have copied the template file over.


Gabriel Solano

April 28, 2014 at 11:49 am

hi as for no. 2

i’m confused i have in the EE 4 plugin folder a /templates/Espresso_Arabica_2014 and there i find the content-espresso_events.php file, is this corrrect?

— i’m using a child theme, should i copy files over to the parent theme or the child theme? right now these 3 files are in the
child theme root directory
content-espresso_events-venues.php
content-espresso_events-tickets.php
content-espresso_events.php

https://dl.dropboxusercontent.com/u/717985/ForkLift.jpg
(my ftp folder structure)


Josh

  • Support Staff

April 28, 2014 at 1:20 pm

Hi Gabriel,

It turns out that PHP cannot parse d/m/y, but it can parse d-m-y. Can you try setting your WP Date settings to d-m-y instead?

When you use a child theme, you copy any templates that you want to modify from the Espresso_Arabica_2014 folder to your child theme. If you copy them to the parent theme you will lose the templates when you update the parent theme.


Gabriel Solano

April 30, 2014 at 5:16 am

ok great

1. did the d-m-y in the custome setting but now i get the On Sale until End date going to 2024 or 2030?

2. my custom EventsList is looking better but still need help with php i think
how i’d like to have it:
https://dl.dropboxusercontent.com/u/717985/desired-event-details.jpg

how it is now:
https://dl.dropboxusercontent.com/u/717985/event-details%20now.jpg


Josh

  • Support Staff

April 30, 2014 at 12:54 pm

Hi Gabriel,

Please make sure you have the very latest build of Event Espresso 4.2 (currently 4.2.3)

With the event list, there are some new settings in EE 4.2 that you can use to hide/show the ticket selector and venues in Event Espresso > General Settings > Template Settings.

The time display isn’t user configurable though, and I’m not sure what you’re looking to do from the screen shots you’ve posted. Are you looking to remove the end date display?


Gabriel Solano

May 5, 2014 at 1:35 am

im looking to get a more minimal looking view for front page only like this screen shot
https://dl.dropboxusercontent.com/u/717985/desired-event-details.jpg

2nd part of my question:
can i use Views to modify the new CPT EE4 format to get what i want as per the above screenshot?

http://wp-types.com/home/views-create-elegant-displays-for-your-content/


Dean

May 5, 2014 at 2:46 am

Hi Gabriel,

You can turn off the ticket selector via the General Settings > Templates tab. That will get you something similar to what you want, but obviously dependant on your theme. It may still require some CSS tweaks.

We have not tested Event Espresso with the Views plugin, so we cannot advise if it will work or not.

Viewing 10 reply threads

The support post ‘EE 4.2 goes on sale dates and price in Event list shortcode’ 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