Watch the E Shape online guitar lesson by David Wallimann from Guitar DNA: CAGED Soloing
Let's start with the Ionian mode which is a 7 note Major scale. We're only going to study the E position of that mode (you'll find out why later!).
As you memorize the position, memorize its formula, which is:
1 2 3 4 5 6 7