Support

Home Forums Event Espresso Premium messed up URL when clicking on upcoming event

messed up URL when clicking on upcoming event

Posted: June 21, 2014 at 2:40 pm

Viewing 4 reply threads


karen wang

June 21, 2014 at 2:40 pm

Hello,

SOS!

recently we updated some php files and messed up the links on upcoming events.

current: http://zenvillage.org/event-registration/?ee=73%E2%80%9D%3E%20%3Cspan%20class=
should be: http://zenvillage.org/event-registration/?ee=73

our site is zenvillage.org and you will see this problem when you click on any of the upcoming class.

thanks,
karen


Lorenzo Orlando Caum

  • Support Staff

June 21, 2014 at 3:28 pm

Hello,

If you have recently modified any templates, then try reversing your changes. You can find a default version of the templates in this location:

wp-content/plugins/event-espresso/templates

You can then compare these to the files in this location:

wp-content/uploads/espresso/templates


Lorenzo


karen wang

June 22, 2014 at 6:35 am

yes, i did modify some templates.

can you help me to pinpoint which files need to be reversed?
it seems to be the file that provide the URL when you click on any upcoming event.

thanks,
karen


karen wang

June 22, 2014 at 12:49 pm

is there anything wrong with the code below in widget.php? my intention is to show date and time first then the event name.

”> <span class=”widget-event-date”> <?php echo event_date_display($event->start_date,’D M d’) ?> <?php echo event_date_display($event->start_time, get_option(‘time_format’)) ?> </span> – <?php echo stripslashes_deep($event->event_name) ?>

the original code is below.
“><?php echo stripslashes_deep($event->event_name) ?> – <span class=”widget-event-date”><?php echo event_date_display($event->start_date) ?></span>

thanks,
karen


karen wang

June 22, 2014 at 1:44 pm

never mind. i found the problem.

Viewing 4 reply threads

The support post ‘messed up URL when clicking on upcoming event’ 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