This is a basic tip which comes in handy. Elements allow you to place blocks of code that are repeated or reused in your application. They also come in handy if you are just looking to tidy up that view of yours.
In this example we are going to take our login form and make it an element. Then we will call it on our page. This tip is to show how to add an element, so don't worry if you don't understand the login code. Lets name this file login.ctp and put it in our /App/View/Elements folder.And in our view file (/App/View/Pages/home.ctp or whatever View you are working on) That's it! You should now have the basics to including an Element in your View! Congratulations! We knew you could do it!>