[TYPO3-german] Re: Typo3 6.2 Menu mit Bilder aus Seiteneigenschaften
Stefan Barkey
mackermit at neuerdinx.de
Wed Dec 13 19:58:11 CET 2017
OK, wer Lust hat kann sich das Script mal anschauen. Habe es in eine Text-Datei gepackt.
Und hier noch zum anschauen:
page = PAGE
page{
config.doctype = html5
meta.author = Autor der Seite
meta.description = Beschreibung
# CSS-Datei einfügen
includeCSS{
main = fileadmin/templates/stylesheet.css
main.title = main
main.media = all
}
# Designvorlage integrieren
10 = FLUIDTEMPLATE
10 {
file = fileadmin/templates/default.html
variables {
mainFooter = TEXT
mainFooter.value = Text im mainFooter
# Menue erstellen
mainNavi = HMENU
mainNavi {
special = directory
special.value = 1
wrap = <ul class='mainnavi'>|</ul>
1 = TMENU
1 {
NO {
wrapItemAndSub = <li>|</li>
stdWrap.cObject = COA
stdWrap.cObject {
10 = FILES
10 {
references {
table = pages
uid.field = uid
fieldName = media
data = media
required = 1
treatIdAsReference = 1
listNum = 0
}
renderObj = IMAGE
renderObj {
file {
treatIdAsReference = 1
import.data = file: current:publicUrl
width = 91
height = 45
}
altText.data = file:current:description // file:current:title // file:current:alternative
titleText.data = file:current:title
}
}
}
}
}
}
contentMain < styles.content.get
}
}
}
begin 644 TypoScript.txt
M<&%G92`](%!!1T4*<&%G97L*("!C;VYF:6<N9&]C='EP92`](&AT;6PU"B`@
M;65T82YA=71H;W(@/2!!=71O<B!D97(@4V5I=&4*("!M971A+F1E<V-R:7!T
M:6]N(#T at 0F5S8VAR96EB=6YG"B`@"B`@(R!#4U,M1&%T96D at 96EN9L.\9V5N
M"B`@:6YC;'5D94-34WL*("`@(&UA:6X@/2!F:6QE861M:6XO=&5M<&QA=&5S
M+W-T>6QE<VAE970N8W-S"B`@("!M86EN+G1I=&QE(#T@;6%I;@H@("`@;6%I
M;BYM961I82`](&%L;"`*("!]"B`@(R!$97-I9VYV;W)L86=E(&EN=&5G<FEE
M<F5N"B`@,3`@/2!&3%5)1%1%35!,051%"B`@,3`@>PH@("`@9FEL92`](&9I
M;&5A9&UI;B]T96UP;&%T97,O9&5F875L="YH=&UL"B`@("!V87)I86)L97,@
M>PH@("`@("!M86EN1F]O=&5R(#T at 5$585`H@("`@("!M86EN1F]O=&5R+G9A
M;'5E(#T at 5&5X="!I;2!M86EN1F]O=&5R"B`@("`@(`H@("`@("`*("`@("`@
M(R!-96YU92!E<G-T96QL96X*("`@("`*("`@("`@;6%I;DYA=FD@/2!(345.
M50H@("`@("!M86EN3F%V:2!["B`@("`@("`@<W!E8VEA;"`](&1I<F5C=&]R
M>0H@("`@("`@('-P96-I86PN=F%L=64@/2`Q"B`@("`@("`@=W)A<"`](#QU
M;"!C;&%S<STG;6%I;FYA=FDG/GP\+W5L/@H@("`@("`@(#$@/2!4345.50H@
M("`@("`@(#$@>PH@("`@("`@("`@3D\@>PH@("`@("`@("`@("!W<F%P271E
M;4%N9%-U8B`](#QL:3Y\/"]L:3X*("`@("`@("`@("`@<W1D5W)A<"YC3V)J
M96-T(#T at 0T]!"B`@("`@("`@("`@('-T9%=R87`N8T]B:F5C="!["B`@("`@
M("`@("`@("`@,3`@/2!&24Q%4PH@("`@("`@("`@("`@(#$P('L*("`@("`@
M("`@("`@("`@(')E9F5R96YC97,@>PH@("`@("`@("`@("`@("`@("!T86)L
M92`]('!A9V5S"B`@("`@("`@("`@("`@("`@('5I9"YF:65L9"`]('5I9`H@
M("`@("`@("`@("`@("`@("!F:65L9$YA;64@/2!M961I80H@("`@("`@("`@
M("`@("`@("!D871A(#T@;65D:6$*("`@("`@("`@("`@("`@("`@<F5Q=6ER
M960@/2`Q"B`@("`@("`@("`@("`@("`@('1R96%T261!<U)E9F5R96YC92`]
M(#$*("`@("`@("`@("`@("`@("`@;&ES=$YU;2`](#`*("`@("`@("`@("`@
M("`@('T*("`@("`@("`@("`@("`@(')E;F1E<D]B:B`]($E-04=%"B`@("`@
M("`@("`@("`@("!R96YD97)/8FH@>PH@("`@("`@("`@("`@("`@("!F:6QE
M('L*("`@("`@("`@("`@("`@("`@("!T<F5A=$ED07-2969E<F5N8V4@/2`Q
M"B`@("`@("`@("`@("`@("`@("`@:6UP;W)T+F1A=&$@/2!F:6QE.B!C=7)R
M96YT.G!U8FQI8U5R;`H@("`@("`@("`@("`@("`@("`@('=I9'1H(#T at .3$*
M("`@("`@("`@("`@("`@("`@("!H96EG:'0@/2`T-0H@("`@("`@("`@("`@
M("`@("!]"B`@("`@("`@("`@("`@("`@(&%L=%1E>'0N9&%T82`](&9I;&4Z
M8W5R<F5N=#ID97-C<FEP=&EO;B`O+R!F:6QE.F-U<G)E;G0Z=&ET;&4 at +R\@
M9FEL93IC=7)R96YT.F%L=&5R;F%T:79E"B`@("`@("`@("`@("`@("`@('1I
M=&QE5&5X="YD871A(#T at 9FEL93IC=7)R96YT.G1I=&QE"B`@("`@("`@("`@
M("`@("!]"B`@("`@("`@("`@("`@?0H@("`@("`@("`@("!]"B`@("`@("`@
M("!]"B`@("`@("`@?0H@("`@("!]"B`@("`*("`@("`@8V]N=&5N=$UA:6X@
G/"!S='EL97,N8V]N=&5N="YG970*("`@('T@"B`@("`*("!]"GT*
`
end
--
Typo3 8.7.8
More information about the TYPO3-german
mailing list