user1653766
user1653766

Reputation: 1

implementing template page in cakephp2.2

I am new to cakephp and gone through the documentation of cakephp. I felt its a useful framework for the developers. And I started implementing into my project. I want to use a web template page and want to incorporate cakephp in that template. I tried doing that, I am getting errors. Can you guys please assist me the process of including template , like where to keep the files and folders. where to keep my index/home page file of a template? how to include this file in controllers & views,routes?

Upvotes: 0

Views: 134

Answers (1)

techie_28
techie_28

Reputation: 2133

you need to make

layout

for that I guess. Which will contain the header footer section and the

view

will be called into it according to the section which is getting displayed.

http://book.cakephp.org/2.0/en/views.html

Upvotes: 1

Related Questions