[Typo3] FE user login in template problem

JoH info at cybercraft.de
Tue Mar 15 14:51:30 CET 2005


> [usergroup = *]
> subparts.LOGIN.value (
> <FORM action="index.php?id=696" method="POST">
> <span class="subhead">Welcome</span>
> <span class="logintext"><!--###username###--> </span><BR>
>
> <input type="submit" value="Log out" class="pushme">
> <input type="hidden" name="logintype" value="logout">
> <p class="logintext"><a href="/index.php?id=704">Update your
> profile</a></p> </form>
>
> )
> [global]
>
> What made me wondering was when I put the code above the code for the
> menu, the menu doesn't get loaded.

I bet there are some curly brackets around the setup part you posted.
--> NO conditions INSIDE brackets.

So this won't work:

temp.test = COA
temp.test {
[system = mac]
10 = TEXT
10.value = MAC
[else]
10 = TEXT
10.value = NOMAC
[global]
20 = TEXT
20.value = Don' care if it's a mac or not
}

while this will:

temp.test = COA
temp.test {
10 = TEXT
10.value = whatever
20 = TEXT
20.value = Don' care if it's a mac or not
}
[system = mac]
temp.test.10 = TEXT
temp.test.10.value = MAC
[else]
temp.test.10 = TEXT
temp.test.10.value = NOMAC
[global]

Joey

-- 
Wenn man keine Ahnung hat: Einfach mal Fresse halten!
(If you have now clues: simply shut your gob sometimes!)
Dieter Nuhr, German comedian
openBC: http://www.openbc.com/go/invuid/Jo_Hasenau





More information about the TYPO3-english mailing list