[12:19:42 CST(-0600)] <EricDalquist> any ideas on how in code I can check if a user has specifically selected a skin?
[12:21:34 CST(-0600)] <athena> like in what context? for the current user, or for some arbitrary one
[12:21:44 CST(-0600)] <EricDalquist> yeah current user
[12:21:49 CST(-0600)] <EricDalquist> for our portal vhosting stuff
[12:22:04 CST(-0600)] <EricDalquist> I have a little dlm processor that sets your skin based on some groups/attributes
[12:22:12 CST(-0600)] <EricDalquist> but I need to let users select their own skin too
[12:22:23 CST(-0600)] <EricDalquist> so I need to check if they have actually picked a skin or if they are just using the default
[12:22:28 CST(-0600)] <EricDalquist>
[12:28:03 CST(-0600)] <EricDalquist> man do I wish we had real DAOs for all this layout stuff
[12:28:20 CST(-0600)] <athena> no kidding
[12:28:20 CST(-0600)] <EricDalquist> it would be so easy to just check with UserLayoutParameter DAO
[12:28:34 CST(-0600)] <athena> i knwo the skin name is visible to the theme
[12:28:39 CST(-0600)] <EricDalquist> right
[12:28:40 CST(-0600)] <athena> presumably you could get it from the same place?
[12:28:45 CST(-0600)] <EricDalquist> so it is in the ThemeStylesheetUserPreferences
[12:28:57 CST(-0600)] <EricDalquist> but the problem is the default skin is set in there if the user has no override
[12:29:12 CST(-0600)] <EricDalquist> so simply checking with the skin preference is set doesn't really help
[12:31:55 CST(-0600)] <EricDalquist> yeah so it is one method in RDBMDistributedLayoutStore that loads the defaults from the file and reads from the DB
[12:32:09 CST(-0600)] <EricDalquist> so there is no way to determine if a user has picked a specific skin right now
[12:32:13 CST(-0600)] <EricDalquist> yay
General
Content
Integrations