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 <default-page> 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).


<?xml version="1.0" encoding="UTF-8"?> <folder> <default-page>home.psml</default-page> <document-order>marketing.ds</document-order> <document-order>news.ds</document-order> <document-order>products.ds</document-order> <document-order>tools.ds</document-order> <document-order>training.ds</document-order> <document-order>solidedge_main.psml</document-order> <document-order>solid-edge.link</document-order> <document-order>solid-edge-release-info.link</document-order> </folder>





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, buttttt .....

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 "<roles>guest</roles>" 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]





Reply via email to