[Typo3] New: GMENU LAYERS script into External File

Michael Stucki michael at typo3.org
Sat Aug 27 15:23:40 CEST 2005


Hi Carlos,

sorry I didn't reply earlier.

> 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

I think it shows something different now?

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

Yes it sounds so! Can you please submit a patch to the bugtracker? Maybe it
makes sense to put this into the core...

- michael
-- 
Use a newsreader! Check out
http://typo3.org/community/mailing-lists/use-a-news-reader/



More information about the TYPO3-english mailing list