Showing 1-20 of 652 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 811 times
Version: 1.1
Category: Tutorials

    XSS safe model content

    Created 16 years ago by phiras phiras, updated 16 years ago by phiras phiras. 2 comments

    In this post I am going to describe a solution to make your yii-based web application safe from illegal content injections.

    4 0
    1
    Viewed: 15 220 times
    Version: 1.1
    Category: Tutorials

      How to use Highslide for image popups

      Created 17 years ago by mocapapa mocapapa, updated 15 years ago by wei wei. 0 comments

      >Highslide JS is an open source JavaScript software, offering a Web 2.0 approach to popup windows. It streamlines the use of thumbnail images and HTML popups on web pages. > > + No plugins like Flash or Java required. > + Popup blockers are no problem. The content expands within the active browser window. > + Single click. After opening the image or HTML popup, the user can scroll further down...

      1 0
      2
      Viewed: 37 038 times
      Version: 1.1
      Category: Tutorials

      How to extend yiic shell commands

      Created 17 years ago by qiang qiang, updated 15 years ago by wei wei. 1 comment

      While yiic shell tool is very convenient at generating skeleton code in our application, the generated code is not always what we want. For example, we may want the generated code to carry specific copyright information; we may want to use our own coding style; we may want to add more features; and so on. All these can be accomplished easily in Yii.

      2 0
      5
      Viewed: 37 654 times
      Version: 1.1
      Category: Tutorials