Wiki

Sorted by viewsX
Displaying 461-470 of 683 result(s).

get summary of related model via STAT relation

Created 10 months ago by rootbearHow-tos2 comments – viewed 7,062 times – ( +6 / -1 ) – version 1.1
typical scenario: invoice, invoice items.

Implementing a Flat User Access System

Created about a year ago by TrejderHow-tos1 comment – viewed 7,037 times – ( +9 ) – version 1.1
This article shows a quick and easy way to implement flat user access control system. Flat means, that user access is controlled by level only, which is solution exactly opposite to complex RBAC access systems.

History Autocomplete

Created 2 years ago by zaccariaHow-tos2 comments – viewed 6,977 times – ( +3 ) – version 1.1
In application development we often have to choose how to mange recurrent values.
tags: autocomplete

Use phing to make Yii application "installable"

Created 2 years ago by sensorarioHow-tos3 comments – viewed 6,965 times – ( +7 ) – version 1.1
To use this "how-to", you need to install phing in your machine.
tags: phing

Creating HTML code using Jamboree Panels

Created about a year ago by bluyellTutorials0 comments – viewed 6,950 times – ( +2 / -2 ) – version 1.1

Building Page Specific Menus using CMenu

Created about a year ago by mistrybHow-tos1 comment – viewed 6,939 times
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.
tags: CMenu

Turn Web HTML Into Newsletter

Created about a year ago by yasenHow-tos1 comment – viewed 6,930 times – ( +7 ) – version 1.1
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.

mysql performance tip

Created about a year ago by sirin kTips6 comments – viewed 6,923 times – ( +2 / -1 ) – version 1.1
When we are doing an insert of huge no.of rows into an SQL table ,Normally we will try to write separate insert quries this may lead us to a long duration of execution time and we can increase the speed of executing SQL quries by adding all the rows into a single insert query.
tags: mysql

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

Created 5 years ago by qiangTutorials1 comment – viewed 6,904 times – version 1.1
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.

Publish yii webapp using Git push

Created 2 years ago by rootbearHow-tos6 comments – viewed 6,898 times – ( +2 ) – version 1.1
I did not invent this instructions, I read it somewhere and re-organized in my way as I was trying and it works for me;
tags: git