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

    Is there some add-on to select template dynamically depending on monitor definition (also wronly named "monitor resolution") ?

    Requirements:
    - for Evo (as I want to stay with it)
    - not depending on Javascript
    - automatic selection of the right template
    - not depending on parameters passed in the url
    (and allowing a unique friendly url per document)
    - possibility to target the same template for several definitions
    (some "if then" logic via a config file would be nice)
    - not based on subdomains, as the data will remain the same whichever the monitor definition

    I'm aware that CSS can do a lot, but I'm trying to keep things simple and prefer using few templates stored in text files.

    Before trying to further improve the LoadTemplate plugin,
    (see https://forums.modx.com/index.php?topic=37897.0),
    I wonder if something already exists that could be used together or merged with the LoadTemplate plugin.

    Thanks