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

Ingmar Schlecht ingmar at typo3.org
Thu Feb 23 21:57:37 CET 2006


Franz Holzinger wrote:
> 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.

> The '&' must get htmlspecialchared.

You could easily achieve that by writing ###FORM_URL###&cmd=edit
into your template.

> 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.

cheers,
Ingmar



More information about the TYPO3-team-core mailing list