We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 39678
    • 68 Posts
    tomvanminnebruggen Reply #1, 14 years, 1 month ago
    Hello,

    i have a TV where i can search for an image.

    i want that people can change this TV on one page, but the problem is: this image is viewable on every page of the site.

    and i have noticed that if i don't apply this TV on all the templates, then this TV is not viewable on a page of the site that doesn't have access to this TV.


    other question that comes with this: is there for example a solution that people can change all TV's on one page, but that i can choose in the code which TV will be shown on which page

    hope you understand my question

    thanks ahead
      • 4172
      • 5,888 Posts
      i have a TV where i can search for an image.

      seems to be an image-TV, right ?

      i want that people can change this TV on one page, but the problem is: this image is viewable on every page of the site.

      is viewable or should be viewable?
      if the second, this is possible with getResourceField, if you are on REVO.
      if you are on EVO with getField

      and i have noticed that if i don't apply this TV on all the templates, then this TV is not viewable on a page of the site that doesn't have access to this TV.

      with getResourceField/getField this doesn't matter

      other question that comes with this: is there for example a solution that people can change all TV's on one page, but that i can choose in the code which TV will be shown on which page

      one solution could be:
      Create one Resource for each Image under a Parent-Resource.
      Then use a resource-list-TV or a listbox-TV with @SELECT or @EVAL - binding to get the resources in a dropdown, where you can select the Resource with the wanted image in the image-TV

      Then again, if its only for one image, use getField/getResourceField together with the output of your dropdown-TV to get the selected image.


      hope you understand my question

      not sure, I hope.
        -------------------------------

        you can buy me a beer, if you like MIGX

        http://webcmsolutions.de/migx.html

        Thanks!
        • 39678
        • 68 Posts
        tomvanminnebruggen Reply #3, 14 years, 1 month ago
        hellow,

        yes, it is a image-TV

        it should be viewable on each page, but only changeable on one page in de manager.

        so i will try the option getfield (i have evolution)

        the last thing to make everything on one page, i will try like you explain
          • 39678
          • 68 Posts
          tomvanminnebruggen Reply #4, 14 years, 1 month ago
          i have noticed that i can hide tv's in mm_demo_rules

          so this can also be an option to hide this image-tv in the manager for the users