We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 24278
    • 165 Posts
    Dear Members,

    I have a TV called "tv_memberCountry" accessed by a template called tpl_memberProfile. TV details as under...
    InputType: ListBox Single Select
    Input Option Values: India||United States||United Kingdom

    The above information is selected for each ’member profile’ document created inside the FOLDER called PROFILES.
    (Please note: The country names will be added/updated as an when member profiles are added)

    My question:
    Am I doing it the right way or is there a better way to do this?
    If it is the right way, how can I list all members from... e.g. "United Kingdom"

    Thank you for you time and effort. I appreciate it.

    warm regards,

    -Raavi
      • 24278
      • 165 Posts
      Dear Member,

      Please can someone help me with the above issue. I can provide more details if need be. I am really stuck at this point in time.

      I have attached a screenshot of the TV Creation scrren. Hope this helps.

      All suggestions will be appreciated.

      regards,

      -Raavi
        • 25663 MODX Staff
        • 12,272 Posts
        Quote from: Raavi at May 09, 2006, 11:45 PM

        My question:
        Am I doing it the right way or is there a better way to do this?
        If it is the right way, how can I list all members from... e.g. "United Kingdom"

        If the pop-up list works then you’re doing it right (and it looks like you are...).

        As to using it to filter the results of a table... That’s a great question, and one I’ll leave to the more coding-proficient in our midst.
          Ryan Thrash, MODX Co-Founder
          Follow me on Twitter at @rthrash or catch my occasional unofficial thoughts at thrash.me
          • 24278
          • 165 Posts
          Dear rthrash,

          Thank you for the prompt reply and thank you for re-assuring about my procedure.

          There was a slight error on my part (in all the frenzy about things not working out).

          The screenshot attached in my earlier post is for a multi-select TV, which when i use to create the document does not store any of the provided values (either single or multiple)...

          Why is that happening? Have I done it right?

          thank you for your suggestions.

          -Raavi
            • 22213
            • 52 Posts
            you might do better in a forum like general help, which is focussed on ’how do i’ issues. This is more about programming issues in modx.

            just a suggestion
              Web Designer
              PHP Programmer
              Cocoa Developer
              Boulevardier & Arriviste
              • 24278
              • 165 Posts
              Thanks omnivore,

              Will do that.

              -raavi