We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 38954
    • 24 Posts
    I use this code for listbox TV in manager for add gallery to resource (news or article in my case).
    @SELECT name FROM modx_gallery_albums WHERE active=1 AND prominent=1


    But sometimes I don't need any gallery, so i want add blank value (field) in from of select.
    I found this thread http://forums.modx.com/thread/45031/initial-blank-value-appended-to-select-binding,
    but this method doesn't work for me.
    This time I use another TV (addGallery) which is checkbox for add gallery on page, but I beleave there's easy way of doing this.
      from Russia with love