I am installing an 8 piece track light in my den. Previously, there was no ceiling fixture, but there was a wall receptacle that was powered by a switch by the front door (This plate had two switches, one for the front porch light and one for the receptacle). I went into the attic, found the wire that led to the receptacle spliced a wire running to my new ceiling fixture and one back out - reconnecting to the old receptacle. My thoughts were it would run from switch-> ceiling-> wall receptacle. Now to the switch box; the house was built in the 40s and there are 3 old cloth wires running to the box. The one in the middle seems to be the power source as it has its white wire bundled with the other two white wires; while the black wire ran from the old switch on the right to the old one on the left with another black wire connected on the far left of the second switch.
In the beginning, the Dimmer switch I installed operated the wall outlet and i could dim a lamp but not turn off the ceiling. After mucking about with it for a few hours the wall outlet no longer works, the ceiling fixture won't turn off or dim, and the front porch light works perfectly. Any suggestions?