Wiki

Sorted by date (updated)X
Displaying 121-130 of 468 result(s).

AssetManager: clearing browser's cache on site update

Updated 5 months ago by dhampikHow-tos2 comments – viewed 12,166 times – ( +14 )
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.

Syncing sessions between Yii and KCFinder

Updated 6 months ago by Thanasis FotisHow-tos5 comments – viewed 2,626 times – ( +1 )
I have been trying to find information on how to sync the sessions between Yii and KCFinder so that the two applications can "communicate" with each other. I managed to find some bits and pieces on the correct approach to use, but not a definite guide or concrete code.

How to write secure Yii applications

Updated 6 months ago by François GannazHow-tos11 comments – viewed 68,972 times – ( +78 )
warning: While this security guide tries to be quite complete, is not exhaustive. If security matters for you, you ought to check several other references.

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

Updated 6 months ago by kiran sharmaHow-tos1 comment – viewed 3,920 times – ( +4 / -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 6 months ago by Antonio RamirezOthers49 comments – viewed 21,574 times – ( +40 )
YiiBoilerplate
tags: directory, config

Accessing data in a join table with the related models

Updated 6 months ago by kroweHow-tos7 comments – viewed 36,098 times – ( +18 / -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 6 months ago by GismoHow-tos8 comments – viewed 62,144 times – ( +58 )
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 6 months ago by Maurizio DombaTips3 comments – viewed 4,002 times – ( +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 6 months ago by TpoxaHow-tos3 comments – viewed 5,514 times – ( +4 )
For example have folder with image resources which are public accessible
tags: yii, image-resize

XUpload Workflow

Updated 6 months ago by AsgarothTutorials18 comments – viewed 20,181 times – ( +27 )
This wiki describes a more complex workflow using the XUpload widget