We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 16741
    • 21 Posts
    I am in the early stages of exploring MODx. My understanding is that {{styles}} is a placeholder for the chunk of that name but I have not found where is it stored. I had expected it to have a document ID and be in the database but it does not seem to be there.

    Laurie Fox
      • 4041
      • 788 Posts
      Look at the top left row of buttons, choose Resources, then Manage Resources. There you will find your templates, template variables, snippets, chunks, and plugins smiley
        xforum
        http://frsbuilders.net (under construction) forum for evolution
        • 16741
        • 21 Posts
        Thanks for the pointer. I have found where the chunk is stored - it is in the database table modx_site_htmlsnippets. I was hoping that the database would also keep track of where each chunk is used, like it does with documents and the search function for documents, but apparently not so. Is there any other way to find out, apart from just remembering?

        Laurie Fox
          • 28042 ☆ A M B ☆
          • 24,524 Posts
          No, you can put chunk, TV and snippet tags anywhere; there’s no way to keep track of that.
            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