[daisy] What defines the Daisy Home/place you land after login
Vincent Mouton
vincent at postback.be
Thu Sep 13 12:38:53 CDT 2007
> > I sometimes am confused at what happens after a user logs in.
> Sometimes I do
> > land on the Daisy Home (or at least, the page that lists the
> available
> > sites). Sometimes I am redirected to one of the site's homepages.
> >
> > And the Daisy Home link, should that always lead you to the current
> site's
> > home, or is the same functionality applying as what happens after
> login?
>
> Not sure what links you are talking about:
>
> * there's the 'site home' and 'daisy home' links, the 'daisy home'
> link
> brings you to the site index page.
Bruno,
I was actually talking about the 'daisy home' link.
>
> * the top-left logo is also linked to 'home', but in this case this is
> either the 'site home' or the 'daisy home' depending on whether the
> page
> you're currently on is within the context of a site.
>
> Some confusion probably comes from the distinction between pages
> displayed within the context of a site, and those not displayed within
> the context of a site, such as the login, registration, etc.
>
> >
> > 2 questions:
> > - what defines where one will land?
>
> The 'returnTo' request parameter passed to the login page. If no
> returnTo parameter is specified, you will go to the site index page
> after login.
That's the one I needed. Thanks for the info.
>
> The 'Login' link in the user menu is created in menu.xsl, and sets the
> returnTo parameter to the URL of the currently requested page. This
> only
> makes sense for GET requests, therefore the login link is only
> available
> on pages resulting from a GET request.
>
> > - is there a way to define, according to user/role/... where one
> lands after
> > login,
>
> You could generate a link to the login page with an appropriate
> returnTo
> parameter.
>
> > or what sites are shown in the list on the Daisy Home (e.g. everyone
> > in role Clown should not see the list of sites, but should go to the
> > Clown-site; everyone in role Circus should see both the Clown-site
> *and*
> > Acrobat-site)
>
> The list of sites is filtered by leaving out those for which the user
> has no read access to the site home page.
>
Obvious, and even better.
Thanks for the info again,
v
> --
> Bruno Dumon http://outerthought.org/
> Outerthought - Open Source, Java & XML Competence Support Center
> bruno at outerthought.org bruno at apache.org
>
> _______________________________________________
> daisy community mailing list
> Professional Daisy support:
> http://outerthought.org/site/services/daisy/daisysupport.html
> mail to: daisy at lists.cocoondev.org
> list information: http://lists.cocoondev.org/mailman/listinfo/daisy
More information about the daisy
mailing list