On 2005-06-13 13:22:39 -0400, <[EMAIL PROTECTED]> said:

On 6/13/05, Sean Fulton <[EMAIL PROTECTED]> wrote:
Does anyone have an example of how to add a login form to pages on a
site? I've looked through login.xsl and I'm not getting it. How can one
reuse this to functionality on other pages?

For the global login, just add a link to the usecase:
<A HREF="/index.html?lenya.usecase=login&amp;lenya.step=login"><i18n: text>Login</i18n:text></A>

You probably need to create the path correctly, using {$url} or
building it like:
<A HREF="{$root}/index_{$language}.html?lenya.usecase=login&amp;lenya.s tep=login"><i18n:text>Login</i18n:text></A>

I put it in common.xsl, which is imported by all page2xhtmls for the
header and footers.

---
I'll put instructions for my rather complicated "Login/Registration"
page on my site tonight.  It is a Usecase with 2 Flows.  It is
probably overkill for most sites, but is a good demonstration of what
is possible.

solprovider

Thanks. Actually, I'm looking to put a login form on on (almost) every page the same way you'd have a search form on every page.

        Sean



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to