Showing 1-20 of 268 items.

Yii3 - How to start

Created 10 months ago by rackycz rackycz, updated 19 minutes ago by rackycz rackycz. 0 comments

In Yii3 it is not as easy to start as it was with Yii2. You have to install and configure basic things on your own. Yii3 uses the modern approach based on independent packages and dependency injection, but it makes it harder for newcomers. I am here to show all how I did it.

3 0
6
Viewed: 96 815 times
Version: 3.0
Category: Tutorials

    Use Single Login Session on All Your Yii2 Application/Repository Under Same Domain/Sub Domain

    Created a year ago by aayushmhu aayushmhu, updated a year ago by aayushmhu aayushmhu. 0 comments

    There are multiple blog that shows how to use seperate login for yii2 application but in this article i will show you how to use a single login screen for all your YII2 Advanced, YII2 Basic, Application, It will also work when your domain on diffrent server or the same server.

    3 0
    1
    Viewed: 62 645 times
    Version: 2.0
    Category: Tutorials

    Nested Set with Yii2

    Created 7 years ago by sangprabo sangprabo, updated 7 years ago by sangprabo sangprabo. 1 comment

    The nested set behaviour is an approach to store hierarchical data in relational databases. For example, if we have many categories for our product or items. One category can be a "parent" for other categories, means that one category consists of more than one category. The model can be drawn using a "tree" model. There are other approaches available but what we will learn in this article is speci...

    7 0
    3
    Viewed: 96 104 times
    Version: 2.0
    Category: Tutorials

    Batch Gridview data ajax send splitted in chunks displaying bootstrap Progress bar

    Created 7 years ago by toaster toaster, updated 7 years ago by toaster toaster. 1 comment

    The scenario in which this wiki can be useful is when you have to send an (huge) array of model ids and perform a time consuming computation with it like linking every model to other models. The idea is to split the array into smaller arrays and perform sequential ajax requests, showing the calculation progress using a [Bootstrap Progress bar](https://www.yiiframework.com/extension/yiisoft/yii2-bo...

    8 0
    2
    Viewed: 41 825 times
    Version: 2.0
    Category: Tutorials

    Yii2 GridView Sorting and Searching with a Junction Table Column(Many to Many Relationship)

    Created 9 years ago by Amjad Khan Amjad Khan, updated 9 years ago by Amjad Khan Amjad Khan. 4 comments

    Following is the table structure

    tblgroups

    CREATE TABLE IF NOT EXISTS `tblgroups` (
      `id` int(11) NOT NULL,
      `groupname` varchar(150) NOT NULL,
      `status` tinyint(1) NOT NULL DEFAULT '1' COMMENT '1=Acitve,2=Inactive',
      `date` datetime NOT NULL
    ) ENGINE=MyISAM DEFAULT CHARSET=latin1;
    

    tblcontacts

    4 2
    7
    Viewed: 98 177 times
    Version: 2.0
    Category: Tutorials