We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 3129
    • 1 Posts
    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?
      • 3749
      • 24,544 Posts
      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.
        Did I help you? Buy me a beer
        Get my Book: MODX:The Official Guide
        MODX info for everyone: http://bobsguides.com/modx.html
        My MODX Extras
        Bob's Guides is now hosted at A2 MODX Hosting