While I have been a long-time supporter of Modx, because I am not a developer and therefore am unable to understand how the building blocks of modx translate into workable solutions, I am still often unable to think of the 'right' way to solve a specific problem like the one that follows:
My client's website has sponsors. These sponsors are represented by hyperlinked logo images (jpg/gif/png) that are currently added by my client through TinyMCE into a single resource. I simply include that resource in my template and it displays the way I want it to.
However, I want to be smarter about this and I started thinking this way:
- what if each sponsor logo was represented as a static resource in the tree under a sponsor element node?
The static resource would use a template that did not have any html output, but would have a number of associated tvs that would let the client put in the sponsor name, the url to link to when you click on the sponsor logo, etc.
The client would maintain the list of sponsors as resources and I would then generate my sponsor bar using getresources or wayfinder.
So, here's the problem:
I don't know whether static resources can work this way. There's no default image content type and I don't really want my client to have to declare a different content type depending on the logo image they have because that's asking too much of them.
Has anyone done something similar to this, or approached it in a different way that works better?
Am I missing some glaringly obvious way to do this?
Thanks in advance.