Let language ids are 1 (English) and 2 (French)

[globalVar = GP:L=1]

10 = HTML
10.value (<b>English</b>)

[else]

10 = HTML
10.value (<b>French</b>)

[end]

If we are using COA ( COBJ_ARRAY ), try include entire script in both conditions like below…

[globalVar = GP:L=1]

left = COA
left {
10 = HTML
10.value (English)
)
wrap = <h1>|</h1>

[else]

left = COA
left {
10 = HTML
10.value (French)
)
wrap = <h1>|</h1>

[end]

Let me know if there is any suggestions…

In template Typoscript -

In setup write the below code

tt_content.stdWrap.dataWrap >
tt_content.stdWrap.prepend >

 

© 2014 Developers Corner Suffusion theme by Sayontan Sinha