Support

Home Forums Event Espresso Premium Making Entire Table Hyperlinked

Making Entire Table Hyperlinked

Posted: September 1, 2017 at 2:22 am

Viewing 1 reply thread


Peter

September 1, 2017 at 2:22 am

Hi there,

I have a table showing the upcoming course dates in EE4 on my website. Currently, only the “Register” is hyperlinked. All the info (event name, venue location, spots left, date) are all just text. Is there a way to make the entire contents of a given row (all fields) bold-and hyperlink that text the same way “Register” currently does?

Thanks!


Tony

  • Support Staff

September 1, 2017 at 4:49 am

Hi Peter,

An entire row as a href (link) isn’t valid HTML, so whilst it is possible to do it’s not valid and will likely act differently in different browsers.

What you could do is alter the template to add a data attribute to the row and then use jQuery to make the whole row clickable. You’ll likely also need to style the row so it all looks like a link.

An example of doing that is available here:

https://stackoverflow.com/questions/17147821/how-to-make-a-whole-row-in-a-table-clickable-as-a-link

If unsure I’d recommend contacting a developer and have them implement this for you, we have some familiar within Event Espresso here:

https://eventespresso.com/developers/event-espresso-pros/

Viewing 1 reply thread

The support post ‘Making Entire Table Hyperlinked’ 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