I just received another question via email asking me if I could force portals to have particular styles, overriding the default user style but if none is specified, go ahead and use the default style.
The short answer is yes. I can force a portal to use a particular style instead of the user default. It will work just like defining a style for a forum. If you specify one, it'll use it, otherwise, it will use the user's individual default.
For example, if I have a sports forum and I create a sports style specifically for the sports forums and subforums. I create a sports portal.
When User A views my politics forum, the portal uses his default style, liquid grey. But when he views the sports portal, it uses the sports style. When he goes to the entertainment portal, back to liquid grey.
I haven't coded this yet because I want to finish the article module. But I looked at the logic for the code and its pretty darned easy. I'll have a working example by Friday.
|