Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
blocks:api:query-parameters [2022-11-18 11:09] admin created |
blocks:api:query-parameters [2025-01-28 07:50] (current) admin [Spot Parameters] |
||
---|---|---|---|
Line 18: | Line 18: | ||
:!: **NOTE:** Do not type spaces in a path. if you need to enter a space, type //%20// instead of the space. | :!: **NOTE:** Do not type spaces in a path. if you need to enter a space, type //%20// instead of the space. | ||
- | =====Spot | + | =====Spot |
- | The following parameters can be added to a //spot// URL (as shown in the examples above): | + | The following parameters can be added to a //spot// URL (as shown in the examples above). |
* **mobile** specifies that this is a Visitor spot, with the value being the Spot path to a Visitor spot in Blocks. If this is at the top level, it's just the name of the Visitor spot. If the Visitor spot is in a group, indicate the full path including enclosing group names, with each level separated by a period. | * **mobile** specifies that this is a Visitor spot, with the value being the Spot path to a Visitor spot in Blocks. If this is at the top level, it's just the name of the Visitor spot. If the Visitor spot is in a group, indicate the full path including enclosing group names, with each level separated by a period. | ||
- | * ** class** applies a CSS class to the spot, where the value is the CSS class name. This can then be used to style some display spots differently. More about CSS styling [[blocks: | + | * **class** applies a CSS class to the spot, where the value is the CSS class name. This can then be used to style some display spots differently. More about CSS styling [[blocks: |
+ | * **tags** applies specified tags; value is comma-separated list of tags. | ||
+ | * **spot** tells any active Locator to locate the spot specified by the value, which can be a Spot's Location ID, name or full path (with each level separated by a period). | ||
+ | * **spot-id** applies a user-defined Spot ID instead of the server-generated number or player MAC address or Serial number. Avoid using a simple number as the ID, as that may collide with Blocks' | ||
+ | * **display** adds a user-defined suffix to the spot's ID, letting you run multiple spots using the same browser without having the IDs conflict. Mainly for use from desktop/ | ||
+ | * **param-Xxxx** sets Spot Parameter Xxxx to the value specified. Note that the parameter must be declared for the block shown by this Spot for this to work (i.e., using the "Edit Parameters" | ||
+ | |||
+ | =====Editor Parameters===== | ||
+ | The following parameters can be added to an //edit// URL used to open the Blocks user interface. They are sometimes combined with an extended path, providing direct access to a particular block (or child block). To obtain such an extended path, first navigate in the Blocks editor into the desired block (or child block), then copy the URL from your web browser. The URL will look something like this: | ||
+ | |||
+ | < | ||
+ | http:// | ||
+ | </ | ||
+ | |||
+ | This opens the block named //Main// in the group named // | ||
+ | |||
+ | < | ||
+ | http:// | ||
+ | </ | ||
+ | |||
+ | The advantage of using child block names instead of their index is that the name is more reliable if child blocks are added or removed (e.g., a new slide is added at the beginning of the Slideshow in the example above). | ||
+ | |||
+ | :!: **IMPORTANT**: | ||
+ | |||
+ | ====sandbox==== | ||
+ | |||
+ | The //sandbox// parameter confines users with a role below Manager to the specified block only, preventing such users from exiting to the editor' | ||
+ | |||
+ | < | ||
+ | http:// | ||
+ | </ | ||
+ | |||
+ | |||
+ | :!: **IMPORTANT**: | ||
+ | |||
+ | ====block-group==== | ||
+ | |||
+ | The // | ||
+ | |||
+ | < | ||
+ | http:// | ||
+ | </ | ||
+ | |||
+ | :!: **IMPORTANT**: | ||
+ | |||
+ | ====class==== | ||
+ | |||
+ | Applies a CSS class to the speditor' |