Support

Home Forums Community Forum EE4 Table View add-on: click on event title to register

EE4 Table View add-on: click on event title to register

Posted: January 8, 2015 at 1:13 pm


Jonathan

January 8, 2015 at 1:13 pm

I think people’s tendency is to click on the title of something to find out about it, so having to scan across to click on the word “Register” is not ideal. I know I shouldn’t edit the core but this is something simple which may assist others who have the same opinion. I wonder if it could possibly be an option in the next version.

In espresso-events-table-template.template.php change:


<td class="event_title event-<?php echo $post->ID; ?>"><?php echo $post->post_title; ?></td>

to


<td class="event_title event-<?php echo $post->ID; ?>"><?php echo ''.$post->post_title.''; ?></td>


Jonathan

January 8, 2015 at 1:15 pm

I meant this to be the “to” code, sorry:

<td class="event_title event-<?php echo $post->ID; ?>"><?php echo ''.$post->post_title.''; ?></td>


Jonathan

January 8, 2015 at 1:19 pm

Weird. I’ll try again but replace out the tag symbols.

*LT*td class="event_title event-*LT*?php echo $post-*GT*ID; ?*GT*"*GT**LT*?php echo '*LT*a href="'.$registration_url.'"*GT*'.$post-*GT*post_title.'*LT*/a*GT*'; ?*GT**LT*/td*GT*

This really wasn’t worth clogging up your forum with ๐Ÿ™‚


Dean

January 9, 2015 at 2:10 am

Thanks for posting that and sorry about the syntax highlighter, it has a mind of its own… which is why we often post code snippets to Github Gists or Pastebin.

The support post ‘EE4 Table View add-on: click on event title to register’ 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.

If you would like help from the Event Espresso staff, then please purchase a support licenseย right now so you can create a support topic in our premium support forums.

Status: closed

Updated by  Dean 4 years, 5 months ago ago

Topic Tags

Notifications

This topic is: not a support question
Do NOT follow this link or you will be banned from the site!