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

    I am trying to allow users to find a resource in a template variable. At the moment, the tv is a of type resource list but that's getting far too cumbersome. I can't filter the list either as the user may want to link to any page in the tree. Ideally, I'd like users to be able to enter the title of a page and the list be filtered. Pretty much what you can do in the rich text editor when you make a link. Had quite a few searches around and can't find anything really usable?

    Any pointers much appreciated
      • 6038
      • 228 Posts
      This is a great way to do it:

      https://gist.github.com/silentworks/3608022
        • 37758
        • 73 Posts
        ah, fab, yes, just what I was looking for, thanks - I have amended it a bit to add the uri as some pages on the site have the same or v similar title. One thing that would be good would be if it could be amended to have a 'like' clause so it finds any words in the title. Do you know if this could be done?
          • 4172
          • 5,888 Posts
          you can also use the dynamicDropdownTV, which loads its options from a processor.
          Its also possible to combine more of them.
          For example one for the parent and the other one for all its children and subchildren.
            -------------------------------

            you can buy me a beer, if you like MIGX

            http://webcmsolutions.de/migx.html

            Thanks!
            • 37758
            • 73 Posts
            ah, thanks, haven't come across that package, that might come in handy some time, too, although in this case, I think I'll stick with the original suggestion as the link can be to anything in on the site...