[Typo3] New: GMENU LAYERS script into External File

Carlos A. Chiari O. ccho at dimension-e.net
Wed Aug 17 01:19:26 CEST 2005


Hi List

Finally I have come to a modified version of the gmenu_layers.php script, to allow external files being generated instead of the code & layers being placed into the html.

For more information, and to get the script in case you want to do your tests, you can go to:

http://www.dimension-e.net/modgmenuscript.html

For this to work, the code was rewriten to allow:
- fix some quote / doublequotes issues that broke the javascript
- add some mechanism to get unique layers name when the "layer_menu_id" property is set
- allow the div html and the js code to be placed into the external files.

Also, take note that the typoscript needs some settings so the external js files keep their name along the whole site:

        layer_menu_id = somename
	imgNameNotRandom = 1

Hope this is useful,

Best regards,

Carlos A. Chiari O. (ccho)

-----------------------
This thread is located in the archive at this URL:
http://typo3.org/documentation/mailing-lists/english-main-list-archive/thread/110134546/
					



More information about the TYPO3-english mailing list