You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jetspeed-user@portals.apache.org by cherry coke <rs...@hotmail.com> on 2007/12/13 09:45:04 UTC

portal customization

I´m trying that every user of the jetspeed portal can customize his home page. I mean that after the user authenticates (validates) he acceds to his own portal page, where he can add new portlets.
If you authenticate against LDAP ¿Does jetspeed create the folders (where the psml files are stored) for the new user (rol)?

_________________________________________________________________
La vida de los famosos al desnudo en MSN Entretenimiento
http://entretenimiento.es.msn.com/

Re: portal customization

Posted by David Sean Taylor <da...@bluesunrise.com>.
On Dec 14, 2007, at 10:01 AM, David Sean Taylor wrote:

>
> On Dec 13, 2007, at 12:45 AM, cherry coke wrote:
>
>> I´m trying that every user of the jetspeed portal can customize  
>> his home page. I mean that after the user authenticates  
>> (validates) he acceds to his own portal page, where he can add new  
>> portlets.
>> If you authenticate against LDAP ¿Does jetspeed create the folders  
>> (where the psml files are stored) for the new user (rol)?
>>
> Both the Registration portlet and User Details portlet have  
> preferences for auto-creating home pages for new users based on two  
> prefs:
>
> 1. the profiling rule
> 2. the template directory
>
> In the default distribution, this feature is turned off
> If you are creating users with the User Details portlet, try:
>
>         <preference>
>             <name>defaultProfile</name>
>             <value>user-role-fallback</value>
>         </preference>
>         <preference>
>             <name>newUserTemplateDirectory</name>
>             <value>/_user/template</value>
>         </preference>
>
> you can also preconfigure users with j2-seed.xml and setup the  
> profiling rule and template
Here is a new feature in the pipelines.xml:

<!--
       To create a new page when a user first logs in from their roles,
       add this valve after each profilerValve entry in the pipeline  
configs
       below
    -->
   <bean id="createPageValve"
         class="org.apache.jetspeed.profiler.impl.CreatePageValveImpl"
   >
    <constructor-arg index="0">
        <ref bean="PortletActionSecurityBehavior" />
    </constructor-arg>
   </bean>

   <!--
       To create new pages when a user first logs in from user  
template pages,
       add this valve after each profilerValve entry in the pipeline  
configs
       below
    -->
   <bean id="createUserTemplatePagesValve"
          
class="org.apache.jetspeed.profiler.impl.CreateUserTemplatePagesValveImp 
l"
   >

I think in the future, features like this should be always hooked in  
but enabled/disabled at runtime


Re: portal customization

Posted by David Sean Taylor <da...@bluesunrise.com>.
On Dec 13, 2007, at 12:45 AM, cherry coke wrote:

> I´m trying that every user of the jetspeed portal can customize his  
> home page. I mean that after the user authenticates (validates) he  
> acceds to his own portal page, where he can add new portlets.
> If you authenticate against LDAP ¿Does jetspeed create the folders  
> (where the psml files are stored) for the new user (rol)?
>
Both the Registration portlet and User Details portlet have  
preferences for auto-creating home pages for new users based on two  
prefs:

1. the profiling rule
2. the template directory

In the default distribution, this feature is turned off
If you are creating users with the User Details portlet, try:

         <preference>
             <name>defaultProfile</name>
             <value>user-role-fallback</value>
         </preference>
         <preference>
             <name>newUserTemplateDirectory</name>
             <value>/_user/template</value>
         </preference>

you can also preconfigure users with j2-seed.xml and setup the  
profiling rule and template

Re: portal customization

Posted by Dennis Dam <d....@hippo.nl>.
What you want is to enable users to add their own portlets and shift 
them around on the page, in their own psml ? It looks like what the 
portlet customizer does. I don't know really a lot about the portlet 
customizer though. Although I think that the customizer let's the user 
*existing* psml files, and doesn't create a new, personalized PSML for 
the user. Maybe this is already available though somewhere, anyone who 
knows this?

Btw, the authentication mechanism does not create new user folders as 
far as I know.

cherry coke wrote:
> I´m trying that every user of the jetspeed portal can customize his home page. I mean that after the user authenticates (validates) he acceds to his own portal page, where he can add new portlets.
> If you authenticate against LDAP ¿Does jetspeed create the folders (where the psml files are stored) for the new user (rol)?
>
> _________________________________________________________________
> La vida de los famosos al desnudo en MSN Entretenimiento
> http://entretenimiento.es.msn.com/
>   


---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-user-help@portals.apache.org