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 Bon <bo...@unipattern.com> on 2008/06/18 12:02:01 UTC

How can I set the default psml for user

Hi all,

   How can I set a default psml for user to be the user's homepage?
   and what is psml.page.default in conf/jetspeed.properties using for?

   can I change the default page for guest? just change a configuration 
   or must to modify some code?

Best regards,
Bon
-- 
View this message in context: http://www.nabble.com/How-can-I-set-the-default-psml-for-user-tp17979187p17979187.html
Sent from the Jetspeed - User mailing list archive at Nabble.com.


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


Re: How can I set the default psml for user

Posted by David Sean Taylor <da...@bluesunrise.com>.
On Jun 18, 2008, at 3:02 AM, Bon wrote:

>
> Hi all,
>
>   How can I set a default psml for user to be the user's homepage?
>   and what is psml.page.default in conf/jetspeed.properties using for?
>
>   can I change the default page for guest? just change a configuration
>   or must to modify some code?


When users are created from the User Admin portlet or Registration  
portlet, there is a way to use a "template" for creating that user's  
home pages, including the folder and default page
Look at the preferences for these two portlets in the portlet.xml  
(this is also configurable in edit mode for these two portlets)

<portlet id="UserRegistrationPortlet">
...
         <preference>
             <name>newUserTemplateDirectory</name>
             <value>/_user/template/</value>
         </preference>


<portlet id="UserDetailsPortlet">
...
         <preference>
             <name>newUserTemplateDirectory</name>
             <value></value>
         </preference>



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


Re: AW: How can I set the default psml for user

Posted by Woonsan Ko <wo...@yahoo.com>.
Hi Bon,

I don't know about what is psml.page.default for, but I think you can change the default page name in the folder.metadata by adding default-page element into the folder element.
See http://portals.apache.org/jetspeed-2/guides/guide-psml.html#Folder for details.

Regards,

Woonsan

--- On Thu, 6/19/08, Bon <bo...@unipattern.com> wrote:

> From: Bon <bo...@unipattern.com>
> Subject: Re: AW: How can I set the default psml for user
> To: jetspeed-user@portals.apache.org
> Date: Thursday, June 19, 2008, 10:25 AM
> Hi Raquel,
> 
>    I know that, the default-page.psml is the default page
> for guest :-D,
>    but I want to know how can I change that to another
> psml, 
>    maybe change to a psml named index.psml, and when user
> login success
>    the default page is a psml named my-index.psml
> 
> Bon
> 
> 
> Raquel Cruz wrote:
> > 
> > Hi Bon
> > 
> > The default page to guest is in next folder:
> > \webapps\jetspeed\WEB-INF\pages
> > and its name is "default-page.psml"
> > 
> > Raquel
> > 
> > 
> 
> -- 
> View this message in context:
> http://www.nabble.com/How-can-I-set-the-default-psml-for-user-tp17979187p17995459.html
> Sent from the Jetspeed - User mailing list archive at
> Nabble.com.
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> jetspeed-user-unsubscribe@portals.apache.org
> For additional commands, e-mail:
> jetspeed-user-help@portals.apache.org


      

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


Re: AW: How can I set the default psml for user

Posted by Bon <bo...@unipattern.com>.
Hi Raquel,

   I know that, the default-page.psml is the default page for guest :-D,
   but I want to know how can I change that to another psml, 
   maybe change to a psml named index.psml, and when user login success
   the default page is a psml named my-index.psml

Bon


Raquel Cruz wrote:
> 
> Hi Bon
> 
> The default page to guest is in next folder:
> \webapps\jetspeed\WEB-INF\pages
> and its name is "default-page.psml"
> 
> Raquel
> 
> 

-- 
View this message in context: http://www.nabble.com/How-can-I-set-the-default-psml-for-user-tp17979187p17995459.html
Sent from the Jetspeed - User mailing list archive at Nabble.com.


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


Re: AW: How can I set the default psml for user

Posted by Raquel Cruz <rm...@gmail.com>.
Hi Bon

The default page to guest is in next folder:
\webapps\jetspeed\WEB-INF\pages
and its name is "default-page.psml"

Raquel

2008/6/18 Bon <bo...@unipattern.com>:

>
> Hi David,
>
>   I'm working in J2 (2.1.3)
>
> Bon
>
>
> David Psiuk-2 wrote:
> >
> > js1 or js2?
> >
> >
> > -----Ursprüngliche Nachricht-----
> > Von: Bon [mailto:bonbon@unipattern.com]
> > Gesendet: Mittwoch, 18. Juni 2008 12:02
> > An: jetspeed-user@portals.apache.org
> > Betreff: How can I set the default psml for user
> >
> >
> > Hi all,
> >
> >    How can I set a default psml for user to be the user's homepage?
> >    and what is psml.page.default in conf/jetspeed.properties using for?
> >
> >    can I change the default page for guest? just change a configuration
> >    or must to modify some code?
> >
> > Best regards,
> > Bon
> > --
> > View this message in context:
> >
> http://www.nabble.com/How-can-I-set-the-default-psml-for-user-tp17979187p179
> > 79187.html
> > Sent from the Jetspeed - User mailing list archive at Nabble.com.
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
> > For additional commands, e-mail: jetspeed-user-help@portals.apache.org
> >
> >
> >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
> > For additional commands, e-mail: jetspeed-user-help@portals.apache.org
> >
> >
> >
>
> --
> View this message in context:
> http://www.nabble.com/How-can-I-set-the-default-psml-for-user-tp17979187p17980013.html
> Sent from the Jetspeed - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
> For additional commands, e-mail: jetspeed-user-help@portals.apache.org
>
>

Re: AW: How can I set the default psml for user

Posted by Bon <bo...@unipattern.com>.
Hi David,

   I'm working in J2 (2.1.3)

Bon


David Psiuk-2 wrote:
> 
> js1 or js2?
>  
> 
> -----Ursprüngliche Nachricht-----
> Von: Bon [mailto:bonbon@unipattern.com] 
> Gesendet: Mittwoch, 18. Juni 2008 12:02
> An: jetspeed-user@portals.apache.org
> Betreff: How can I set the default psml for user
> 
> 
> Hi all,
> 
>    How can I set a default psml for user to be the user's homepage?
>    and what is psml.page.default in conf/jetspeed.properties using for?
> 
>    can I change the default page for guest? just change a configuration 
>    or must to modify some code?
> 
> Best regards,
> Bon
> -- 
> View this message in context:
> http://www.nabble.com/How-can-I-set-the-default-psml-for-user-tp17979187p179
> 79187.html
> Sent from the Jetspeed - User mailing list archive at Nabble.com.
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
> For additional commands, e-mail: jetspeed-user-help@portals.apache.org
> 
> 
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
> For additional commands, e-mail: jetspeed-user-help@portals.apache.org
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/How-can-I-set-the-default-psml-for-user-tp17979187p17980013.html
Sent from the Jetspeed - User mailing list archive at Nabble.com.


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


AW: How can I set the default psml for user

Posted by David Psiuk <ap...@salesfactory.org>.
js1 or js2?
 

-----Ursprüngliche Nachricht-----
Von: Bon [mailto:bonbon@unipattern.com] 
Gesendet: Mittwoch, 18. Juni 2008 12:02
An: jetspeed-user@portals.apache.org
Betreff: How can I set the default psml for user


Hi all,

   How can I set a default psml for user to be the user's homepage?
   and what is psml.page.default in conf/jetspeed.properties using for?

   can I change the default page for guest? just change a configuration 
   or must to modify some code?

Best regards,
Bon
-- 
View this message in context:
http://www.nabble.com/How-can-I-set-the-default-psml-for-user-tp17979187p179
79187.html
Sent from the Jetspeed - User mailing list archive at Nabble.com.


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





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