On Sep 5, 2007, at 8:30 AM, [EMAIL PROTECTED] wrote:
David Sean Taylor <[EMAIL PROTECTED]> wrote on 04/09/2007
20:01:40:
The directories can be added anywhere in the site (under the pages
directory)
For example, if you wanted to have special page for all IE 5 Mac
guest users, you could add under the guest user:
_user/guest/_user.agent/ie5mac/default-page.psml
This would require a profiling rule to handle the user agent:
Aaaah, that's very nifty indeed!
However, what I was looking for was how to set a different theme
according
to a detected user agent and it's capabilities.
The theme is one of the attributes that you would set in your agent
specific PSML
Say we have the default-page.psml in the /_user/guest/default-page.psml
It would have a theme such as:
<defaults
layout-decorator="tigris"
portlet-decorator="tigris"
/>
and then in the /_user/guest/_user.agent/playstation/default-
page.psml, set the theme for the different browser:
<defaults
layout-decorator="playstation"
portlet-decorator="playstation"
/>