[Typo3-dev] GTMENU

Stefan Beylen intsys at swissinfo.org
Wed Sep 7 08:49:43 CEST 2005


Christopher wrote:
> Nice work. I'm impressed :-)

thx! wasn't too difficult

> GTMENU or "stdWrap.headerCSS"?

GMENU with IProc that writes additional headerData

> The GTMENU is a good approach (it's on my list of things to experiment
> with as an extension), but another approach I had thought of (for
> dealing with FIR type menus and headers) was to suggest an addition to
> stdWrap such as ".headerCSS" (or maybe a stdWrap hook for the existing
> "page.CSS_inlineStyle") which could be used to add css into a <style>
> block in the head of the page; then config.inlineStyle2TempFile = 1
> would take care of removing the styles to a separate stylesheet.

ok, the problem would be that when a new menuitem is added that a new 
stylesheet has to be written, further - for the headers - on every page 
new stylesheets have to be written. so every single page must have its 
own stylesheet anyway...

> This approach could be used to let any TS object add its own styles
> dynamically to a page/site - though it occurs to me that it might be
> better to make it even more general and just allow it to place any old
> thing in the head of the page (javascripts, meta tags, css...). Does
> this a) make sense to anyone else or b) have serious problems that I
> haven't considered? (either in use or implementation...)

dunno :)
let the others decide...

> Secondly, with respect to your headlines, I've done _almost_ the same
> thing in pure TS. Look at the (ugly) orange headlines at
> http://www.bedlamhost.com/ - I've just redefined lib.stdHeader in my
> main template to achieve this.

ok, an extension that is just installed would be nicer though...

thx for your feedback!




More information about the TYPO3-dev mailing list