In our case, the default-page contains the login portlet.  So, when a
user hits the subsite host and they haven't logged in, the
_user/guest/default-page.psml kicks in.

However, as I recall, we also had to modify the example subsite
profiling rule and apply it to all users including the guest user.

The profiling rule we are using has the following structure:

Name            Value           Resolver Type   Order
navigation              subsite-root    navigation              0
hostname                                        hostname                1
user                                            user                    2
navigation-2    subsite-root    navigation              3
hostname                                        hostname                4
role                                            role                    5
navigation-3    /                       navigation              6
user                                            user                    7
path                    default-page    path                    8


I was not actually the developer that did the work so I'm sorry I
don't have more details.

On Tue, Oct 19, 2010 at 4:46 PM, SriniPitta <[email protected]> wrote:
>
> Hi,
>
> Thanks for your reply. May be i was not clear in my question. I apologize.
> With reference to your reply
> ======================================
> I think we achieved this by making this structure:
>
> pages/__subsite-root/_hostname/mycompany.com/_user/guest/default-page.psml
>
> ========================================
>
> Here, as per my understanding the guest user need to login inside portal to
> see his default page.
>
> However, I am looking for a different default login screen for all the users
> visiting my subsite URL. I want to show users the default login page as soon
> as they request the subsite URL/
>
> Currently the login screen is being shown from /Pages directory.
>
> Can i have my default login psml page under the location:
> pages/__subsite-root/_hostname/mycompany.com/login-page.psml
>
> When users visits: http://mycompany.com/ it should automatically redirect it
> to login-page.psml
>
> I have set it up under above location with security as 'public-view' but the
> login screen under /Pages directory is always overriding mine.
>
> I hope iam able to convey my point.
>
> Thanks,
> Srini.
>
>
> aaronmevans wrote:
>>
>> I think we achieved this by making this structure:
>>
>> pages/__subsite-root/_hostname/mycompany.com/_user/guest/default-page.psml
>>
>>
>>
>> On Tue, Oct 19, 2010 at 12:11 PM, SriniPitta <[email protected]>
>> wrote:
>>>
>>> Hi,
>>>
>>> I am working on subsites and able to create a subsite with the help of
>>> Woonsan. Thankyou woonsan.
>>>
>>> Now I would like to go bit deeper and wanted to know if i can have a
>>> different login page based on my subsite other than jetspeed login page.
>>>
>>> I have a default jetspeed login page being used by existing users. I
>>> created
>>> a new subsite (registration.mycompany.com) and created a psml page that
>>> is
>>> being visible after user signs in jetspeed using default login page.
>>>
>>> I wanted to have a different login page for registration subsite users.
>>> How
>>> can i achieve this?
>>>
>>> Thanks for your help in advance.
>>> --
>>> View this message in context:
>>> http://old.nabble.com/Two-Login-Pages-tp30001792p30001792.html
>>> Sent from the Jetspeed - User mailing list archive at Nabble.com.
>>>
>>>
>>> ---------------------------------------------------------------------
>>> 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]
>>
>>
>>
>
> --
> View this message in context: 
> http://old.nabble.com/Two-Login-Pages-tp30001792p30004285.html
> Sent from the Jetspeed - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> 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