Let there be light... I could use some advice about replacing a light fixture, please.
→[More:]
I'm working in the basement apartment of my house. I took down the old light fixture and found that there were two sets of wires, each stemming from opposite sides of the ceiling. I am reasonably sure that when I took down the old fixture, one set of black and white wires was just twisted together and capped, although it *might* have been that a white wire from the one set was capped with a black wire from the other set.
So, when I put the new fixture in, I retwisted and capped the one set of wires, and connected the other set of wires to the fixture. When I flipped the main power switch again the light bulb in the fixture came on when wired this way, but the light switch no longer operated it. So I took the thing down again and wired the second set of wires to the light fixture as well. The light fixture still worked but the light switch still didn't work.
I'm stumped. How should I wire the fixture so that the light switch will connect to it again?