[TYPO3] Insertion of values from $_SESSION into a HTML cObject
hasse at ebisu.dk
hasse at ebisu.dk
Tue Feb 28 08:16:54 CET 2006
Citat Kilian Hann <kilian.hann at gmx.de>:
> Hasse Feldthaus wrote:
> > Hi ...
>
> > I have some HTML cObjects on different pages, containing HTML form input
> > fields. Every time a HTML form is submittet, I (by the action parameter of
> > the form) stuff whatever the user has entered into $_SESSION before the
> user
> > is directed to the next part of the form. If the user browses thru earlier
> > filled pages, I want the fields to be preloaded with the data entered
> > earlier.
> >
>
> As the name HTML cOject suggests, I think it doesn't support PHP ;-)
>
> Why don't you use an extension and render the form in it (via a
> templatefile) as well as the userdata (if there's already some in the
> session)?
> If you just need a very small amount of PHP data to be processed in an
> TYPO3 content element, there's an extension
> http://typo3.org/extensions/repository/search/lumophpinclude/1.0.3/
> which handles PHP code via the eval() function.
>
> But I would really recommend that you write an extension for that...
Thanks for the advice Kilian.
If I had gotten your advice a month ago, I might had considered it too. But
right now I am just too far down this other road (and too darn close to
deadline).
So if anyone has another suggestion that does not involve altering the whole
project... :-o
(-:H at zze
----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.
More information about the TYPO3-english
mailing list