I had to put a doggie diaper on my Chi, she seems to be getting the idea. Make sure your Chi gets outside frequently, praise it for success, and never, ever stick his nose in the feces or urine...won't have the slightest idea why you're doing that, and it's unsanitary.
Get a litter box. When the dog starts to go, don't get mad, pick him up and quickly carry to the litter box, drag his front feet in the sand, then quietly leave the room. Works first Tim on many pets. Also put something big over the old pee spot for a while.
Why have a damn dog in the house in the first place? We finally got rid of our Yorkie. Damn dog crapped all over the house. I couldn't get out of bed in the morning without stepping in a big fresh pile of steaming dog crap. But my mom loved the danged dog, so me and my dad put up with it. Until mom went to Heaven. And the dog's got a better home too.