We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 38357
    • 178 Posts
    Using Rev. 2.2.1-pl

    Could someone please explain where Manager gets the information to display categories and elements in the Elements List?

    eg - where do the names displayed in Elements>Chunks>Login> come from, and why aren't all the .Tpl files stored at core>components>login>elements>chunks> displayed here?

    Sorry for my ignorance but I'm struggling a bit with some of the detail.

    Thanks
      • 4172
      • 5,888 Posts
      elements (for example chunks) displayed in the Element-Tree are records of db-tables. There are db-tables for each element-class (modChunk, modSnippet, modPlugin, modTemplate, modPlugin, modCategory).

      The tree-nodes have nothing todo with files in a file-directory.
      If you need custom-chunks for Login you need to create a chunk by yourself.

      This can be chunks in the element-tree (db-table-records) or files depending on the tplType - properties.
      Also property - inline - tpls are possible.

      See:
      http://rtfm.modx.com/display/ADDON/Login.Login
        -------------------------------

        you can buy me a beer, if you like MIGX

        http://webcmsolutions.de/migx.html

        Thanks!
        • 38357
        • 178 Posts
        Thanks Bruno17. That explains it.
        I'm having trouble getting front-end editing of profile using Login.UpdateProfile to work so am searching evrywhere for a solution :-(