if statements suddenly broke
-
I use this loop in a widget in the right hand site, It used to work just fine until one of the last CCS updates.
The loop works fine; I can see several TestA, but nothing else. What is suddenly wrong with the if statements?
I temporarily fixed this by installing an older CCS version I had on my HD.
Thank you for your help,
Marc[raw]
[loop type=page field=ms_groupid value=de1 orderby=menu]
TestA
[if field=ms_uid value=specials0]
TestB
[-if field=thumbnail-url value<>””] TestB1 [field thumbnail-url] [/-if]
[-if field=ms_titleM value<>””] TestB2 [field ms_titleM] [/-if]
[-if field=ms_titleS value<>””] TestB3 [field ms_titleS] [/-if]
[-if field=ms_legende value<>””] TestB4 [field ms_legende] [/-if]
[field ms_priceA].[field ms_priceB].[field ms_priceC]
[else]
TestC
[-if field=ms_priceB value<>””]
[–if field=ms_titleX value<>””] TestC1 [field ms_titleX] [/–if]
[–if field=ms_legende value<>””] TestC2 [field ms_legende] [/–if]
[–if field=ms_titleM value<>””] TestC3 [field ms_titleM] [/–if]
[–if field=ms_titleS value<>””] TestC4 [field ms_titleS] [/–if]
[–if field=ms_priceA value<>””] TestC5 [field ms_priceA] [/–if]
[–if field=ms_priceB value<>””] TestC6 [field ms_priceB] [/–if]
[–if field=ms_priceC value<>””] TestC7 [field ms_priceC][/–if]
[-else]
TestD
[—if field=ms_titleX value<>””] TestD1 [field ms_titleX] [/—if]
[—if field=ms_titleM value<>””] TestD2 [field ms_titleM] [/—if]
[—if field=ms_titleS value<>””] TestD3 [field ms_titleS][/—if]
[—if field=ms_legende value<>””] TestD4 [field ms_legende] [/—if]
[/-if]
[/if]
[/loop]
[/raw]
- The topic ‘if statements suddenly broke’ is closed to new replies.