I’m not sure if this is possible, but I want to create a TV where you choose a document that’s already on MODx, like you do when creating a link in TinyMCE. The idea is that I’m creating a product page and I want to provide the option for an editor to specify a couple of related products, and it would be fantastic if I could just have the TV store the page’s id so that I can use a snippet to extract the correct information from those pages later. I can create a text TV where you type in a number, but that’s a little clumsy. I can also create a rich text box, but that gives too much considering all I want is the id. I’d really like it if I could see a drop down list of pages from which you can choose, but that doesn’t appear to be an option by default. Can anyone suggest anything?
Using MODx 0.9.6.3
Matthew
TV input Type: Drop-down Listmenue
Input option values for example:
@SELECT pagetitle,id FROM modx_site_content WHERE deleted != 1 AND hidemenu != 1 AND parent = 1130 ORDER BY `pagetitle` ASC