Hi there!
In switchee i alway do:
{case value="#^P(\\d+)$#|''"} to check for pagination.
How do I do the same in a EE conditional?
Doing this throws an error: {if segment_2 ~ "#^P(\d+)$#|''"}
I have also tried to substitute | with | {if segment_2 ~ "#^P(\d+)$#|''"}
by the way this works but doesn’t work when segment_2 is empty
thanks Francesco
Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.