UI.X Helpers and Variables

UI.X Add-on Variables

$uix_isActive

  • Type: Boolean
  • Is the UI.X add-on active?

$uix_canCollapseSidebar

  • Type: Boolean
  • Does the user have permission to collapse the sidebar?

$uix_canViewWelcomeBlock

  • Type: Boolean
  • Does the user have permission to view the welcome block?

$uix_nodeLayouts

  • Type: String
  • JSON string of node layouts

$uix_nodeIcons

  • Type: Array
  • Array of the node icon cache

$uix_nodeClasses

  • Type: Array
  • Array of the node class cache

$uix_collapsedNodes

  • Type: Array
  • Array of the collapsed node cache

$uix_canUseStylerPanel

  • Type: Boolean
  • Does the user have permission to use the styler panel?

$uix_canUseStylerSwatches

  • Type: Boolean
  • Does the user have permission to use styler swatches?

$uix_canUseStylerPresets

  • Type: Boolean
  • Does the user have permission to use styler presets?

$uix_currentTimestamp

  • Type: Unsigned Int
  • The current timestamp.

UI.X View Template Override Variables

These variables have been created as overrides for disabling and enabling settings on a per view or template, ie PAGE_CONTAINER basis. There are two ways you can set these variables.

  1. Set the value of the variable to 1 in the view template using .
    • To hide the top breadcrumb on individual forum pages, insert 1 at the top of the forum_view template above the tag.
  2. Set the value of the variable to 1 in the Page Options of a page node using .
    • To set the sidebar to the left on an individual Page Node, insert 1 at the top of the template HTML field.

$uix_hidePageContent

  • Comments out '.pageContent' and '.pageWidth' wrappers directly beneath '#content' for view.
  • Notes: Typically used for heavily customized page nodes.

$uix_showWelcomeBlock

  • Shows welcome block for view.

$uix_hideWelcomeBlock

  • Hides welcome block for view.

$uix_hideTopBreadcrumb

  • Comments out the top breadcrumb for view.

$uix_hideBottomBreadcrumb

  • Comments out the bottom breadcrumb for view.

$uix_hidePageTitle

  • Comments out page title for view.

$uix_hideNotices

  • Comments out notices for view.

$uix_hidePageNodeContainer

  • Hides (in CSS) 'share page' and 'page view count' on page nodes. Also gets rid of '#pageNodeContainer' padding.

$uix_disableNodeGrid

  • Disables node grid layout functionality (not styling) on view.
  • Notes: Relevant for 'forum_list', 'forum_view', and 'watch_forums' view templates.

$uix_sidebarToRight, $uix_sidebarToLeft

  • Sets sidebar location to the right and left respectively for the view.

Copyright © 2024 Audentio, LLC. All Rights Reserved.