Skip Navigation

[Resolved] Integration with Amelia plugin

This support ticket is created 2 years, 7 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 -
- 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 14:00 – 18:00 13:00 – 18:00 -

Supporter timezone: America/Jamaica (GMT-05:00)

This topic contains 4 replies, has 2 voices.

Last updated by lesleyA 2 years, 7 months ago.

Assisted by: Shane.

Author
Posts
#2365997

Tell us what you are trying to do?
I have been using Toolset to build my website, creating CPT and templates along the way. My customer has decided that she would like to use the "Amelia" plugin to add appointment booking. It all looks great, but I have a an issue that isn't solvable via Amelia, but might be via Toolset. I need to decide if this is the case and hoping you can advise me in which direction to proceed.

When an employee is added in the Amelia plugin they are automatically assigned an ID.
Using the ID, one can create calendars and bookings for each employee. On my template I'd like to be able to add functionality so that the employee-specific calendar is displayed.
The shortcode for Amelia isn't going to work because it has the ID in it already. Here is an example of an Amelia shortcode:

[ameliabooking employee=1] if you want to show the booking form for the employee with ID 1

So I need the ID to be called into the code according to the specific employee that the user is currently viewing.

Do you think this is possible?

Is there any documentation that you are following?

Is there a similar example that we can see?

What is the link to your site?

#2366045

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Lesley,

Thank you for getting in touch.

Is the Employee ID the same as the user id ? Secondly does the [ameliabooking employee=1] shortcode accepts another shortcode as a parameter ?

If it doesn't then we won't be able to achieve the goal. My advice here is to get in touch with the amelia bookings team and check with them to see if you can use a shortcode as a parameter. This way its possible to dynamically provide the shortcode with the employee id.

Thanks,
Shane

#2366057

Is the Employee ID the same as the user id ?
Unfortunately not. But I can "map a wordpress user to an employee".

Secondly does the [ameliabooking employee=1] shortcode accepts another shortcode as a parameter ?
Would that be shortcode inside shortcode? I think it might do as I have seen a limited number of others creating shortcodes for Amelia.

I will ask Amelia about this.

Thanks Shane!

#2368037

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Leslie,

Any updates on this one ?

Please let me know.

Thanks,
Shane

#2368065

My issue is resolved now. Thank you!