Place blocks in specific places to open a door?

Sweet now it works, thank you so much? now how do I implement the door to work?