Wiki

Articles in category "how-tos", sorted by ratingX
Displaying 191-200 of 306 result(s).

Handling recursive deletion in Yii

Created about a year ago by JamesBarnsleyHow-tos3 comments – viewed 6,612 times – ( +3 ) – version 1.1
As a lead developer at Mutable Labs I was tasked to find a way to do recursive deletion in Yii. As I asked other developers and looked around the internet the usual answers all came up, use a plugin or use cascade delete at the DB level, but I did not want to do either of these.

Yii2 and Pdf files with Mpdf

Created 3 months ago by CTalaHow-tos0 comments – viewed 1,664 times – ( +3 ) – version 2.0
I am still new to composer and packagist, so I want to share how I am creating the pdf files because for me was not as simple as it should be.

Creating a Dependent Dropdown From Scratch in Yii2

Created about a month ago by ThePr0f3550rHow-tos1 comment – viewed 2,375 times – ( +3 ) – version 2.0
I have read http://www.yiiframework.com/wiki/24/creating-a-dependent-dropdown/ (Dependen Dropdown Yii1), but I cant implementation in Yii2 because Yii2 not built-in AJAX functionality hem.. I am search about it and get this statement

How to use the official Yii installer for Composer (**DEPRECATED**)

Created about a year ago by br0skHow-tos9 comments – viewed 11,927 times – ( +3 ) – version 1.1
This wiki shall be considered deprecated since the Yii installer for composer has been discontinued.

How to change Migration Table name and use defined prefix.

Created about a year ago by JorgeeHow-tos1 comment – viewed 5,420 times – ( +3 ) – version 1.1
To accomplish the task of changing Migration table's name, by default tbl_migration, you need to add the following in your ./protected/config/console.php.

Yii HMVC

Created about a year ago by ezekielnoobHow-tos6 comments – viewed 6,733 times – ( +5 / -1 )
Right now we can use widgets + action provider like in this tutorial: How to use a Widget as an Action Provider

Remove Byte Order Mark (BOM) from files recursively

Created 10 months ago by KonApazHow-tos3 comments – viewed 4,965 times – ( +5 / -1 ) – version all
Ok, this wiki is not only for yii projects.

Caching strategy

Created 9 months ago by darkheirHow-tos9 comments – viewed 3,673 times – ( +5 / -1 ) – version 1.1
Note: Before reading this wiki you should have read the caching part in the Yii guide
tags: caching, filter

Install, update and use Yii with WAMP server

Created about a year ago by mrsHow-tos5 comments – viewed 27,109 times – ( +5 / -1 ) – version 1.1
Here I am describing how you can install and update Yii in WAMP sever.

Twitter Bootstrap style Breadcrumbs

Created about a year ago by junaidatariHow-tos0 comments – viewed 12,351 times – ( +5 / -1 ) – version 1.1
1: Create breadcrumb in your view file.