[TYPO3] TemplaVoila and log in form howto
litter
graastein at gmail.com
Wed Jan 10 23:11:11 CET 2007
litter wrote:
> Hello
>
> Is i possible to "activate" the login form in this template:
> http://www.openwebdesign.org/design/2461/greenery/menu.html ?
>
> Not by inserting content elements, but mapping the form.
>
> Is this possible with TemplaVoila?
>
> The mediatech template(http://mediatech.net/) has this feature, but it
> is not made with Templavoila.
>
> Kristian
I mapped the div using the same setup as when mapping the menu.
<div id="login">
<form method="post" action="">
<input type="text" class="text" maxlength="64" name="keywords" />
<input type="text" class="text" maxlength="64" name="keywords" />
<input type="submit" class="submit" value="Logg inn" />
</form>
</div>
Then I could use the code on this site:
http://www.typo3wizard.com/en/snippets/cool-stuff-typoscript/typoscript-loginbox-using-kb-md5feuser-and-newloginbox.html
some of the code:
10.value = <input type="hidden" name="logintype" value="login" />
20 = TEXT
20.value = {$plugin.tx_newloginbox.storageUID}
20.wrap = <input type="hidden" name="pid" value="|" />
A form is inserted, and filled with the right values, but when I click
the "Login" button the url is http://{$plugin.tx_newloginbox.storageUID}
Clearly I am doing something wrong. Anyone have a clue?
Thanks
Kristian
More information about the TYPO3-english
mailing list