[Typo3-dev] GTMENU
JoH
info at cybercraft.de
Wed Sep 7 10:11:53 CEST 2005
>> 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...
??? - any reason for this "own" stylesheet for each page?
AFAIK all the graphics for the GMENU are just created once and then this
image file is used for all pages containing this item.
If there is an additional item this is created once too so you only have to
"edit" the existing stylesheet and use it on every page with includeCSS.
If you include something like a "version counter" into the file name you can
even get rid of caching problems.
Just my 0,02?
Joey
--
Wenn man keine Ahnung hat: Einfach mal Fresse halten!
(If you have no clues: simply shut your knob sometimes!)
Dieter Nuhr, German comedian
openBC: http://www.openbc.com/go/invuid/Jo_Hasenau
More information about the TYPO3-dev
mailing list