Yes, you do teach it. It's called "stacking." A lot of it is just moving the dog into the correct position while standing. There are some videos on YouTube of dogs learning to stack....
here are a few clicker training videos that I've found, a few of them are boxers, but the dachshund and heeler videos you might also find helpful.
You could also do a forum search here on "stacking."
__________________
Zoë
Creek - Fawn Female, born 03/27/2001
Caney - White Female, born 03/26/2007
Photo Album