<![CDATA[ Revolution Manager TV Customization - Howto show a TV on certain pages ONLY? - My Forums]]> https://forums.modx.com/thread/?thread=45093 <![CDATA[Re: Revolution Manager TV Customization - Howto show a TV on certain pages ONLY?]]> https://forums.modx.com/thread/45093/revolution-manager-tv-customization---howto-show-a-tv-on-certain-pages-only?page=2#dis-post-550014
yes exactly what I was looking for. Unfortunately doesn't seem like this ever got resolved.

So here's what i did.

Whatever variables you want to add/remove, create them as a chunk or chunks.

Then create a tv that calls that chunk. Set the default value in input options to the name of the chunk, and then choose allow blank for input options.

Then when you go into the resource if you don't want it on that resource just delete the value in the tv field.

Works for me. Allows me to turn off or on the TV's for each resource while still using the same template.

Of course you do have to set it for each resource as you go, but you might probably configure Batcher or something to do bulk editing.
]]>
markg Apr 11, 2017, 05:29 AM https://forums.modx.com/thread/45093/revolution-manager-tv-customization---howto-show-a-tv-on-certain-pages-only?page=2#dis-post-550014
<![CDATA[Re: Revolution Manager TV Customization - Howto show a TV on certain pages ONLY?]]> https://forums.modx.com/thread/45093/revolution-manager-tv-customization---howto-show-a-tv-on-certain-pages-only?page=2#dis-post-528072
The scenario: you want to create a TV, attach it to a template, and show it on certain resources while hiding it on others.

The issues:

  1. Constraints are, well, constrained. You can only have one value per constraint, and only one constraint per rule-set.
  2. Form customization constraints are backwards:
    You can't hide a TV on all pages, and then override it on certain pages with a constraint - because - the first rule without any constraints (that hides the TV on all pages) takes priority and cannot be overridden. Is this a bug or expected behavior?
  3. This means that in order to show a TV only on certain pages, you have to create a rule-set with a constraint for EACH page that you want to hide the TV (that's backwards and completely unacceptable).
  4. Template sprawl: in order to easily achieve the results we want, which is certain TVs on certain resources, we have to create a duplicate Template and assign those TVs to the template. If you ask me, anything more than 8-9 Templates for a site is overkill and becomes unwieldy to keep updated.
  5. According to the original documentations/developers, a Template Variable is so named because it is an inextricable part of a Template. This is true (you can’t have a TV without a Template), however, a TV doesn’t actually need to be shown via a Template - it can be used by just about any resource field, a snippet, or even another resource as a filter. It definitely IS NOT exclusive to the Template itself. So why is there so little flexibility with how we organize TVs?

How we want it to work:

  1. Ideally, we would be given the ability to define Custom Post Types for a Template, which could then give us more options on how to show TV's for that template, among other benefits. Each resource could then be assigned a Template/CPT (e.g. BaseTemplate/Gallery, BaseTemplate/Team, BaseTemplate/Article, etc.) Each fork in the Template itself would need to be handled with some kind of a conditional (e.g. [[*cpt:Gallery=`my content here`]]). Indeed, we can do this very thing with, you guessed it, a TV! But that doesn’t solve the issue at hand.
  2. Less ideally but still better, Form Customization rule-sets with constraints override those without constraints, or else constraints can be given a priority number - something that makes constraints actually useful.
  3. A way perhaps to use a Property Set as a system to set multiple constraints or otherwise control TV visibility.

Anyway, that's my 2¢ on the subject. Is any of this something we might see added to Revo one day, or is this just a “deal with it until MODNext” scenario?]]>
dan971 Jul 08, 2015, 08:15 PM https://forums.modx.com/thread/45093/revolution-manager-tv-customization---howto-show-a-tv-on-certain-pages-only?page=2#dis-post-528072
<![CDATA[Re: Revolution Manager TV Customization - Howto show a TV on certain pages ONLY?]]> https://forums.modx.com/thread/45093/revolution-manager-tv-customization---howto-show-a-tv-on-certain-pages-only?page=2#dis-post-511206
Seems it's still not working on 2.3.1 version sad]]>
wintertribe Sep 25, 2014, 03:55 AM https://forums.modx.com/thread/45093/revolution-manager-tv-customization---howto-show-a-tv-on-certain-pages-only?page=2#dis-post-511206
<![CDATA[Re: Revolution Manager TV Customization - Howto show a TV on certain pages ONLY?]]> https://forums.modx.com/thread/45093/revolution-manager-tv-customization---howto-show-a-tv-on-certain-pages-only?page=2#dis-post-466095
-Noah]]>
noahlearner May 11, 2013, 09:10 PM https://forums.modx.com/thread/45093/revolution-manager-tv-customization---howto-show-a-tv-on-certain-pages-only?page=2#dis-post-466095
<![CDATA[Re: Revolution Manager TV Customization - Howto show a TV on certain pages ONLY?]]> https://forums.modx.com/thread/45093/revolution-manager-tv-customization---howto-show-a-tv-on-certain-pages-only?page=2#dis-post-441832 exside Oct 30, 2012, 11:49 AM https://forums.modx.com/thread/45093/revolution-manager-tv-customization---howto-show-a-tv-on-certain-pages-only?page=2#dis-post-441832 <![CDATA[Re: Revolution Manager TV Customization - Howto show a TV on certain pages ONLY?]]> https://forums.modx.com/thread/45093/revolution-manager-tv-customization---howto-show-a-tv-on-certain-pages-only?page=2#dis-post-441827

I´m also using MIGX Grid and it gives me also a lot of issues...:( Did you try it it in different browsers?]]>
bryte Oct 30, 2012, 11:32 AM https://forums.modx.com/thread/45093/revolution-manager-tv-customization---howto-show-a-tv-on-certain-pages-only?page=2#dis-post-441827
<![CDATA[Re: Revolution Manager TV Customization - Howto show a TV on certain pages ONLY?]]> https://forums.modx.com/thread/45093/revolution-manager-tv-customization---howto-show-a-tv-on-certain-pages-only?page=2#dis-post-441817
I have two additional problems though =)...

1) I'm using the system setting TVs below content, so the additional Tab is not convenient for existing users
2) I'm using a MIGX Grid (actually two of them) and these are not fetched correctly into the tab, it just pulls all the MIGX grids into the tab instead of only the one for the slides^^...

think i'm giving up on this =P, would be nice, but it's not worth the time i already spent on it!]]>
exside Oct 30, 2012, 10:10 AM https://forums.modx.com/thread/45093/revolution-manager-tv-customization---howto-show-a-tv-on-certain-pages-only?page=2#dis-post-441817
<![CDATA[Re: Revolution Manager TV Customization - Howto show a TV on certain pages ONLY?]]> https://forums.modx.com/thread/45093/revolution-manager-tv-customization---howto-show-a-tv-on-certain-pages-only?page=2#dis-post-441800
Check the screenshots:

https://plus.google.com/u/0/photos/101354969642635497858/albums/5805105101005174945?hl=nl&ds=i&pq=picasa&cp=10&gs_id=h&xhr=t&q=picasa%20account&bav=on.2%2Cor.r_gc.r_pw.r_cp.r_qf.&bpcl=36601534&biw=1280&bih=653&wrapid=tljp135160628910406&ie=UTF-8&sa=N]]>
bryte Oct 30, 2012, 09:20 AM https://forums.modx.com/thread/45093/revolution-manager-tv-customization---howto-show-a-tv-on-certain-pages-only?page=2#dis-post-441800
<![CDATA[Re: Revolution Manager TV Customization - Howto show a TV on certain pages ONLY?]]> https://forums.modx.com/thread/45093/revolution-manager-tv-customization---howto-show-a-tv-on-certain-pages-only#dis-post-441797
I'm stuck at step 3 where I should add the constraint, cant find this in the TV tab of the set-settings^^... could you eventually make some screenshots (picasa or so is nice to host them, see mine above)?]]>
exside Oct 30, 2012, 08:18 AM https://forums.modx.com/thread/45093/revolution-manager-tv-customization---howto-show-a-tv-on-certain-pages-only#dis-post-441797
<![CDATA[Re: Revolution Manager TV Customization - Howto show a TV on certain pages ONLY?]]> https://forums.modx.com/thread/45093/revolution-manager-tv-customization---howto-show-a-tv-on-certain-pages-only#dis-post-441789
1. Create new profile (example: only show certain TV for specific resource)
2. Create new set
3. Create a new tab, and assign TV with your constrain (rule). Let´s say only for resource with id = X
4. Show or hide TV ( in my case only show when resource id = x)
5. Set the region. (title from the new tab)
6. Activate

Go back to you first set and put "modx-panel-resource-tv" invisible.


]]>
bryte Oct 30, 2012, 06:38 AM https://forums.modx.com/thread/45093/revolution-manager-tv-customization---howto-show-a-tv-on-certain-pages-only#dis-post-441789