The icon is stored in the modx_content_type table and with pdoResources you generally query the resources in modx_site_content.
There is the possibiliy to add joins to the pdoResources call to connect to other database tables.
Code like this seems to work (but I’m not sure how helpful this really is).
However, I take your point about it perhaps not actually being that useful since we’d have to load and use the same icon fonts on the front end - not the end of the world but somewhat limiting. Good to know it can be done but I’ll stick with my original method for now.
Also useful to learn that pdoResources can accept joins
This topic was automatically closed 2 days after discussion ended and a solution was marked. New replies are no longer allowed. You can open a new topic by clicking the link icon below the original post or solution and selecting “+ New Topic”.