Tuesday, 6 October 2015

Yii realted information

 steps are as follows -


 1. download yii

 2. go to enviornment variable set path of php folder
    example- C:/xampp/php;
  
 3. now go to command prompt and type - go inside -
    c/xampp/htdocs/yii/framework/ - here yiic.bat exists.

 4. /yiic webapp WebRoot/testapp  now access it - http://hostname/testapp/index.php

 5. To use Gii in Yii. go to My protected/config/main.php and uncomment the code
    for gii.


 controllers\admin\UserController.php
 views\admin\user\index.php
 models\Users.php




Just Custom Fields ----------
 $result_one = get_post_meta($post->ID, '_video_upload', true);
       print_r($result_one);

No comments:

Post a Comment