mxHasTvs
mxhastvs
About
Useful for complex UI rules where multiple TVs determine the UI components to render. Allows you to return either a true/false (1/0) value or any string, chunks, snippet based on result. This checks a resources TV values to see if it was set to anything other then default or empty by default.
Additional ability to modify the conditional operation for the TV value matching including ability to change the value to match on via snippet parameters.
First public release, open to feedback.
Installation & usage
Use package manager to install the single snippet called mxhastvs to your ModX site.
At a glance
MODX 3 compatibility unknown. Based on our testing and community reports where available.
- Developer charless
- Latest release May 27, 2013 (13 years ago)
- First seen in SiteDash May 27, 2013 (13 years ago)
- License GPLv2
- MODX support 2.1 – 2.2
- Databases MySQL , SQL Server
| Changelog | |||
|---|---|---|---|
| MODX.com |
1.0.0-pl |
May 27, 2013
13 years ago |
|
|
<p>- Correction: Type correction in the description for the snippet properties for instructions</p><p>- Enhancement: Added two new parameters to modify the the conditional operator(&conditionalOperator) (equals, not-equals, etc.: See xPDO for full list) along with the value (&conditonalValue) to match on</p>
|
|||
|
No matching releases. |
|||