[TYPO3-core] FYI: Fixed formURL issue in fe_adminLib.inc

Michael Stucki michael at typo3.org
Thu Feb 23 22:50:16 CET 2006


Hi Ingmar,

> > The same thing you will find in every extension using URLs as markers.
> > So I think the typoLink function should provide this feature as a
> > paramter. However "###FORM_URL###&cmd=edit" translated into
> > "index.php?&cmd=edit" would still be wrong.
>
> Well, index.php?&cmd=edit works, that's what's important.

It works, but it is not valid. However, you are right that this must be 
changed inside the template, not in fe_adminLib.inc.

> > The '&' must get htmlspecialchared.
>
> You could easily achieve that by writing ###FORM_URL###&cmd=edit
> into your template.

Right.

> > You have to parse the &cmd=edit after the ###FORM_URL### and provide
> > the string until the first space character as additional new paramter
> > to the Typo-link function.
>
> I agree that would be the way to go, but I think there's no point in
> improving the old fe_adminLib.inc in such a way. I think someone should
> come up with a better and more future-proof solution to Frontend editing.

+1 for replacing fe_adminLib.inc with something better :-)

Michael
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20060223/b47736a0/attachment.pgp 


More information about the TYPO3-team-core mailing list