Wiki

Sorted by date (updated)X
Displaying 461-470 of 771 result(s).

How to generate Yii-like Documentation

Updated 3 years ago by fsbHow-tos9 comments – viewed 31,240 times – ( +46 ) – version 1.1
Something a good application cant miss is documentation, and what would be better than some nice formatted HTML documentation that can be auto-generated from your code, we know several tools that already do this like phpDocumentor, but today we are introducing Yii Docs Generator which is a modification of the code that Yii itself uses to generate its documentation, thank phpnode for this wonderful work.
tags: doc

Understanding "Safe" Validation Rules

Updated 3 years ago by GismoFAQs11 comments – viewed 107,554 times – ( +93 / -1 ) – version 1.1
A common source of confusion among new Yii users is how the 'safe' validator works, how it works with other validators, and why it's necessary in the first place. This article means to clear up this confusion, as well as explain the notion of Massive Assignment.

Using CButtonColumn to customize buttons in CGridView

Updated 3 years ago by GismoHow-tos18 comments – viewed 263,205 times – ( +100 ) – version 1.1
CGridView is a one of most flexible widgets in Yii and example its flexibility is CButtonColumn used to build buttons for steering model in each grid row. Here in this how-to we will explain ways user can customize CButtonColumn to flexibly fit it to its needs.

Secure password hashing with bCrypt

Updated 3 years ago by Ivo PereiraHow-tos3 comments – viewed 22,620 times – ( +9 ) – version 1.1
In this article I will show you how to implement a secure password hashing mechanism in your Yii projects using a bCrypt class.

How to use YiiBooster Bootstrap Gallery

Updated 3 years ago by Antonio RamirezHow-tos4 comments – viewed 26,283 times – ( +4 ) – version 1.1
Since version 1.0.4, Yii developers can make use of the image gallery provided by Sebastian Tshan, a great javascript developer that has created some true gems like the jquery file upload plugin.

AssetManager: clearing browser's cache on site update

Updated 3 years ago by dhampikHow-tos4 comments – viewed 33,316 times – ( +19 ) – version 1.1
If you like the things to be short and clear, then you can skip right to a short summary of instructions at the end of this article.

Create sitemap.xml file dynamically on root folder with one hit

Updated 3 years ago by kiran sharmaHow-tos1 comment – viewed 14,130 times – ( +5 / -5 ) – version 1.1
I had created one controller file which can create sitemap.xml file(which is used for seo, google crawler and many other puropse) dynamically with one run.
tags: SEO, SiteMap, XML

YiiBoilerplate - Setup a professional project structure in seconds

Updated 3 years ago by Antonio RamirezOthers53 comments – viewed 56,433 times – ( +48 ) – version 1.1
YiiBoilerplate
tags: directory, config

Accessing data in a join table with the related models

Updated 3 years ago by kroweHow-tos8 comments – viewed 98,309 times – ( +27 / -1 ) – version 1.1
Sometimes the right place to store application data is in a join table. For example, movie viewers either like or don’t like the movies they watched.

Create your own Validation Rule

Updated 3 years ago by GismoHow-tos13 comments – viewed 177,155 times – ( +76 / -3 ) – version 1.1
Some times the core validation rules provided by Yii won't satisfy all your needs, so you'll need to create your very own validation rule.