TYPO3Jack.net - Das TYPO3 Mailinglist Forum Archiv

TYPO3 Mailingliste: nicht fragen - lesen!

TYPO3 Mailingliste: nicht fragen - lesen!_RR_1-->
Zurück   TYPO3Jack.net - Das TYPO3 Mailinglist Forum Archiv > TYPO3-Mailinglists: ENGLISH > typo3-english@lists.netfielders.de

Registrieren Hilfe Benutzerliste Kalender Suchen Heutige Beiträge Alle Foren als gelesen markieren
  #1  
Alt 08.06.2007, 19:33
Stano Paška
Gast
 
Beiträge: n/a
Standard [TYPO3] stdWrap with space

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&nbsp;
stdWrap.preCObject.lang.de = section DE&nbsp;
}
}
....

I need prepend text in link with "section " (with space).

1. Can it be done without &nbsp;? 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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Wong this Post!Spurl this Post!Reddit! Diesen Post bei linksilo.de bookmarken!
  #2  
Alt 09.06.2007, 00:04
JoH asenau
Gast
 
Beiträge: n/a
Standard Re: [TYPO3] stdWrap with space

> 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&nbsp;
> stdWrap.preCObject.lang.de = section DE&nbsp;
> }
> }
> ...
>
> I need prepend text in link with "section " (with space).
>
> 1. Can it be done without &nbsp;? 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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Wong this Post!Spurl this Post!Reddit! Diesen Post bei linksilo.de bookmarken!
 

Lesezeichen

Themen-Optionen
Ansicht Thema bewerten
Thema bewerten:

Forumregeln
Es ist dir nicht erlaubt, neue Themen zu verfassen.
Es ist dir nicht erlaubt, auf Beiträge zu antworten.
Es ist dir nicht erlaubt, Anhänge hochzuladen.
Es ist dir nicht erlaubt, deine Beiträge zu bearbeiten.

BB-Code ist an.
Smileys sind an.
[IMG] Code ist an.
HTML-Code ist aus.
Trackbacks are an
Pingbacks are an
Refbacks are an


Ähnliche Themen

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


Alle Zeitangaben in WEZ +1. Es ist jetzt 07:30 Uhr.


Powered by vBulletin® Version 3.7.4 (Deutsch)
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.1.0
Template-Modifikationen durch TMS

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75