Support

Home Forums Event Espresso Premium ESPRESSO_TABLE and EE_META display issues

ESPRESSO_TABLE and EE_META display issues

Posted: November 21, 2013 at 5:15 pm

Viewing 5 reply threads


Tony

November 21, 2013 at 5:15 pm

WP 3.6.1
EE Version 3.1.35.2.P (new installation)
I would rather not give out the link. Can send privately.

I’m having some issues with a couple things.

I’ve customized the espresso_table.php page (uploads/espresso/templates – I have the custom files installed). I’ve created a new page so that I can use ESPRESSO_TABLE shortcode as to not break the main registration page.

1) Now my meta entries are not showing up (since moving this to a new page from the main registration page). Here is an example of the code I have to display a meta entry:
<?php echo do_shortcode('[EE_META type="event_meta" name="knowledge_base"]'); ?>

2) I would like the course title to link to its own page where more details are given. I’ve looked through the forums but cannot find that code.

Please let me know if you need more information and where I should send the URL of the site registration page.


Tony

November 21, 2013 at 5:36 pm

Alright, update. I found a forum post that helped me display the meta. It was the added event_id in the shortcode:
event_id="'.$event->id.'"
AND
adding the code to line 91 of the espresso table:

<code>global $event_meta;
 $event_meta = unserialize($event-&gt;event_meta);</code>

Now all I need help with is getting the course title to be linked to its main detailed page/post/event.


Tony

November 21, 2013 at 5:37 pm

Oh and the link of the forum topic I found was here:
https://eventespresso.com/topic/ee_meta-not-working-in-various-templates-how-to-make-dropdown-ee_meta-values/


Tony

November 21, 2013 at 5:38 pm

Please remember that
>
needs to be deleted and you need to enter the greater than symbol.
>


Dean

November 22, 2013 at 7:05 am

Hi Tony,

“I would like the course title to link to its own page where more details are given. I’ve looked through the forums but cannot find that code.”

I am assuming you mean to the single registration page? Or do you mean to a normal WordPress post?

If the registration page you can use this:

<?php echo '<a href="'.get_option('siteurl').'/?page_id='.$event_page_id.'&regevent_action=register&event_id='.$event->id.'&name_of_event='.stripslashes_deep($event->event_name).'">' . $event->event_name . '</a>'; ?>


Tony

November 22, 2013 at 8:58 am

Thank you so much! That did the trick.

Viewing 5 reply threads

The support post ‘ESPRESSO_TABLE and EE_META display issues’ 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