Microtango

from 0$

Microtango is a WP Plugin Package from the Open Source WP Plugins range Microtango WP integration. Requires subscription from DMS. Will include the Microtango REST API to show…


For more information about a tailored WP Plugin Package like Microtango please contact us directly.

Microtango WP integration. Requires subscription from DMS. Will include the Microtango REST API to show your cloud data.

Features include:

  • Install four shortcodes: mt_courses, mt_reservation, mt_video and mt_form.

Usage:

[mt_courses]
or
[mt_courses webcategory=”WTP2″]
or
[mt_courses webcategory=”WTP1″]Kursname|{{Subject}}{{Name}}#Tag / Zeit|{{StartWeekdayText}} {{Timespan}}#Startdatum|{{StartDateText}}#|{{AttendButton}}[/mt_courses]

[mt_reservation]

[mt_video]
or
[mt_video videogroup=”GK”]

mt_courses parameter:

  • mtattendform (optional): If set, the mt build form will be used fo attendance. Possible values: popup (default) or standalone
  • webcategory (optional): Webcategory filter
  • templateid (optional): Id of html template
  • category (optional): Category filter
  • attendurl: Url for the attend form

Content [mt_courses] … [/mt_courses]: The content of the courses table in the format Column title | {{FieldName}}#Column title | {{FieldName}}
Default:
Kurs|{{Subject}}#Start|{{StartDateText}}#Von|{{Timespan}}#Stunden|{{RepeatCount}}#Verfügbarkeit|{{AvailabilityText}}#|{{AttendButton}}

FieldName: Values from microtango rest API (https://api.microtango.de/swagger -> RESTCourseModel). Possible values:
* Id: adea471d-d109-416f-9638-5362b490b37a
* Season: 21-1
* Name: 3TK-06
* Subject: Paare Tanzkreis Fr
* StartDate: 2021-01-01T00:00:00
* StartDateText: 01.01.2021
* StartTime: 20:30:00
* StartTimeText: 20:30
* StartWeekdayText: Freitag
* StartMonthText: Januar
* EndDate: 2021-12-24T00:00:00
* EndDateText: 24.12.2021
* EndTime: 21:30:00
* EndTimeText: 21:30
* EndWeekdayText: Freitag
* EndMonthText: Dezember
* Timespan: 20:30 – 21:30
* Length: 1 Stunde
* TimeCondition: wöchentlich 1 Stunde
* Price: 0
* PriceClub: 35
* PriceText: 35,00
* PriceTextFull: 35,00 € monatlich
* HallName: Großer Saal
* HallAddress: Testweg 1, 12345 Musterhausen
* TeacherName: Dr. Sch. Nitzel
* AssistantName: Ein Name
* ProgramName: Grundkurs 1
* Category: GK
* WebCategory: Grundkurs1
* Availability: G, Y or R
* AvailabilityText: Plätze verfügbar, Wenig Plätze verfügbar, Ausgebucht
* RepeatCount: 12
* SkipDays: 7
* WebNotes: Sonstige Informationen
* AttendFormShowPartner: true
* AttendFormShowLegalGuardian: false
* FreeText1, FreeText2, FreeText3, FreeText4, FreeText5, FreeText6, FreeText7, FreeText8, FreeText9

Special fields:
* Attend: Attend: Generate attend link
* AttendButton: Generate attend button with booked information
* ScheduleInfo: Popup with timetable

Example:
[mt_courses]
or
[mt_courses webcategory=”WTP2″]
or
[mt_courses webcategory=”WTP1″]Kursname|{{Subject}}{{Name}}#Tag / Zeit|{{StartWeekdayText}} {{Timespan}}#Startdatum|{{StartDateText}}#|{{Attend}}[/mt_courses]

mt_reservation:

Will show the online reservation form for customers.

mt_video:

Will show the available videos for customers.
Example:
[mt_video videogroup=”GK”]

mt_form parameter:

  • restkey: Microtango REST Key
  • formid (optional): The id of the form to use (Default: The form direct before [mt_form])
  • redirecturl: Url to redirect to, after the form post. Build a nice “We received your registration” page here.
  • testmode (optional): If true, no registration, instead we return the mapped values as a html page.

Content [mt_form] … [/mt_form]: The fieldmapping in the format RESTApi field=Form field name#RESTApi field=Form field name
Form field name: Use Browser F12 tools
RESTApi field: Values from microtango rest API (https://api.microtango.de/swagger -> OnlineRegistrationModel). Possible values:
Season, SeasonID, Course, CourseID: Will be set by the api in hidden fields
FirstName, MiddleName, LastName, Gender, Street, Street2, ZIPCode, City, Birthday, Phone, Cell, EMail, AccountOwner, IBAN, BIC, Notes, PartnerFirstname, PartnerMiddlename, PartnerLastname, PartnerGender, PartnerStreet, PartnerStreet2, PartnerZIPCode, PartnerCity, PartnerBirthday, PartnerPhone, PartnerCell, PartnerEMail, PartnerAccountOwner, PartnerIBAN, PartnerBIC, PartnerNotes

Example:
[mt_form restkey=”ABCDEFGH” redirecturl=”/” testmode=”true”]subject=wpforms[fields][3]#course=wpforms[fields][4]#firstname=wpforms[fields][0][first]#lastname=wpforms[fields][0][last]#email=wpforms[fields][1][/mt_form]

Download & install the zip archive

The plugin package installer can be downloaded from the WP2E project tab called “code”.

1 – Select the version to download if this option is available otherwise the “latest” version of the main plugin will be used.

2 – After downloading the zip archive install the plugin package installer in you local environment and activate the script from the plugin list.

3 – Under the section “Plugins” of the admin dashboard you should see a new “Dependencies & Licenses” link. Follow the instructions from this panel to finalize the installation of the missing dependencies.

Tips: Use the WP2E panel to add/suggest new dependencies to the local installation. Press F5 in the list of dependencies if the changes are not displayed right away.

Microtango

typePlugin
versionlatest
descriptionMicrotango WP integration. Requires subscription from DMS. Will include the Microtango REST API to show…