Editor - Settings - Includes - Channels

This view contains the codes in external pages to view the page. These implementations contain button and view codes, as well as 3 types of code for view: Modal, chat window and inline.

Controlador: channelsSettingsEditorCtrl
The variable that contains the codes are the following:

  • widget_popup: Contains the code of the view to be used in a popup or modal
  • widget_inline: Contain the code of the view to be used in some direct space of the page.
  • widget_bot: It contains the code of the view to be used in a chat window.

For widget_bot y widget_popup , to the user should be shown this piece of code that is the button that opens them. “<button onclick="toggleOrderingWidget()">Open widget</button>”

Example of base theme

849
  1. A select for switch between popup and chat box.
  2. section that contains the codes for widgets in popups.
  3. Code section for widget_popup and widget_bot and can be switched with the select in 1.
  4. section that contains the codes for widgets inline.