All Low add-ons are now owned by EEHarbor. Read the blog post.

Support archive

P&T Switch not working properly with Low Variables

exchangestudentworld 8 Apr 2011 09:35 problem, complete

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

  1. 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.

  2. 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

  3. Low 8 Apr 2011 13:13

    Thanks, Oscar!

  4. Brandon Kelly 8 Apr 2011 15:35

    Fixed this on GitHub. Thanks Low!