[TYPO3-core] RFC: 0002901: API needed to write HTML tags into the FE header tags directly

Dmitry Dulepov dima at spamcop.net
Fri Mar 17 15:43:41 CET 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi!

Franz Holzinger wrote:
> Description: A FE method is needed to write HTML code directly inside
> of the <head> tags. This is needed for AJAX.
> 
> 
> Problem: It is already possible to put JavaScript code into the HTML
> header of a page. However if you want to use AJAX then the AJAX
> engine itself produces all JavaScript code for you. This includes
> already the <script> tags with additional attributes. E.g. the XAJAX
> extension from Elmar Hinz produces the line ----------- <script
> type="text/javascript"
> src="typo3/ext/xajax/xajax_js/xajax.js"></script> -------------- in
> order to include JavaScript code from inside of a file.
> 
> At the moment JavaScript from XAJAX can only be used inside of a DIV
> tag. It would however be better not to have the same code in every
> DIV tag which needs AJAX.
> 
> The attached file has been produced with the latest development
> version of tt_products with the categories list display using select
> boxes and JavaScript to fill the second and third select box on the
> change of the select box before. At the end the article of the
> selected category should be shown using AJAX.

- -1 because $GLOBALS['TSFE']->additionalHeaderData[] exists for this. If
I am wrong or you cannot use it, explain why, please.

Dmitry.
- --
"It is our choices, that show what we truly are,
far more than our abilities." (A.P.W.B.D.)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (MingW32)

iD8DBQFEGssdRVcYnKJ8N6kRAv7XAJ9MroEKCuPa8k3ZSGTvN+S5l57oqQCgzY0T
m+bZyIg3enAgk9ppJ7FKmsg=
=iPy6
-----END PGP SIGNATURE-----



More information about the TYPO3-team-core mailing list