-
- 480 Posts
Can anyone tell me why my PHx call isnt working as I would expect?
I would like to use PHx to output language content depending on the UltimateParent.
A simple [!UltimateParent!] displays either 36 or 37 depending upon which "language node" I am using but
[+phx:if=`[!UltimateParent!]`:is=`36`:then=`DE`:else=`EN`+]
Any ideas please?
Thanks,
Taff
Adrian Lawley: www.adrianlawley.com
-
- 241 Posts
Did you try calling [[UltimateParent]] cached?
-
- 480 Posts
Actually Bob, no I hadn’t I just took it from the PHx Wiki, and after some initial testing, it would appear that it is working!
Thanks!
Taff
Adrian Lawley: www.adrianlawley.com