How would I begin to go about setting up template variables such that some TVs only become available when other TVs have been set (or have been set to a certain value)?
For instance, I’ve got TVs called "leftColumn" and "rightColumn". I’ve also got one called "contentLayout" that lets the user pick from various content layouts - some of which have a left and/or right column.
I’d like to set this up such that "rightColumn" only shows up in the Manager form when the user has selected a contentLayout option that includes a right column.
I don’t expect a full-blown tutorial, but some general direction on where to start digging would be a great start.
-
- 4,149 Posts
I think you’d have to do a custom TV type, and I don’t think we’ve ironed out that process yet. I’ll definitely post a tutorial when we get to that stage.
Or just do separate Templates.
shaun mccormick | bigcommerce mgr of software engineering, former modx co-architect |
github |
splittingred.com