[WordPress] 外掛分享: Microtango

首頁外掛目錄 › Microtango
WordPress 外掛 Microtango 的封面圖片
30+
安裝啟用
尚無評分
39 天前
最後更新
問題解決
WordPress 4.1.0+ PHP 7.0.0+ v0.9.31 上架:2019-12-10

內容簡介

21;″]

Microtango WP整合外掛,需要 DMS 訂閱。將包含 Microtango REST API 來顯示您的雲端資料。

功能包括:

安裝四個短碼:mt_courses、mt_reservation、mt_video 和 mt_form。

用法:

[mt_courses]

[mt_courses webcategory=”WTP2″]

[mt_courses webcategory=”WTP1″]課程名稱|{{科目}}{{名稱}}#標籤/時間|{{開始週日}} {{時段}}#開始日期|{{開始日期文字}}#|{{出席按鈕}}[/mt_courses]

[mt_reservation]

[mt_video]

[mt_video videogroup=”GK”]

mt_courses 參數:

mtattendform(可選):如果設置,mt 建立表格將用於出席。 可能的值:彈出窗口(默認)或獨立運行
webcategory(可選):Webcategory 過濾器
templateid(可選):html 模板的 ID
category(可選):分類過濾器
attendurl:出席表格的 URL

內容 [mt_courses] … [/mt_courses]:以列標題 | {{字段名稱}}#列標題 | {{字段名稱}} 格式的課程表的內容
默認:
課程|{{科目}}#開始|{{開始日期文字}}#從|{{時段}}#小時|{{重複次數}}#可用性|{{可用性文字}}#|{{出席按鈕}}

字段名稱:Microtango REST API(https://api.microtango.de/swagger -> RESTCourseModel)中的值。 可能的值:
* 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 或 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

特殊字段:
* Attend: Attend:產生出席鏈接
* AttendButton: 生成帶有預訂信息的出席按鈕
* ScheduleInfo: 弹出时间表

範例:
[mt_courses]

[mt_courses webcategory=”WTP2″]

[mt_courses webcategory=”WTP1″]課程名稱|{{科目}}{{名稱}}#標籤/時間|{{開始週日}} {{時段}}#開始日期|{{開始日期文字}}#|{{出席}}[/mt_courses]

mt_reservation:

將顯示顧客的在線預訂表格。

mt_video:

將顯示顧客可用的影片。
範例:
[mt_video videogroup=”GK”]
[mt_video videogroup=”GKR

外掛標籤

開發者團隊

⬇ 下載最新版 (v0.9.31) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「Microtango」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

Microtango integrates the Microtango REST API into WordPress.
Features include:

Provides four shortcodes: mt_courses, mt_reservation, mt_video and mt_form.

Usage:

[mt_courses]
or
[mt_courses webcategory=”WTP2″]
or
[mt_courses webcategory=”WTP2″ orderby=”StartWeekday, Name”]
or
[mt_courses webcategory=”WTP1″]Kursname|{{Subject}} ({{Name}})#Tag / Zeit|{{StartWeekdayText}} {{Timespan}}#Startdatum|{{StartDateText}}#|{{AttendButton}}[/mt_courses]
or
[mt_courses webcategory=”WTP1″]Kursname|{{Subject}} ({{Name}})#1. Termin|{{DatesText.[0]}}#2. Termin|{{DatesText.[1]}}#3. Termin|{{DatesText.[2]}}#|{{AttendButton}}[/mt_courses]
[mt_reservation]
[mt_video]
or
[mt_video videogroup=”GK”]

mt_courses parameters:

mtattendform (optional): Use the built-in Microtango attend form. Values: popup (default) or standalone.
webcategory (optional): Web category filter.
orderby (optional): Sort order.
template (optional): 1-9, selects one of the additional templates.
templateid (optional): ID of the HTML template.
category (optional): Category filter.
attendurl (optional): URL for the attend form.

Content [mt_courses] ... [/mt_courses]:
Defines the table columns 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 the 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
* StartWeekday: 5
* StartWeekdayText: Freitag
* StartMonthText: Januar
* EndDate: 2021-12-24T00:00:00
* EndDateText: 24.12.2021
* EndTime: 21:30:00
* EndTimeText: 21:30
* EndWeekday: 5
* 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
* DatesText.[x]: 04.05.2023 (x= 0 – RepeatCount)
* Dates.[x]: 2023-05-04T18:00:00 (x= 0 – RepeatCount)
Special fields:
* Attend: Generates the attend link.
* AttendButton: Generates an attend button (includes booked information).
* ScheduleInfo: Shows a popup with the timetable.
Example:
[mt_courses]
or
[mt_courses webcategory=”WTP2″]
or
[mt_courses webcategory=”WTP2″ orderby=”StartWeekday, Name”]
or
[mt_courses webcategory=”WTP1″]Kursname|{{Subject}}{{Name}}#Tag / Zeit|{{StartWeekdayText}} {{Timespan}}#Startdatum|{{StartDateText}}#|{{Attend}}[/mt_courses]
mt_reservation:
Shows the online reservation form for customers.
mt_video:
Shows the available videos for customers.
Example:
[mt_video videogroup=”GK”]
[mt_video videogroup=”GK”, videoPublic=true]
mt_form parameters:

restkey: Microtango REST Key.
formid (optional): ID of the form to use (default: the form directly before [mt_form]).
redirecturl (optional): URL to redirect to after the form post.
testmode (optional): If true, no registration is performed. Instead the mapped values are returned as an HTML page.

Content [mt_form] ... [/mt_form]:
The field mapping in the format:
RESTApi field=Form field name#RESTApi field=Form field name
Form field name:
Use browser developer tools (F12).
RESTApi field:
Values from the 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]

文章
Filter
Apply Filters
Mastodon