[Typo3] insert page content in templates?
Anders Carlén
anders at carlens.se
Tue Jun 28 14:58:09 CEST 2005
I´m sorry guys...
the "new school" approach makes me a bit dizzy. I think I am lost in all
the code.
Can I still use the "Old School" method described here:
http://typo3.org/documentation/mailing-lists/english-main-list-archive/thread/196/?tx_maillisttofaq_pi1%5Bmode%5D=5&tx_maillisttofaq_pi1%5Bsword%5D=login&tx_maillisttofaq_pi1%5Banswered_only%5D=0
without problems?
Or will I run into worse problems later on then?
/anders
Peter Russ wrote:
> 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
>
More information about the TYPO3-english
mailing list