We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
  • What would be the best way to make use of getResources properties in this application? For example, if you want a tplFirst and a tplLast or even a tpl_N setting?
      Studying MODX in the desert - http://sottwell.com
      Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
      Join the Slack Community - http://modx.org
      • 28215
      • 4,149 Posts
      There's not really a way ATM, tbh. Since Articles's UI is appealing because it's a static list of settings, I haven't really made a good UI yet for the dynamic properties that tpl_N and such do. (tplLast and tplFirst could be added to the settings list, file a FR).

      Eventually I'd like to find a solution for it, but for now, it's limited. Remember though; all templates and content fields (incl the Container Template) can have MODX tags, so you could just put a getResources/getPage call in there.
        shaun mccormick | bigcommerce mgr of software engineering, former modx co-architect | github | splittingred.com
      • I suppose one could use getResource's default property set. Would settings there be overridden by any properties set in a getResources snippet call elsewhere in the site?
          Studying MODX in the desert - http://sottwell.com
          Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
          Join the Slack Community - http://modx.org
        • Ah, yes, I see what you mean. The internal getPage call used by Articles is just an automated convenience. So I can see not getting too crazy with the options; anybody who wants a seriously customized version can indeed put their own getPage call into the container's main content instead of the automated placeholders.
            Studying MODX in the desert - http://sottwell.com
            Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
            Join the Slack Community - http://modx.org