P&T Switch not working properly with Low Variables
P&T Switch is not working properly with Low Variables on my EE.
Expression Engine 2.1.4 beta
P&T Switch 1.0.4
Low Variables 1.3.5
Every time I make a Switch and click Save changes, it goes back to Default Position.
Replies
Low 8 Apr 2011 10:10
This seems to be a problem with P&T Switch itself, so you should ask Pixel & Tonic for a fix.
In the meantime, you can solve the problem by opening up the ft.pt_switch.php file in a text editor, and replace line #235
if ($new)
with this:
if ($new && substr($field_name, 0, 3) != 'var')
...that should help.
exchangestudentworld 8 Apr 2011 11:55
Wow! You are AWESOME! I love Low Variables and now when I know the support is this great I'll recommend it to everyone!
Thanks.
Oscar Carlsson from Sweden
Low 8 Apr 2011 13:13
Thanks, Oscar!
Brandon Kelly 8 Apr 2011 15:35
Fixed this on GitHub. Thanks Low!