Support

Home Forums Event Espresso Premium Event listing has no dates/detail view needs help

Event listing has no dates/detail view needs help

Posted: February 28, 2018 at 9:21 am

Viewing 45 reply threads


dougintexas

February 28, 2018 at 9:21 am

I have sent a support-token request for help with this issue. Please refer to that request for details. Not sure why I need to spell it out again here.


Josh

  • Support Staff

February 28, 2018 at 9:55 am

Hi Doug,

We received your request for priority support and we’ll see what we can do. The reason the support request form asks you to post a topic here is because we can use this topic to follow up.


Josh

  • Support Staff

February 28, 2018 at 10:09 am

Hi Doug,

Can you verify the information and resend the redeem a support token form?

The reason I ask is because the WP username you sent returns an “invalid username” error. Also, the FTP credentials you sent can only access an empty folder on your server. We’ll need to be able to access the site’s wp-content folder. So you’ll either need to change the settings for the FTP user or resend new FTP user info.

Thank you.


dougintexas

February 28, 2018 at 10:26 am

Dang it…I had set up the account but didn’t click on the button to create the user. Try now please


dougintexas

February 28, 2018 at 10:36 am

If I put the FTP info in this thread, is it public?


Josh

  • Support Staff

February 28, 2018 at 10:38 am

I’m afraid the log in still returns “ERROR: Invalid username”


Josh

  • Support Staff

February 28, 2018 at 10:39 am

Please do not post the FTP info to this thread. You can resubmit the form by going to your account page where you’ll see a link to submit the redeem a support token form.


dougintexas

February 28, 2018 at 10:51 am

All right, I resubmitted everything. This is absolutely the most convoluted way to communicate! I think I entered the wrong password. Use “EEAdminPW01” on the WP admin


dougintexas

February 28, 2018 at 12:00 pm

I see you’re trying again. This is the MOST screwed up system for communicating.


dougintexas

February 28, 2018 at 12:02 pm

Just change the PW after you get in.


Josh

  • Support Staff

February 28, 2018 at 12:08 pm

Hi Doug,

I’m afraid the passwords you’ve sent and the other FTP information you sent are also invalid. I’ve gone through combinations of what you sent earlier (cycled through all 3 different FTP usernames for example). You can insure that you’re sending the correctly information if you copy and paste the username and password from your clipboard to the form.

Thank you.

We can get started on this once we receive the correct information.


Josh

  • Support Staff

February 28, 2018 at 12:12 pm

I’m logged into the WP admin. Please do not post this info to the forums.

The reason we have a secure form for sending this information is because it’s really the only reliable way to delete the information when we’re done.

If this information gets sent via email or (worse yet) posted here to the forums it’s not an easy task to wipe the information out of existence, and we cannot rely on people to delete or change passwords when we’re done.


dougintexas

February 28, 2018 at 12:12 pm

I am sending it all over again.


dougintexas

February 28, 2018 at 12:18 pm

I swear…this is the WORST communication I’ve ever had with a support ticket sytem on ANYthing I’ve done in 20 years. It’s ridiculous that you don’t have chat client that you can use to communicate.


dougintexas

February 28, 2018 at 12:22 pm

Meanwhile, I’m sitting here WAITING to see if you got the updated info and if it works. We could have solved all of this two hours ago but for the back and forth I have to do through the token system. It’s rediculous!


Josh

  • Support Staff

February 28, 2018 at 12:38 pm

Doug,

We actually have chat clients available but they’re not ideal for sending information securely. The reason that we use a support token form is because it’s secure and we can quickly wipe that information from existence. We cannot do that when the information ends up on a third party hosted chat server.

For future reference, you can send the correct information the first time if you 1) Test the information first and 2) Use copy and paste when you gather and submit the information.

I’ll see what I can do with the WP admin information alone. Some of your requests will require file access but I’m not sure if we’ll be able to get the correct information to access the files. Another option would be you can send a zipped copy of your WordPress theme to support@eventespresso.com and we can put together a child theme with your requested modifications.


dougintexas

February 28, 2018 at 12:49 pm

I copied and pasted the info from my FTP client EXACTLY as it appears


dougintexas

February 28, 2018 at 12:50 pm

I don’t understand why this has to be so damn difficult.


Josh

  • Support Staff

February 28, 2018 at 12:56 pm

Doug,

Which time was that when you copied and pasted? The reason I ask is because the FTP info was different each time.

Anyway, wrt to ticket selector quantity field, here’s how you set the Qty to be 1:

https://slack-files.com/T02SY781D-F9FR540M6-4e364392ec

wrt this:

Clean up the ticket selector on my details view so that it gets out of the table!

May I ask can you get a screenshot showing this? You can upload the screenshot to your site’s Media library and we’ll be able to see it.


dougintexas

February 28, 2018 at 1:29 pm

The file is uploaded to media. The ticket qty is correct now. Thank you. I asked on an earlier support request about the event dates not showing up in the listing. I was told to switch themes and see if they dates appeared. They do appear. But I don’t want to use that theme. I want to use the Theme I’ve already finessed- Unicon. The event date doesn’t appear in that listing. I don’t mind updating a template in the child theme but I have no idea how to display the date.


Josh

  • Support Staff

February 28, 2018 at 1:37 pm

If we can download a copy of your finessed- Unicon theme we can put together a template for you that will include the event date. A public Dropbox link posted here will be the quickest way to make that theme available to Event Espresso support.


dougintexas

February 28, 2018 at 1:43 pm

Thank you, Josh. I will drop both the parent and child themes into a drop box.


dougintexas

February 28, 2018 at 2:06 pm

Here’s the dropbox folder with the themes:
https://www.dropbox.com/sh/c56wa856apwzwxf/AAB9VQekxNUkYP82DudEw7Z4a?dl=0

I’ve also uploaded a sketch of the event listing page and the event page into that folder and the Media of the site.. I can work out the CSS but the layout elements are inaccessible to me.


Josh

  • Support Staff

February 28, 2018 at 2:08 pm

Sounds like a plan. I’m having a bit of trouble understanding what you mean by “gets out of the table!”, but I did apply a bit of CSS to the ticket selector to help align the quantity selector cell so it looks like this now:

https://slack-files.com/T02SY781D-F9GKYHBHB-057ad874c4

Is that what you were looking to do? If not can you explain a bit more?


dougintexas

February 28, 2018 at 2:26 pm

Thanks Josh, I’d like to have a simple selector with the button next to it rather than below it in another row.


Josh

  • Support Staff

February 28, 2018 at 2:29 pm

On small screens too or only on large enough screens where moving the button will actually fit over there?


dougintexas

February 28, 2018 at 2:30 pm

It can break down to the next line in that case.


dougintexas

February 28, 2018 at 2:40 pm

And to be honest, once I see the revised php file in the child theme, I think I can manipulate the layout enought to get what I wan’t. I just don’t know where to go under the hood copy the files I need to modify into the child theme.


Josh

  • Support Staff

February 28, 2018 at 3:50 pm

You can upload this file to your child theme:

https://gist.github.com/joshfeck/17aa50fb18fabdd3c562f944498ae7ff

Please be sure to name the file archive-espresso_events.php


dougintexas

February 28, 2018 at 4:25 pm

Josh, I put the file in the child theme (themes/unicon-child/archive-espresso_events.php). The list is using that file as far as I can tell but I’m not seeing dates. Should I be seeing dates at this point?


Josh

  • Support Staff

February 28, 2018 at 4:38 pm

Yes you should see dates at this point.


Josh

  • Support Staff

February 28, 2018 at 4:45 pm

I see what’s going on. You’re using CSS to hide the .entry-meta div:

https://slack-files.com/T02SY781D-F9HLCPRUP-52f6ca0195

Feel free to change the class name on line 29 of the template:

https://gist.github.com/joshfeck/17aa50fb18fabdd3c562f944498ae7ff#file-archive-espresso_events-php-L29


dougintexas

March 1, 2018 at 9:35 am

Thank you Josh. Is there someplace in the documentation that lists all of the elements that can referred to by the logic you’re using here? <?php if(function_exists(‘espresso_next_upcoming_datetime’))

If I knew what the objects were I could perhaps call them in where I need them.


Josh

  • Support Staff

March 1, 2018 at 9:51 am

@dougintexas,

The logic there is actually a just a little safeguard I added there just in case you happened to downgrade to an earlier version of Event Espresso 4.

The best place to look for other tags is right within the plugin’s /public/ folder. There you’ll see a template_tags.php file which has all of the template tags. The same folder has a WordPress child theme example which makes use of the various template tags.

Also, since Event Espresso events are custom post types, native WordPress template tags can be used. e.g. the_post_thumbnail() and the_post_thumbnail()


dougintexas

March 1, 2018 at 10:59 am

Josh, again thanks. I’m trying to format the dates that appear on the listing so that they look good in a button. I’ve done the following: <?php `if(function_exists(‘espresso_next_upcoming_datetime’)){
espresso_next_upcoming_datetime( ”, ‘M d’, $post->ID, true);
} ?> `

I added ‘M d’ to the date object but it ends up rendering “Next Class March 24, 2018 Mar 24”. I want to loose the full date (March 10, 2018) and use Mar 10.


Josh

  • Support Staff

March 1, 2018 at 11:06 am

That should actually be:
espresso_next_upcoming_datetime( 'M d', ' ', $post->ID, true);
because the order of the parameters is significant.


dougintexas

March 1, 2018 at 2:59 pm

Thanks Josh….so I think I’m down to one last set of questions:

1. Is it possible for me to customize the table that displays the ticket info on a given event (beyond CSS tweaks).
2. If it is possible, where do I find the .php file that contains the code that controls that layout?
3. Do I simply copy that code into my Child Theme and have it work with the mods?

And finally, if the above questions apply to that table, where is the code that displays the upcoming events down the right side of this page: http://aestrainstitute.com/training/pdo-thread-lift-intro/

Once I know where to go to make these mods, I’m done!


Josh

  • Support Staff

March 1, 2018 at 3:37 pm

We actually do not recommend making direct edits to the templates that display the ticket info. The code accounts for a wide range of scenarios and goes through changes with new releases of Event Espresso 4, so it would be a lot of work for you to maintain going forward. If there’s something specific you need changed within the markup, if you can specify exactly what that is there may be a way to change that via a filter hook.

The upcoming events widget can be customized by loading up a custom widget within its own plugin. For example, you can take the PHP code from this gist:
https://gist.github.com/joshfeck/27a285c4285a6c986053
put it into a file in your site’s wp-content/plugins/ directory, then activate it on the WP > Plugins page. You can customize the code within that file’s widget() method and your changes will not get overwritten on plugin updates.


dougintexas

March 1, 2018 at 5:57 pm

So I did as you suggested and installed the plug-in widget. Now, on any event page, I no longer see the “upcoming events” going down the right side of the page. If I comment out the bit on lines 21-25 the default listing comes back, so I know this is being seen.


dougintexas

March 1, 2018 at 6:05 pm

That upcoming event listing should be going down the right side of this page: http://aestrainstitute.com/training/autologous-fat-grafting-for-volumizing-the-aging-face/


Josh

  • Support Staff

March 1, 2018 at 6:19 pm

The plugin that adds the custom widget actually removes the built in widget. So you’ll need to activate the custom widget on your WP > Appearance > Widget page before it will appear.


dougintexas

March 1, 2018 at 6:31 pm

Then, just to be clear, I can modify the code in that plug-in (mindful to keep an untouched back-up) and it won’t be affected with later updates?


Tony

  • Support Staff

March 2, 2018 at 2:28 am

Hi there,

Yes you can modify the code used in Josh’s plugin to suit your needs, updating Event Espresso will not effect that plugin.


dougintexas

March 2, 2018 at 10:18 am

Thank you Tony. One last question and I’m done. I was able to make the sidebar on the course details page look like I want it to, with one exception. It appears that there are little right-angle-brakets (>) next to each element. I can’t see where they are being included in either the code or the CSS. They do change colors on hover. How do I get rid of those? After that, I’m done.


dougintexas

March 2, 2018 at 10:19 am

heres a link to the page mentioned above http://aestrainstitute.com/training/pdo-thread-lift-intro/


Josh

  • Support Staff

March 2, 2018 at 10:45 am

Hi Doug,

The little brackets are added by your “Unicon” WordPress theme. Here’s a screenshot of Dev tools:
https://slack-files.com/T02SY781D-F9HSPDZ29-ee632887ba

You can add something like this to your child theme’s stylesheet to override those:

#sidebar .widget ul li:after{
content:none;
}
Viewing 45 reply threads

The support post ‘Event listing has no dates/detail view needs help’ 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