Join the social network of Tech Nerds, increase skill rank, get work, manage projects...
 
  • CakePHP 2.0 with Twitter Bootstrap

    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 393
    Comment on it

    Hello nerds,
    If you want to start your new CakePHP project with Twitter Bootstrap set with it, you can follow the steps as following:-


    Step 1: You need to Download CakePHP and Twitter Bootstrap versions. You can easily download them from their websites or from the below link-
    CakePHP --> https://github.com/cakephp/cakephp/tags
    Twitter Bootstarp-->http://getbootstrap.com/getting-started/#download


    Step 2: After extracting the both downloaded folders you need to copy all files from Twitter Bootstrap to CakePHP folders.

    For example every css file in twitter bootstrap should copy to css folder in webroot of cakephp similarly all the js files need to copy to js folder.


    Step 3. Now you have all most done in this step you just need to setup your default.ctp file in cake.php

    For Example, replace the <meta charset="utf-8"> with <?php echo $this>Html->charset(); ?>. Then remove the static title with

    <title>
    <php echo $title_for_layout; ?>
    </title>  
    

    Continue on with the conversion and you will end up this file.

 0 Comment(s)

Sign In
                           OR                           
                           OR                           
Register

Sign up using

                           OR                           
Forgot Password
Fill out the form below and instructions to reset your password will be emailed to you:
Reset Password
Fill out the form below and reset your password: