[TYPO3-UG Italy] menu con la lista dei contenuti
Paolo Bragagni
paolo.bragagni at gmail.com
Thu Sep 27 21:56:49 CEST 2012
E infatti non funziona...
Il giorno 27/set/2012 21.27, "Mauro Lorenzutti" <
mauro.lorenzutti at webformat.com> ha scritto:
> Ciao Paolo,
> Non ero ironico: gli if in typoscript sono veramente ostici!
>
> Ciao,
> Mauro
> Il giorno 27/set/2012 15.25, "Paolo Bragagni" <paolo.bragagni at gmail.com>
> ha
> scritto:
>
> > > benvenuto nel favoloso mondo dell'if :-)
> > hihi hehe... me lo merito...
> > ... ora ci provo...
> > anche se so gia che alla prima non andra MAI!!
> >
> > Il 27 settembre 2012 15:15, Mauro Lorenzutti
> > <mauro.lorenzutti at webformat.com> ha scritto:
> > > Ciao Paolo,
> > >
> > > benvenuto nel favoloso mondo dell'if :-)
> > >
> > > non ho provato ma così dovrebbe andare:
> > >
> > > [...]
> > > stdWrap.if.value = 1
> > > stdWrap.if.isGraterThan.numRows {
> > >
> > > table = tt_content
> > > select {
> > > where = sectionIndex!=0
> > > andWhere = colPos =0
> > > andWhere = hidden =0
> > > pidInList = this
> > > pidInList.override.field = pages
> > > }
> > > }
> > > [...]
> > >
> > > Ciao,
> > > --
> > >
> > > Mauro Lorenzutti
> > >
> > > CTO / Software Architect
> > > mauro.lorenzutti at webformat.com
> > > Tel. +39-0427-926.389
> > >
> > > WEBFORMAT srl -- www.webformat.com
> > > Via S. Francesco d'Assisi, 6 -- 20122 MILANO
> > > Corte Europa, 12 - 33097 SPILIMBERGO (PN)
> > >
> > > *** TYPO3 Certified Integrator ***
> > >
> > >
> > >
> > >
> > >
> > > Il 27/09/2012 14:50, Paolo Bragagni ha scritto:
> > >
> > >> Per fare un menu laterale con la lista dei contenuti della pagina ho
> > >> inserito il TS sottostante.
> > >>
> > >> Il problema pero e' che lo visualizza anche se c'e' solo un contenuto
> > >> nella colonna.
> > >> c'e' il modo per wrappare solo se ci sono piu di x contenuti?
> > >>
> > >> saluti,
> > >> PB
> > >>
> > >> ----------------------
> > >> menu.navpag < styles.content.get
> > >> menu.navpag {
> > >> stdWrap.wrap = <div class="span3 bs-docs-sidebar"><ul
> > >> data-spy="affix" data-offset-top="40" data-offset-bottom="700"
> > >> class="nav nav-list bs-docs-sidenav">|</ul></div>
> > >> select.andWhere = sectionIndex!=0
> > >> select.pidInList.override.field = pages
> > >> renderObj = TEXT
> > >> renderObj {
> > >> noBlur = 1
> > >> fieldRequired = header
> > >> trim=1
> > >> field = header
> > >> htmlSpecialChars = 1
> > >> wrap = <li>|</li>
> > >> ATagParams = class="navlink"
> > >> typolink.parameter.field = pid
> > >> typolink.section.field = uid
> > >> }
> > >> stdWrap.if.isTrue.numRows {
> > >> table = tt_content
> > >> select {
> > >> where = sectionIndex!=0
> > >> andWhere = colPos =0
> > >> andWhere = hidden =0
> > >> pidInList = this
> > >> pidInList.override.field = pages
> > >> }
> > >> }
> > >> }
> > >> ----------------------
> > >> _______________________________________________
> > >> TYPO3-UG-Italy mailing list
> > >> TYPO3-UG-Italy at lists.typo3.org
> > >> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-ug-italy
> > >
> > >
> > >
> > >
> > > _______________________________________________
> > > TYPO3-UG-Italy mailing list
> > > TYPO3-UG-Italy at lists.typo3.org
> > > http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-ug-italy
> > _______________________________________________
> > TYPO3-UG-Italy mailing list
> > TYPO3-UG-Italy at lists.typo3.org
> > http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-ug-italy
> >
> _______________________________________________
> TYPO3-UG-Italy mailing list
> TYPO3-UG-Italy at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-ug-italy
>
More information about the TYPO3-UG-Italy
mailing list