Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter kschat

    (@kschat)

    Okay, after much tinkering and ‘hacking’ I found out why it wasn’t saving and how to fix it. It wasn’t saving because the values were saving to the post variable with a key equal to the value that is stored in my categories variable label node (worded it oddly, sorry ha). Anyway I did a ‘quick fix’ to get it to work so I have something to show to my boss at my meeting today. The fix was setting the name parameter to this:

    name="<?php echo "widget-image-uploader-id[2][categories][" . $i . "][selected]"; ?>"

    My long term fix is to create a categories class and make a list of that. Thank you very much for your help!

    Thread Starter kschat

    (@kschat)

    Whoa, you’re right, whoops. I added value=”1″ for testing purposes right now and I’m still getting the same results I explained above.

    Edit: Forgot to end my comment section at the top of my file, here’s an updated version. http://pastebin.com/2Bws78rr

Viewing 2 replies - 1 through 2 (of 2 total)