t( 'aec_section_title_help_center' ) ) ?>
t( 'aec_section_title_shortcode_documentation' ) ?>

[aec_classes]

Allow to display courses list from AEC. The list is filtered according to the following attributes.

  • id-classification : Age bracket (Adults, Children...)
  • id-class-type : Class type (Regular courses, Intensive courses, Workshop...)
  • id-main-level : Class main level (A1, A2, B1, B2...)
  • id-level : Class level (Beginner, A1.1, Advanced...)
  • id-subject : Class subject (French, English...)
  • id-etablishment-branch : Class etablishment center (Main Center, Other center...)
  • id-period : Class period...

For example, if you want to display only Adults Beginner classes and Adults age bracket is ID 3 in AEC, and Beginner Level is ID 12, you can use this shortcode : [aec_classes id-classification="3" id-level="12"]

Note : ID values can be found in AEC in configuration module > Lists. This is the number on the right of the name of the list item.

[aec_classe_selection]

Allow to display a wizzard to help choose the right course with steps like, course type selection, level selection, schedule...

  • id-subject : Class subject (French, English...)
  • id-classification : Age bracket (Adults, Children...)

For example, if you want to display this wizzard only for French Adults classes and Adults age bracket is ID 3 in AEC, and French is ID 1, you can use this shortcode : [aec_classes_selection idclassification="3" idsubject="1"]

Note : ID values can be found in AEC in configuration module > Lists. This is the number on the right of the name of the list item.

[aec_contact_map]

Allow to display a Google Map of etablishment centers. Addresses are taken from AEC centers configuration

  • height : allows to set custom height for the map. (default is 500px)
  • class : allows to set custom class to the surrounding map div. (default => empty string)
  • display-details : allows to set where to display address details or not. (default => true)
  • etablishment-branch-id : Allows to select a certain etablishment branch by it\'s ID. (Optional)

For example : [aec_contact_map height="250" display-details="true"]

[aec_google_map]

Allow to display a Google Map of etablishmentBranch centers. Addresses are taken from AEC centers configuration

  • height : allows to set custom height for the map. (default is 380px)
  • etablishment-branch-id : Allows to select a certain etablishment branch by it\'s ID.

For example : [aec_google_map etablishment-branch-id="1"]

[aec_events_list]

Allow to display a list of events

  • idproduct_type : Product Type Id of event category to filter. Default is 0, meaning no filtering.
  • detail_link : The URL for the page to display event details (a parameter ?idevent=123 will be added). Default is the Event Extranet page

For example : [aec_events_list idproduct_type="3"]

[aec_event_detail]

Allow to display one event

  • idproduct : Product Id of event to display. If this parameter is not indicated, it will search for "idevent" param value in current URL (for example site.wp-aec.com/event?idevent=123 will display event with idproduct=123).

For example : [aec_event_detail]

[aec_next_events]

Allow to display next events on homepage

  • quantity-column : The quantity of events blocks to display. Default is 2.
  • num_events_by_row : The quantity of events blocks to display by row on the page. Default is 2.
  • detail_link : The URL for the page to display event details (a parameter ?idevent=123 will be added). Default is the Event Extranet page

For example : [aec_next_events quantity-column="3"]

[aec_events_wide]

Allow to display events for wide

  • detail_link : The URL for the page to display event details (a parameter ?idevent=123 will be added). Default is the Event Extranet page

For example : [aec_events_wide]

[aec_events_grid]

Allow to display next events for grid

  • data-param-quantity-column : The quantity of events blocks to display. Default is 2.
  • num_events_by_row : The quantity of events blocks to display by row on the page. Default is 2.
  • detail_link : The URL for the page to display event details (a parameter ?idevent=123 will be added). Default is the Event Extranet page

For example : [aec_events_grid quantity-column="3"]

[aec_account_creation]

Allow to display a form for accounts creation and modification

  • form_action : Defines the form\'s behavior or what action is going to take when submits.(create_student, post_update_informations, create_family_member)
  • prefill_data_for_student : An student/user id to prefill the form, is usually set when we need to update information or create an user based on someone\'s information.
  • redirect : This is a redirect url, where the form is going to redirect after posting information to the server.

For example : [aec_account_creation form_action="create_student" direct="/carts/view/"]

[aec_products_view]

Allow to display a list for all products available.

  • product-type : Tells the server to display all the products based on the product type ID (Default: null)
  • etablishment-branch-id: This tells the web-app to show the products for a certain etablishment branch if there are many etablishment branches available.
  • show-category-title : Enable or disable the product type title in the webapp (Default: true)

For example : [aec_products_view product-type="16"]

[aec_donation_form]

Allow to display a donation form.

  • show-category-title : Enable or disable the product type title in the webapp (Default: true)

For example : [aec_products_view product-type="16"]

[aec_student_login]

Allow to display the login form for students so they can log in from the WP Site into their accounts.

  • redirect : Tells the server where to redirect the user after being logged in.
  • is_cart : Tells the server if the login form is placed at a cart confirmation page to behave different that usual. (Default: null)

For example : [aec_student_login redirect="/some_page"]

[aec_student_register]

Allow to display the register form for students so they can register into the system or register some relatives from the WP Site into their accounts.

  • form_action : Decides whether the form is for registering new students, a new family member or edit information from students or relatives. (Accepts: create_student, create_family_member or post_update_informations, Default: create_student)
  • prefill_data_for_student : Tells the server the ID of the student you are going to edit. Please, only use this if the form_action is post_update_informations (Default: null)
  • redirect : Tells the server where to redirect the user after being registered or updated.
  • useExpressCheckout : Tells the server if there is going to be an express registration, usually used in cart forms. Default(null)

For example, if you want to show a registration form for students : [aec_student_register form_action="create_student" redirect="/user_account_page" ]

[aec_student_account]

Allow to display the account(personal info, billing info, relatives, signed up courses, ect...) information for a certain student, usually the logged in one.

For example, if you want to show a the account information for the current logged in student: [aec_student_account]

[aec_student_controls]

Allows to show the control buttons for the user to manage his/her account.

  • login-link: The url of the page which contains the login for te user to perform the authentication process.
  • register-link: The url of the page where is the register form. Only for users registration.
  • student-account-link: The url of the page which has the user account information.
  • logout-link: The url which logs the user out of the application.
  • redirect-url-after-logout: Where to send the user after he/her logs out.
  • my-cart-link: The url of the page which has the user's cart page.
  • is-wordpress-site: Defines the url domain depending on the webapp scope, if it is on a wordpress site, it the full urls, if not, it use the aecExtranetURL defined by us.

For example, if you want to show the this web-app: [aec_student_controls login-link="http://mysite.com/student-login"]

[aec_private_tuition]

Allow to display a form to registers private classes.

    For example, if you want to show a the account information for the current logged in student: [aec_private_tuition]

[aec_classes_list_with_filters]

Allow to display a list of classes with some filters to go straight to the group of classes needed.

  • etablishment-branch-id: This tells the web-app to show the classes for a certain etablishment branch if there are many etablishment branches available. Default(0)
  • classification-id: This is the classification ID selected by default if needed(Children, Adults,...). Default(0)
  • period-id: This is the period ID selected by default if needed. Default(0)
  • class-type-id: This is the class type ID selected by default if needed(Teen Classes, Workshops,...). Default(0)
  • main-level: This is the main level selected by default(A1, A2, B1,...). Default(null)
  • show-classification-intro: Allow to display a box with the classification details if the classification ID is provided by default. Default(true)
  • levels-to-filter-by: Allow filter the classes by its levels IDs. You must send this levels IDs in the following format = "12|28|63" for this to work correctly. Optional
  • class-types-to-filter-by: Allow filter the classes by its class types IDs. You must send this class types IDs in the following format = "122|328|73" for this to work correctly. Optional
  • show-filter-choices: This will set if the filter choices set by default must be displayed as selection box. Default(true)

For example, if you want to show the this web-app without any parameters to allow the user to filter before showing the list of classes: [aec_classes_list_with_filters]

[aec_classes_catalog]

Allow to display a catalog of classes with filters to go straight to the group of classes needed, allowing to multi-select your filter selections.

  • etablishment-branch-id: This tells the web-app to show the classes for a certain etablishment branch if there are many etablishment branches available. Default(0)
  • period-id: This is the period ID selected by default if needed. Default(0)
  • classification-id: This is the classification ID selected by default if needed(Children, Adults,...). Default(0)
  • subject-id: This is the class type ID selected by default if needed(Teen Classes, Workshops,...). Default(0)
  • level-id: This is the class type ID selected by default if needed(Teen Classes, Workshops,...). Default(0)
  • sidebar: This toggle the filter bar position, on top of the catalog or at it\'s side. Default(false)
  • show-filter-choices: This will set if the filter choices set by default must be displayed as selection box. Default(true)

For example, if you want to show the this web-app without any parameters to allow the user to filter before showing the list of classes: [aec_classes_catalog]

[aec_classes_search_box]

Allow to display a search box with filters that will redirect to the course list you configure or the course list on your Kiosque.

  • default-url: This will be the url that users will be redirected to when clicking the search button. This url must make reference to a website page where there\'s at least one of the course\'s list web-apps listed above. Default(none)
  • url-configuration: This is a JSON object that represents a map of urls based on filters combinations. With this you can configure custom pages for any combination of filter values using the following convention: url-configuration=\'{"[etablishment-branch-id]-[classification-id]-[subject-id]-[class-type-id]": "https://url.to-webapp.com"}\'. Note that the square brackets in the example are only for documentation purposes. Do not use them. Default({})

For example, if you want to show the this web-app without any parameters to allow the user to filter before showing the list of classes: [aec_classes_search_box]