Do a "View source" on the page and see where it's looking for the CSS file. Then compare that with the actual file location. If the .css files are in the styles directory, you probably want this style for the TV:
The TV value may not be set at the time the chunk is parsed. You could try calling the TV tag uncached like this:
Or you could just put the CSS href in the template itself, which would be more efficient.
Tried it both ways Bob, in the header chunk, and in the template itself, with and without the caching. Still not working.
Now my original setup isn't working anymore, hope I didn't break anything, gotta get it back right.
I can't think of anything that would explain that. If the TV name were wrong or it was not attached to that template, it would have no value. And it would never get the default value if there was a value set for that resource.
I would got to PhpMyAdmin and look in the modx_site_tmplvar_contentvalues table to see if the values are really there. The contentid field will be the ID of the resource and the value field will show the setting of the TV for that resource.
Are you sure you have save permission for template variables and no Form Customization rules are set for that TV? I guess it's also possible that your input option values are malformed or that it doesn't like the / character.
You did remember to save the resource after setting the TV, right?
yes I did save the resource, but I think that may be where the issue is. I used the same css resource I created to have access to that color.css file. It has the content type: css.
I will create a fresh resource and try to see if the TV works with it, using html as content type.
Yes, that might keep the TV from being processed correctly.
Well still not working. I've reverted back to the initial setup I had and at least I am able to change colors again that way.
Gotta hit the books again and try to figure this out, the concept seems so simple. It just has to work Bob, know what I mean?
Calling it a night for now. Thanks for all your help guys, it's really appreciated, trust me.
Have you tried the way I said, I know that works as I use it on my site to select facilities ;o)