|
|||||||
| Registrieren | Hilfe | Benutzerliste | Kalender | Suchen | Heutige Beiträge | Alle Foren als gelesen markieren |
|
#1
|
|||
|
|||
|
Hi,
I have two questions. I have menu like this: .... 1 = TMENU 1 { noBlur = 1 NO { linkWrap = <li>|</li> stdWrap.preCObject = TEXT stdWrap.preCObject.value = section stdWrap.preCObject.lang.de = section DE } } .... I need prepend text in link with "section " (with space). 1. Can it be done without ? With only normal space? I found noTrimWrap, but I don't know how to use it. 2.Can it be done better than with preCObject? Thanks for answers Stano Paška. _______________________________________________ TYPO3-english mailing list TYPO3-english (AT) lists (DOT) netfielders.de http://lists.netfielders.de/cgi-bin/.../typo3-english |
|
#2
|
|||
|
|||
|
> I have two questions.
> I have menu like this: > > ... > 1 = TMENU > 1 { > noBlur = 1 > NO { > linkWrap = <li>|</li> > stdWrap.preCObject = TEXT > stdWrap.preCObject.value = section > stdWrap.preCObject.lang.de = section DE > } > } > ... > > I need prepend text in link with "section " (with space). > > 1. Can it be done without ? With only normal space? > I found noTrimWrap, but I don't know how to use it. > > 2.Can it be done better than with preCObject? Yes - use noTrimWrap ;-) stdWrap.noTrimWrap = |section || That's it. noTrimWrap adds a pipe in front of the wrap and another one at the end. Anything between those pipes is treated just like a usual wrap but without trimming the whitespace. HTH Joey -- Wenn man keine Ahnung hat: Einfach mal Fresse halten! (If you have no clues: simply shut your gob sometimes!) Dieter Nuhr, German comedian openBC/Xing: http://www.cybercraft.de T3 cookbook: http://www.typo3experts.com _______________________________________________ TYPO3-english mailing list TYPO3-english (AT) lists (DOT) netfielders.de http://lists.netfielders.de/cgi-bin/.../typo3-english |
| Lesezeichen |
| Themen-Optionen | |
| Ansicht | Thema bewerten |
|
|
|
||||
| Thema | Autor | Forum | Antworten | Letzter Beitrag |
| [TYPO3-dev] cropHtml as new Feature for stdWrap | Steffen Kamper | typo3-dev@lists.netfielders.de | 18 | 06.03.2007 00:50 |
| [TYPO3] sys_stat eats MySql space | Bertalan Fodor | typo3-english@lists.netfielders.de | 2 | 27.02.2007 13:40 |
| [TYPO3] Two (or more) space characters converted to nothing! | Kasper Ligaard | typo3-english@lists.netfielders.de | 1 | 30.01.2007 12:50 |
| [TYPO3-dev] TypoScript: stdWrap.ifEmpty but no stdWrap.ifIsset | Oliver Hader | typo3-dev@lists.netfielders.de | 3 | 12.01.2007 18:10 |
| [TYPO3-german] COA und stdWrap, wie bekomme ich das zusammen? | Constantin Noll | typo3-german@lists.netfielders.de | 0 | 04.01.2007 16:55 |