-
Notifications
You must be signed in to change notification settings - Fork 3
Device Attributes
If you're using our custom check-in Admin.ascxAdmin.ascx.cs block you'll need to set up a "Theme" attribute on your Device entities and then use our custom DeviceDetail.ascx /DeviceDetail.ascx.cs block to actually assign a Theme value for each of your kiosk devices. This write-up will explain how to set these up.
Like the Person Attributes page under General Settings, this page will be used to add attributes to Devices.
- Create a page under your Admin | General Settings area called "Device Attributes".
- Add the core Attributes block to that page.
- Configure that block's properties
- setting the "Configure Type" to "Yes"
- setting the "Applies To Entity:" field to "Device".
- Now, refresh that page then add an attribute with a key of "Theme".
The standard device detail page does not have any code that allows you to set device attribute values, however our custom block does.
At some point in the future, the standard core block might have this feature so you may want to avoid disturbing your device details page. That's why we recommend just setting up a custom Device Details page and then re-configure your Device list page to use your new custom page.
- Download our custom Device Detail block (both the .ascx and .ascx.cs) and put it under the
Plugins/com_centralaz/Core/
folder. - Go to your Devices list page and add a child page called "Device Detail (Custom)".
- Go to this new page and add the custom
com_centralaz > Core
Device Detail block to that page: - Lastly, go to your back to your Devices list page and change the block's "Details Page" setting to your custom "Device Detail (Custom)" page.
Once you do this, clicking on a device in the list should take you to the new details page where you can set your kiosk device to have a Theme.