Showing 61-80 of 268 items.

Managing your nested dropdown dependency with DepDrop widget

Created 12 years ago by Kartik V Kartik V, updated 12 years ago by Kartik V Kartik V. 6 comments

If you are coming over to Yii 2 from Yii 1.x, you may have already read this useful wiki for creating dependent dropdowns. You can use a similar approach in Yii 2 to do the same. But if you are looking at a prebuilt solution that helps you manage it easier, read along.

2 3
42
Viewed: 102 204 times
Version: 2.0
Category: Tutorials

Using your own forked version of extensions with composer

Created 12 years ago by Kartik V Kartik V, updated 11 years ago by Kartik V Kartik V. 4 comments

So you want to use a fork of any existing vendor extension with your Yii 2 install and use the fork, instead of original source. This does not need you to push any update or register your package on packagist.org. You are recommended to follow the approach below:

3 2
40
Viewed: 28 102 times
Version: 2.0
Category: Tutorials

What to do when composer fails to update your vendor packages?

Created 12 years ago by Kartik V Kartik V, updated 12 years ago by Kartik V Kartik V. 0 comments
  • Running a composer update does not fetch any new packages (even though the source is updated)
  • A specific vendor package never gets updated
  • Facing on and off problems when fetching packages while performing composer update.
  • You ran a composer update earlier, but it was partially done, before you lost network connectivity, and you cannot refresh packages anymore.
0 4
36
Viewed: 57 300 times
Version: 2.0
Category: Tutorials

Automatically get the SVN Revision Number of your Project

Created 12 years ago by jcagentzero jcagentzero, updated 12 years ago by jcagentzero jcagentzero. 1 comment

When you are handling so many projects and those projects are saved in different repository locations, you may find it very difficult to keep track all the versions and revisions manually and it will be much harder if you are developing in multiple repository branches.

3 0
4
Viewed: 17 501 times
Version: all
Category: Tutorials

Saving CGridView filter

Created 12 years ago by sefburhan sefburhan, updated 12 years ago by CeBe CeBe. 5 comments

In this tutorial we will try to save cgridview filter(search) with title etc. basically we want to save two forms data i.e one represents filters and other data about filters like title, description etc. You can define your own structure for filter saving table here are some basic steps

1 0
31
Viewed: 16 466 times
Version: 1.1
Category: Tutorials

Integrate Zend 2 XML writer into Yii

Created 12 years ago by Jonny Jonny, updated 12 years ago by CeBe CeBe. 0 comments

By Integrating the Zend 2.* framework into Yii you can quickly and painlessly generate XML outputs from your controllers. This will be helpful to anyone who has never done this before or only done it with Zend 1 as the introduction of namespaces can be strange when you first view them.

2 0
4
Viewed: 52 334 times
Version: 1.1
Category: Tutorials

Tags manipulation using Select2 in single field

Created 12 years ago by sefburhan sefburhan, updated 12 years ago by CeBe CeBe. 0 comments

Sometime its very important to perform many actions/operation with limited time frame for friendly use, select2 provides a lot of such functionality , I just extend it tags functionality to provide a quick use for developer to save time, as I spent much time on it.

2 0
35
Viewed: 52 240 times
Version: 1.1
Category: Tutorials

Extension Development (beginner)

Created 12 years ago by sefburhan sefburhan, updated 12 years ago by CeBe CeBe. 2 comments

To extend the functionality of you web application relative to your requirements you are supposed to use existing yii core libraries or use external libraries. There are some steps to ensure security, uniqueness, modularity, performance and to avoid rework in future.

Step 01: Have a Strategy

  • Is my extension just for fun/demonstration purposes or for everyday use in the real world? -...