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&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&lenya.step=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 --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]