step 5: making homepage for cakephp blog

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

  1. step 2: download cakephp and setup cakeblog
  2. step 3: configure security salt cakephp setup
  3. step 4: database configure for cakephp blog
  4. step 6: template setup for cakephp blog
  5. step 7: controller for posts cakephp blog
  6. step 8: making model for posts cakephp blog
  7. MySQL NULLIF() Function Number Value Example
  8. MySQL NULLIF() Function Boolean Value Example
  9. MySQL NULLIF() Function NULL Value Example
  10. PERL Example: Use of Multidimentional Array in PERL

No comments:

Post a Comment

leave your comments here..