[TYPO3-english] PAGE in COA_INT?

Stephan Schuler Stephan.Schuler at netlogix.de
Thu May 15 12:05:08 CEST 2014


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Hey there.

Maybe I wasn't clear enough.

I would create a dynamic list of every available file.
This dynamic list can be either created and stored in the file system, or it can just provide inline JS and CSS.
There is no need to skip TYPO3 caching for this list, because it doesn't change a lot.

Hint:
> $GLOBALS['TSFE']-> getPageRenderer()->addJsFooterLibrary('listOfAvailableBackgroundImages', $pathToThatFile, TRUE);

This way the client doesn't need to "read the file system" in any way. The client can just rely on having a complete list provided as inline JS.

Regards,



Stephan Schuler
Web-Entwickler

Telefon: +49 (911) 539909 - 0
E-Mail: Stephan.Schuler at netlogix.de
Website: media.netlogix.de



- -----------------------------
PRTG Network Monitor
Lernen Sie, wie Sie Ihr Netz einfach und effektiv überwachen können. Jetzt anmelden zum netlogix-Event am 27.05.2014:
Jetzt anmelden: http://it-training.netlogix.de/angebote/events/prtg-network-monitor

Citrix XenApp & Desktop 7.5 – Das Wichtigste in einem Tag
Lernen Sie die neue Version kennen. Jetzt anmelden zum netlogix 79er Seminar am 18.06.2014 für nur 79.- EUR:
Jetzt anmelden: http://it-training.netlogix.de/angebote/79ers/citrix-xendesktop-75
- ------------------------------------



- --
netlogix GmbH & Co. KG
IT-Services | IT-Training | Media
Neuwieder Straße 10 | 90411 Nürnberg
Telefon: +49 (911) 539909 - 0 | Fax: +49 (911) 539909 - 99
E-Mail: info at netlogix.de | Internet: http://www.netlogix.de

netlogix GmbH & Co. KG ist eingetragen am Amtsgericht Nürnberg (HRA 13338)
Persönlich haftende Gesellschafterin: netlogix Verwaltungs GmbH (HRB 20634)
Umsatzsteuer-Identifikationsnummer: DE 233472254
Geschäftsführer: Stefan Buchta, Matthias Schmidt



- -----Ursprüngliche Nachricht-----
Von: typo3-english-bounces at lists.typo3.org [mailto:typo3-english-bounces at lists.typo3.org] Im Auftrag von Jacco van der Post
Gesendet: Donnerstag, 15. Mai 2014 09:31
An: typo3-english at lists.typo3.org
Betreff: Re: [TYPO3-english] PAGE in COA_INT?

Thx for your reactions.

Loek, I did some benchies on your script. I use it to load a large bg image on the body tag. Congratz ;-) your script is about 100 to 150ms faster each page refresh compared to the inline typoscript solution. So I gonna tweak it a bit and use it, thanks!

A JS only solution without Ajax or PHP for random images, is not very flexible, client sided javascript cannot read out how many image files there are, and probably you have to use fixed names like bg_X.jpg to X-loop the images.


- --
Kind Regards

Jacco van der Post
_______________________________________________
TYPO3-english mailing list
TYPO3-english at lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english

-----BEGIN PGP SIGNATURE-----
Version: PGP Universal 3.3.2 (Build 15238)
Charset: utf-8

wpUDBQFTdJFWpp0IwsibV8MBCCCuA/9BBHUmuO5Pe+osk0plQ71R0SpowS2aZ7lC
vT49wMYVJpMqmI8SBZfzg5+rZiPyJPsziqW+JwbT42blsMYeM5awN5ZP28Z42HWU
y044RzZ0+SuCsFNxd+PVT20clgZJpSs+bYZLaxNk+oGzVZ5jufRl7XlanYrQ5RYU
rSFl1w34hg==
=FUfr
-----END PGP SIGNATURE-----


More information about the TYPO3-english mailing list