Wiki

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

How to use YiiBooster Bootstrap Gallery

Updated 2 years ago by Antonio RamirezHow-tos4 comments – viewed 23,540 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 26,720 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,083 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 50,888 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 80,953 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 146,520 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 10,825 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 15,984 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 57,226 times – ( +34 ) – version 1.1
This wiki describes a more complex workflow using the XUpload widget

Using International Dates

Updated 2 years ago by nkdHow-tos4 comments – viewed 31,940 times – ( +18 ) – version 1.1
I needed British (dd/mm/yyyy) formatted dates throughout my application but found it very difficult to find examples of how to do this - until I found this excellent forum post http://www.yiiframework.com/forum/index.php?/topic/3649-dealing-with-i18n-date-formats/