Support

Home Forums Event Espresso Premium Getting People Admin listings to display on events

Getting People Admin listings to display on events

Posted: August 6, 2020 at 8:10 am

Viewing 9 reply threads


SmartPrep

August 6, 2020 at 8:10 am

Hi there.

With the People Admin add-on, should the selected staff members be automatically displayed on the event pages that they are assigned to, or is there a step I missing?

We run workshops and want the speakers/instructors to appear on the event pages, but I am struggling to do this.

You assistance would be greatly appreciated.

Thanks


Tony

  • Support Staff

August 6, 2020 at 10:27 am

Hi there,

With the People Admin add-on, should the selected staff members be automatically displayed on the event pages that they are assigned to, or is there a step I missing?

Yes, ‘People’ assigned to the event should show up in the content automatically, here’s a quick example:

https://monosnap.com/file/TIyk5Y8ieF6xkb1YnwQeXP4ClDWLy1

That’s just from me creating a ‘person’ for myself and assigning it as staff on the event.

We run workshops and want the speakers/instructors to appear on the event pages, but I am struggling to do this.

Can you link me to an event that has people assigned to it so I can take a look?


SmartPrep

August 7, 2020 at 4:01 pm

Hi Tony

Please see the following link: https://smartprep.co.za/workshops/microeconomics-1-online-test-prep-workshops-3/

One of our instructors has been assigned to this event (see attached screenshot*). Tickets are expired, but I’m just using it as a tester. I assume it should still work on events with expired tickets?

* https://imgur.com/tTI1JnO


Tony

  • Support Staff

August 10, 2020 at 9:12 am

Are you loading your own single-espresso_events.php template file from within the theme?


SmartPrep

August 10, 2020 at 3:10 pm

As far as I know, yes. It was set up by one of my colleagues some time ago, but I think that is the case. Is there some code I can add to the file to make it display?

Thanks


Tony

  • Support Staff

August 12, 2020 at 7:26 am

You need to call the eea-people-addon/public/templates/content-espresso_events-people.php template into the template. EE does that automatically if you aren’t using your own single-espresso_events.php but if you are it is assumed you are taking full control over the output.

One option is to do something like this:

EE_Registry::instance()->load_helper('Template');
EEH_Template::locate_template('content-espresso_events-people.php', array(), true);

Within the template itself, that should call the template and output ‘people’ for the event.

If not, I’ll need to see the theme files to give you a more specific example.


SmartPrep

August 13, 2020 at 2:05 pm

Unfortunately that bit of code didn’t work. My PHP skills are limited, so it’s possible I was implementing incorrectly. Could you assist further via FTP?


Tony

  • Support Staff

August 14, 2020 at 5:34 am

Sure, if you’d like to purchase a support token we can do this for you:

https://eventespresso.com/product/premium-support-token/

It depends on what your custom template is doing on exactly what (and where) code needs to be added.


SmartPrep

August 19, 2020 at 3:52 am

I have purchased a premium support token. Thanks


Tony

  • Support Staff

August 19, 2020 at 5:22 am

Just noting we have received your support token and replies directly via email.

Please follow up there and we’ll get this added for you.

Viewing 9 reply threads

The support post ‘Getting People Admin listings to display on events’ 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