[Typo3] insert page content in templates?

Peter Russ peter.russ at 4many.net
Tue Jun 28 12:59:01 CEST 2005


Anders Carlén wrote:


>     stdWrap.dataWrap = <form action="index.php?id={TSFE:id}" 
> method="post">|</form>
{TSFE:id} only makes sense, wenn ALL of your pages has the plugin 
included. I expect that is NOT what you want. So you have to send the 
form TO the page which contains the plugin. And that will also take care 
for redirection!
> 
[...]
>     <input name="logintype" value="login" type="hidden" />
>     <input name="pid" value="46" type="hidden" />
>     <input name="redirect_url" value="index.php?id=47" type="hidden" />
So I would try like this:
lib.forms.logout = COA
lib.forms.logout {
5 = COA
5 {
     stdWrap.dataWrap = <form action="index.php?id={$pidOfLoginPage}" 
method="post">|</form>
}
}

{TSFE:id} is only required if you want to redirect AFTER login/logout to 
the page on which the procedure was started:

<input type="hidden" name="redirect_url" value="index.php?id={TSFE:id}">



Regs. Peter

-- 
_____________________________
4Many® Services
openBC: http://www.openbc.com/go/invuid/Peter_Russ



More information about the TYPO3-english mailing list