XenForo
Administrative
- Thread starter
- Admin
- #21
XenForo updated Standard Library by Xon with a new update entry:
1.13.0 - Feature update
Read the rest of this update entry...
1.13.0 - Feature update
- Add
is_toggle_set
template function andtoggle-storage-ex
backend for the XF toggle JS.
The stockis_toggled
does not allow setting the default value, whileis_toggle_set
does.- Example of a default collapsed node-list:
PHP:<xf:js src="sv/lib/storage.js" addon="SV/StandardLib" min="1" /> <xf:set var="$isActive" value="{{ is_toggle_set($forum.node_id, false, 'node-toggle') ? ' is-active' : '' }}"/> <div...
Read the rest of this update entry...