Showing 121-140 of 826 items.

Q: My yiic tool cannot run model and crud commands. Why?

Created 17 years ago by qiang qiang, updated 17 years ago by mishhh mishhh. 1 comment

Some PHP installations may use a different php.ini file for CLI PHP (command line PHP parser). As a result, when running the model or crud command in yiic shell, you may encounter errors like "YiiBase::include(PDO.php): failed to open stream..." or "...could not find driver", even though the requirement checker confirms you have PDO and the corresponding database driver.

0 0
1
Viewed: 19 518 times
Version: 1.1
Category: Tutorials

    ISA hierarchy of tables inside a database and how to implement a single form

    Created 15 years ago by pligor pligor, updated 15 years ago by pligor pligor. 2 comments

    Please consider the following Dear software engineers imagine I have a simple ISA hierarchy: parent A with children B and C. So let's say we have the corresponding tables named "a", "b", "c" and (created with the help of the gii model creator) the classes A, B, C The following is a screenshot from MySQL workbench: ![MySQL workbench screenshot](http://s4.postimage.org/4tuwkm43d/Screenshot.pn...

    1 0
    3
    Viewed: 19 523 times
    Version: 1.1
    Category: How-tos

    Get notified about the status of a Facebook user in your web app using periodic Ajax calls.

    Created 13 years ago by sirin k sirin k, updated 9 years ago by Maurizio Domba Cerin Maurizio Domba Cerin. 0 comments

    hello,

     This article is helpful only if you have the following situation:
     A web app which uses facebook login to login its users and if a user is logged out from his/her facebook account through another browser tab, then your app dont know that he is logged out  out or not from his facebook account and he/she will remain as logged in your web application.Its ok if you have no problem wi...
    
    4 0
    6
    Viewed: 19 566 times
    Version: 1.1
    Category: Tips

    Syncing sessions between Yii and KCFinder

    Created 13 years ago by Thanasis Fotis Thanasis Fotis, updated 12 years ago by Boaz Boaz. 8 comments

    >Info: As KCFinder's documentation mentions, if your application (Yii in our case) session handling is using the PHP environment configuration - meaning no change in session handling at all, then no change is needed also on KCFinder side to be able to use this session and thus have this simple interface between your Yii webapp and KCFinder. If t...

    1 0
    6
    Viewed: 19 663 times
    Version: 1.1
    Category: How-tos

    Building Page Specific Menus using CMenu

    Created 13 years ago by mistryb mistryb, updated 11 years ago by mistryb mistryb. 1 comment

    The Yii Framework provides a sweet functionality that allows you to easily create page specific menus. What does this mean? This allows you to create one layout or CSS styling for your menu, and when each page is loaded, a new set of menu items is loaded in. This is useful for context specific sidebars within your application.

    0 0
    3
    Viewed: 19 766 times
    Version: 1.1
    Category: How-tos

    Turn Web HTML Into Newsletter

    Created 13 years ago by yasen yasen, updated 13 years ago by yasen yasen. 1 comment

    These newsletters have always been hard to create as regular web HTML is not properly read by web email interfaces and email clients. I thought that the simplest solution would be to use a web page that would serve as a web version of the newsletter and turn it somehow into newsletter HTML.

    6 0
    9
    Viewed: 19 918 times
    Version: 1.1
    Category: How-tos

    关于Yii CHttpSession性能优化篇之源码流程分析

    Created 14 years ago by Darwin Wen Darwin Wen, updated 14 years ago by Maurizio Domba Cerin Maurizio Domba Cerin. 0 comments

    当我们使用Yii数据库去保存Session时,只要简单的配置就可以完成这个功能,在进行性能优化这个主题之前,我们先来查看一下CHttpSession和CDBHttpSession源代码,探讨CHttpSession和CDBHttpSession的流程再进行深一步优化主题。

    0 1
    2
    Viewed: 20 044 times
    Version: 1.1
    Category: Tips