Re: Default Home Pages

2005-02-01 Thread Randy Watler
Frank:
Your scenario is typical. Check out the subsite demo in the cvs HEAD: 
login as subsite/subsite and then as subsite2/subsite2. This is just to 
give you some food for thought... you will no doubt need some 
combination of different Profiler implementation approaches. There are 
recent descriptions of this subsite configuration in the dev mail list.

Archives for the user and dev lists can be located in a few different 
places... I use: http://marc.theaimsgroup.com/

HTH,
Randy
Frank Villarreal wrote:
Thanks Randy.  Let's see ... I currently have a corporate web site that has
general info on my company (about us, contact us, history, etc) ... I've
made that my "public" psml page.  So as per your suggestion, I'll try and
place the psml for this page under the "/pages/_user/guest/" folder.
Somewhere in the layout of that page, I also have a login portlet.  Now when
a "guest" user logs in (and the role changes), I need the user to be routed
to a sub-site (with its own distinct decorators/layouts/portlets) custom
tailored to that user's "role".  For example, I have several basic user
classes ... customer, marketing, sales, csr, administrator, etc.  I'd like
to have a distinct subsite for each of these roles.  Each subsite should
have a distinct look 'n feel ... so implementing these subsites as
"subfolder" links off some "root" portal is not an option ... the subsite
should "be" the new "root" folder once a user logs in.  Of course its not
that simple ... some users (owners), may have multiple "roles" (ie: sales &
marketing).  In those cases, I'd like to map the user either to a subsite
that provides a combo view of the role's portlets ... or provide some kind
of "default" role based on the log in.  In other words have the user mapped
to the role with the highest privileges.  Make sense ... or I am rambling?
PS: Sorry about not reading through the email archive for J2, that usually
the first thing I do before posting a question ... but I couldn't find a
link to it off the portals web site.  Does an email archive even exist for
jetspeed 2?
- Frank
-----Original Message-
From: Randy Watler [mailto:[EMAIL PROTECTED]
Sent: Tuesday, February 01, 2005 11:57 AM
To: Jetspeed Users List
Subject: Re: Default Home Pages
Frank,
There are many "nice" ways to accomplish this with J2 using the Profiler.
Custom home pages per user, group, or role are easily supported. One can
also select different home pages using different profiling rules. Once
you get used to using the profiler, it is fairly powerful and flexible.
In your scenario, I'd suggest placing the "public" home page in
.../pages/_user/guest/default_page.psml. Depending on the profiling rule
you wish to use, you can also place other home pages in
.../pages/_role/*/default_page.psml and/or
.../pages/_group/*/default_page.psml. There are plenty of examples of
profiling in the J2 demo site... default page profiling is treated the
same as any other page as far as the Profiler is concerned.
There is a document in the profiler design-docs that discusses the J2
Profiler and Page Manager functionality. There have also been plenty of
emails on the topic to this list. In the spirit of expanding this email
collection, I'd be happy to help you select a profiling strategy that
will meet your needs. Please provide more detail on how you'd like to
segregate pages on your site by user, roles, and groups and we'll see
how far the Profiler can take you!
Randy

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

 


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


RE: Default Home Pages

2005-02-01 Thread Frank Villarreal
Thanks Randy.  Let's see ... I currently have a corporate web site that has
general info on my company (about us, contact us, history, etc) ... I've
made that my "public" psml page.  So as per your suggestion, I'll try and
place the psml for this page under the "/pages/_user/guest/" folder.
Somewhere in the layout of that page, I also have a login portlet.  Now when
a "guest" user logs in (and the role changes), I need the user to be routed
to a sub-site (with its own distinct decorators/layouts/portlets) custom
tailored to that user's "role".  For example, I have several basic user
classes ... customer, marketing, sales, csr, administrator, etc.  I'd like
to have a distinct subsite for each of these roles.  Each subsite should
have a distinct look 'n feel ... so implementing these subsites as
"subfolder" links off some "root" portal is not an option ... the subsite
should "be" the new "root" folder once a user logs in.  Of course its not
that simple ... some users (owners), may have multiple "roles" (ie: sales &
marketing).  In those cases, I'd like to map the user either to a subsite
that provides a combo view of the role's portlets ... or provide some kind
of "default" role based on the log in.  In other words have the user mapped
to the role with the highest privileges.  Make sense ... or I am rambling?

PS: Sorry about not reading through the email archive for J2, that usually
the first thing I do before posting a question ... but I couldn't find a
link to it off the portals web site.  Does an email archive even exist for
jetspeed 2?

- Frank

-----Original Message-
From: Randy Watler [mailto:[EMAIL PROTECTED]
Sent: Tuesday, February 01, 2005 11:57 AM
To: Jetspeed Users List
Subject: Re: Default Home Pages


Frank,

There are many "nice" ways to accomplish this with J2 using the Profiler.

Custom home pages per user, group, or role are easily supported. One can
also select different home pages using different profiling rules. Once
you get used to using the profiler, it is fairly powerful and flexible.

In your scenario, I'd suggest placing the "public" home page in
.../pages/_user/guest/default_page.psml. Depending on the profiling rule
you wish to use, you can also place other home pages in
.../pages/_role/*/default_page.psml and/or
.../pages/_group/*/default_page.psml. There are plenty of examples of
profiling in the J2 demo site... default page profiling is treated the
same as any other page as far as the Profiler is concerned.

There is a document in the profiler design-docs that discusses the J2
Profiler and Page Manager functionality. There have also been plenty of
emails on the topic to this list. In the spirit of expanding this email
collection, I'd be happy to help you select a profiling strategy that
will meet your needs. Please provide more detail on how you'd like to
segregate pages on your site by user, roles, and groups and we'll see
how far the Profiler can take you!

Randy



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Default Home Pages

2005-02-01 Thread Randy Watler
Frank,
There are many "nice" ways to accomplish this with J2 using the Profiler.
Custom home pages per user, group, or role are easily supported. One can 
also select different home pages using different profiling rules. Once 
you get used to using the profiler, it is fairly powerful and flexible.

In your scenario, I'd suggest placing the "public" home page in 
.../pages/_user/guest/default_page.psml. Depending on the profiling rule 
you wish to use, you can also place other home pages in 
.../pages/_role/*/default_page.psml and/or 
.../pages/_group/*/default_page.psml. There are plenty of examples of 
profiling in the J2 demo site... default page profiling is treated the 
same as any other page as far as the Profiler is concerned.

There is a document in the profiler design-docs that discusses the J2 
Profiler and Page Manager functionality. There have also been plenty of 
emails on the topic to this list. In the spirit of expanding this email 
collection, I'd be happy to help you select a profiling strategy that 
will meet your needs. Please provide more detail on how you'd like to 
segregate pages on your site by user, roles, and groups and we'll see 
how far the Profiler can take you!

Randy
Frank Villarreal wrote:
Thanks for the response Scott.  Does anyone know if there is currently a way
to configure jetspeed 2 to use a different subsite (subfolder) or a
different  once a user logs in?  In other words, I'd like to
have a "public" psml default page ... and then route the user to either a
subsite or a different default-page based on their identity (aka: role,
user, group, etc) once they've logged in.  So far, I haven't been able to
figure out a "nice" way to make j2 do this  it seems that once a user
logs in, they are simply routed back to the "same" default-page specified in
the "folder.metadata" file ... but with new authorized tabs ...
- Frank
-Original Message-
From: Scott T. Weaver [mailto:[EMAIL PROTECTED]
Sent: Tuesday, February 01, 2005 08:57 AM
To: Jetspeed Users List
Subject: Re: Default Home Pages
Hi Frank,
Here is an example of both specifying document order and overriding the
default page (this is defined the folder.metadata).


 home.psml
 marketing.ds
 news.ds
 products.ds
 tools.ds
 training.ds
 solidedge_main.psml
 solid-edge.link
 solid-edge-release-info.link



Frank Villarreal wrote:
 

Forgot to mention, I'm using Jetspeed 2 ...
-Original Message-
From: Frank Villarreal [mailto:[EMAIL PROTECTED]
Sent: Tuesday, February 01, 2005 08:05 AM
To: Jetspeed Users List
Subject: Default Home Pages
There is probably a simple solution for this, but .
I've noticed that under "WEB-INF/pages" there is a "default-page.psml" file
that becomes the "home" page for anyone who navigates to "jetspeed/portal"
using the default configuration. I've also noticed that "default-page.psml"
is not the first page in the portal  it appears that the portal builds
its page links alphabetically if no document order is specified in the
"folder.metadata" file in any given folder.   So my first question is this
... How/where does jetspeed know that the "default-page.psml" should be
rendered first? ... even though it is not the first page in the folder
order???
I've also noticed that there are subfolder for some security roles using
   

the
 

convention "_role/manager, _role/user" etc.  I'm assuming these folders are
meant to contain default home pages for users who log in and belong to
   

those
 

roles?  Is that correct?  If so, it doesn't seem to be working.  I put a
security constraint on the "default-page.psml" file in the root folder to
only allow "guest" and was hoping somehow jetspeed would
"redirect" a user who logs in to an alternate home page in the subfolder
with for the appropriate role/user ... no luck.  Is this how it's supposed
to work or am I dreaming???
Any ideas/hints/ridicules appreciated.  Thanks. :-)
- Frank
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


   


--
"Great minds discuss ideas. Average minds discuss events. Small minds
discuss people."  - Admiral Hyman Rickover
***
*   Scott T. Weaver   *
* <[EMAIL PROTECTED]> *
* <http://www.einnovation.com>*
* --  *
*   Apache Jetspeed Enterprise Portal *
* Apache Pluto Portlet Container  *
* *
* OpenEdit, Website Content Management*
* <http://www.openedit.org>   *
***
---

RE: Default Home Pages

2005-02-01 Thread Frank Villarreal
Thanks for the response Scott.  Does anyone know if there is currently a way
to configure jetspeed 2 to use a different subsite (subfolder) or a
different  once a user logs in?  In other words, I'd like to
have a "public" psml default page ... and then route the user to either a
subsite or a different default-page based on their identity (aka: role,
user, group, etc) once they've logged in.  So far, I haven't been able to
figure out a "nice" way to make j2 do this  it seems that once a user
logs in, they are simply routed back to the "same" default-page specified in
the "folder.metadata" file ... but with new authorized tabs ...

- Frank

-Original Message-
From: Scott T. Weaver [mailto:[EMAIL PROTECTED]
Sent: Tuesday, February 01, 2005 08:57 AM
To: Jetspeed Users List
Subject: Re: Default Home Pages


Hi Frank,

Here is an example of both specifying document order and overriding the
default page (this is defined the folder.metadata).




  home.psml
  marketing.ds
  news.ds
  products.ds
  tools.ds
  training.ds
  solidedge_main.psml
  solid-edge.link
  solid-edge-release-info.link






Frank Villarreal wrote:

>Forgot to mention, I'm using Jetspeed 2 ...
>
>-Original Message-
>From: Frank Villarreal [mailto:[EMAIL PROTECTED]
>Sent: Tuesday, February 01, 2005 08:05 AM
>To: Jetspeed Users List
>Subject: Default Home Pages
>
>
>There is probably a simple solution for this, but .
>
>I've noticed that under "WEB-INF/pages" there is a "default-page.psml" file
>that becomes the "home" page for anyone who navigates to "jetspeed/portal"
>using the default configuration. I've also noticed that "default-page.psml"
>is not the first page in the portal  it appears that the portal builds
>its page links alphabetically if no document order is specified in the
>"folder.metadata" file in any given folder.   So my first question is this
>... How/where does jetspeed know that the "default-page.psml" should be
>rendered first? ... even though it is not the first page in the folder
>order???
>
>I've also noticed that there are subfolder for some security roles using
the
>convention "_role/manager, _role/user" etc.  I'm assuming these folders are
>meant to contain default home pages for users who log in and belong to
those
>roles?  Is that correct?  If so, it doesn't seem to be working.  I put a
>security constraint on the "default-page.psml" file in the root folder to
>only allow "guest" and was hoping somehow jetspeed would
>"redirect" a user who logs in to an alternate home page in the subfolder
>with for the appropriate role/user ... no luck.  Is this how it's supposed
>to work or am I dreaming???
>
>Any ideas/hints/ridicules appreciated.  Thanks. :-)
>
>- Frank
>
>
>-
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>
>
>


--
"Great minds discuss ideas. Average minds discuss events. Small minds
discuss people."  - Admiral Hyman Rickover

***
*   Scott T. Weaver   *
* <[EMAIL PROTECTED]> *
* <http://www.einnovation.com>*
* --  *
*   Apache Jetspeed Enterprise Portal *
* Apache Pluto Portlet Container  *
* *
* OpenEdit, Website Content Management*
* <http://www.openedit.org>   *
***


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Default Home Pages

2005-02-01 Thread Scott T. Weaver
Hi Frank,
Here is an example of both specifying document order and overriding the 
default page (this is defined the folder.metadata).



 home.psml
 marketing.ds
 news.ds
 products.ds
 tools.ds
 training.ds
 solidedge_main.psml
 solid-edge.link 
 solid-edge-release-info.link 




Frank Villarreal wrote:
Forgot to mention, I'm using Jetspeed 2 ...
-Original Message-
From: Frank Villarreal [mailto:[EMAIL PROTECTED]
Sent: Tuesday, February 01, 2005 08:05 AM
To: Jetspeed Users List
Subject: Default Home Pages
There is probably a simple solution for this, but .
I've noticed that under "WEB-INF/pages" there is a "default-page.psml" file
that becomes the "home" page for anyone who navigates to "jetspeed/portal"
using the default configuration. I've also noticed that "default-page.psml"
is not the first page in the portal  it appears that the portal builds
its page links alphabetically if no document order is specified in the
"folder.metadata" file in any given folder.   So my first question is this
... How/where does jetspeed know that the "default-page.psml" should be
rendered first? ... even though it is not the first page in the folder
order???
I've also noticed that there are subfolder for some security roles using the
convention "_role/manager, _role/user" etc.  I'm assuming these folders are
meant to contain default home pages for users who log in and belong to those
roles?  Is that correct?  If so, it doesn't seem to be working.  I put a
security constraint on the "default-page.psml" file in the root folder to
only allow "guest" and was hoping somehow jetspeed would
"redirect" a user who logs in to an alternate home page in the subfolder
with for the appropriate role/user ... no luck.  Is this how it's supposed
to work or am I dreaming???
Any ideas/hints/ridicules appreciated.  Thanks. :-)
- Frank
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

 


--
"Great minds discuss ideas. Average minds discuss events. Small minds discuss 
people."  - Admiral Hyman Rickover
***
*   Scott T. Weaver   *
* <[EMAIL PROTECTED]> *
* *
* --  *
*   Apache Jetspeed Enterprise Portal *
* Apache Pluto Portlet Container  *
* *
* OpenEdit, Website Content Management*
*    *
***
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


RE: Default Home Pages

2005-02-01 Thread Frank Villarreal
Forgot to mention, I'm using Jetspeed 2 ...

-Original Message-
From: Frank Villarreal [mailto:[EMAIL PROTECTED]
Sent: Tuesday, February 01, 2005 08:05 AM
To: Jetspeed Users List
Subject: Default Home Pages


There is probably a simple solution for this, but .

I've noticed that under "WEB-INF/pages" there is a "default-page.psml" file
that becomes the "home" page for anyone who navigates to "jetspeed/portal"
using the default configuration. I've also noticed that "default-page.psml"
is not the first page in the portal  it appears that the portal builds
its page links alphabetically if no document order is specified in the
"folder.metadata" file in any given folder.   So my first question is this
... How/where does jetspeed know that the "default-page.psml" should be
rendered first? ... even though it is not the first page in the folder
order???

I've also noticed that there are subfolder for some security roles using the
convention "_role/manager, _role/user" etc.  I'm assuming these folders are
meant to contain default home pages for users who log in and belong to those
roles?  Is that correct?  If so, it doesn't seem to be working.  I put a
security constraint on the "default-page.psml" file in the root folder to
only allow "guest" and was hoping somehow jetspeed would
"redirect" a user who logs in to an alternate home page in the subfolder
with for the appropriate role/user ... no luck.  Is this how it's supposed
to work or am I dreaming???

Any ideas/hints/ridicules appreciated.  Thanks. :-)

- Frank


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]