step 5: making homepage for cakephp blog
Make a folder “pages” if it is not already created at “/app/views/” and create a file “home.ctp” into “/app/views/pages/” then copy and paste the blow code into the file.
"/app/views/pages/home.ctp"
<h2 class="title">20 steps to make CakePHP Blog</h2> <p class="meta"><small>Posted: September 1, 2010</small></p> <div class="entry"> <p> This is Md. Iqbal Hosan, a computer engineer, web developer and OCP DBA welcome you to learn how to make CakePHP Blog, a sample cakephp project by 20 cool steps. </p> </div>
It is time to fire-up your favorite browser to see the effect of making homepage “home.ctp” like the blow screenshot:
Related Tutorial Examples
- step 2: download cakephp and setup cakeblog
- step 3: configure security salt cakephp setup
- step 4: database configure for cakephp blog
- step 6: template setup for cakephp blog
- step 7: controller for posts cakephp blog
- step 8: making model for posts cakephp blog
- MySQL NULLIF() Function Number Value Example
- MySQL NULLIF() Function Boolean Value Example
- MySQL NULLIF() Function NULL Value Example
- PERL Example: Use of Multidimentional Array in PERL

No comments:
Post a Comment
leave your comments here..