We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 18908
    • 11 Posts
    Is there any way to have the url determine the template? I've done this in other CMS's and would love to be able to do this with ModX.

    The reason I ask, and if you can think of a better way) is this:

    I am using modx for a financial website, some of the pages are rates tables. I want to be able to display a web page that is only the table without any template around it. I need this so I can take the unformatted table and input into a signage system.

    Right now I am managing two versions of each rate page, one with the regular template, and one that has a blank template applied. So I have to make changes to both pages whenever the rates are updated, which of course isn't as efficient as it could be.
      • 10208 ☆ A M B ☆
      • 1,780 Posts
      You'll want to use a TV to store the table and data, and associate it with both templates if you want to change each separately, or you could simply associate it with one template and call the tv directly in both templates. The template that is not associated with the TV will use the values that you set in the associated template/resource.

      Actually, this is a perfect job for MIGX - this might help you get started with the table:
      http://rtfm.modx.com/display/ADDON/MIGX.Simple+opening+hours+table
        Frogabog- MODX Websites in Portland Oregon
        "Do yourself a favor and get a copy of "MODX - The Official Guide" by Bob Ray. Read it.
        Having server issues? These guys have MODX Hosting perfected - SkyToaster