Wiki

Sorted by date (updated)X
Displaying 441-450 of 751 result(s).

Secure password hashing with bCrypt

Updated 2 years ago by Ivo PereiraHow-tos3 comments – viewed 20,538 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 2 years ago by Antonio RamirezHow-tos4 comments – viewed 23,919 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 2 years ago by dhampikHow-tos4 comments – viewed 27,499 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 2 years ago by kiran sharmaHow-tos1 comment – viewed 12,298 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 2 years ago by Antonio RamirezOthers53 comments – viewed 51,668 times – ( +48 ) – version 1.1
YiiBoilerplate
tags: directory, config

Accessing data in a join table with the related models

Updated 2 years ago by kroweHow-tos8 comments – viewed 82,911 times – ( +26 / -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 2 years ago by GismoHow-tos13 comments – viewed 150,092 times – ( +75 / -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.

Adding 'disabled' to CCheckBoxColumn and support for yiigridview.js

Updated 2 years ago by Maurizio Domba CerinTips3 comments – viewed 11,057 times – ( +1 ) – version 1.1
I recently had to have a checkbox column in my grid view that supported the 'disabled' attribute. This was easy enough to do by extending the CCheckBoxColumn. However, I also wanted the checkbox to be selected when clicking on the table's row (supported via CGridView's selectableRows option). I discovered I had to tweak yiigridview.js so that it would not select disabled rows when clicking on it or on the 'select all' checkbox.

Image resize on the fly

Updated 2 years ago by TpoxaHow-tos4 comments – viewed 16,481 times – ( +4 ) – version 1.1
For example have folder with image resources which are public accessible
tags: yii, image-resize

XUpload Workflow

Updated 2 years ago by AsgarothTutorials33 comments – viewed 58,361 times – ( +34 ) – version 1.1
This wiki describes a more complex workflow using the XUpload widget