I’m working on a client site and they want to incorporate product data (image and description) from the database on a page-by-page basis. The idea is to create a page with information about a specific product, then incorporate the details on the product from the database with a link to purchase the item. My thought is to create the content in a rich text TV. Ideally, I would like to create a small plugin that is called when they go to enter the TV for the page. Instead of just using an @ binding to call the data, I want to present it to them visually in a pop-up window. It would show a list of items, their images and their descriptions that the user could select and embed into the TV. But I’m lost on where to start. Is there a way to call a plugin (or snippet) to populate the TV on a create/edit resource page?
Check out TV-based chunks (
http://wiki.modxcms.com/index.php/Create_TV-Based_Chunks). It’s not exactly what you want, but might get you started.