Sorted by ratingX
Displaying 411-420 of 779 result(s).

Simple way to implement Dynamic Tabular Inputs

Created about a year ago by ezekielnoobTutorials5 comments – viewed 13,979 times – ( +4 ) – version all

How to create yii2 extension and push to github and register into packagist to allow end user install from composer

Created about a year ago by Scott_HuangHow-tos1 comment – viewed 10,509 times – ( +4 ) – version 2.0
1. Create Extension in yii2.

Create thermometer using rgraph

Created 3 years ago by Ankit ModiTips2 comments – viewed 6,831 times – ( +4 )
Hi friends,

How to obtain a grammatically correct translation of the model name in giix-generated view files

Created 4 years ago by c@cbaHow-tos0 comments – viewed 11,149 times – ( +4 ) – version 1.1
The giix code generator has out of the box i18n support for model names and attribute labels (besides other cool features > check it out!) . But I want to factor in not only the plural form, but also the grammatical cases (especially the accusative) while translating 'Manage Objects', 'Create Object', 'Edit Object' etc.

How to use default layout for error pages instead of errorXXX views

Created 7 years ago by idle signTutorials1 comment – viewed 25,219 times – ( +4 ) – version 1.1
The issue is covered in "The Definite Guide to Yii" (Error Handling - Handling Errors Using an Action).

YII2: Create console commands inside a module or extension

Created about a year ago by MetaCrawlerTutorials5 comments – viewed 15,416 times – ( +4 ) – version 2.0
Here is a small guide how to get console commands running inside modules & extensions. For this guide I used a fresh yii2 basic application template.
tags: yii2, tutorial, config

Deploy yii on pagoda box

Created 4 years ago by francis jaTutorials0 comments – viewed 8,015 times – ( +4 ) – version 1.1
pagoda box is very useful tool for a programmer to test their php app online so its very useful one. For deploying code pagodabox use git command
tags: pagodabox, pagoda

Create a custom menu using CMenu data-items (flat or tree structure)

Created 3 years ago by Kostas Apazidis (KonApaz)How-tos0 comments – viewed 16,444 times – ( +4 ) – version 1.1
There are cases that you want more control to your menu Suppose you want a specific menu with complex css, layout, images. also you want to add extra content,html,css,javascript etc it run time foreach submenu item by conditions.

How to catch and log MySQL deadlock errors

Created 4 years ago by sebTips1 comment – viewed 11,855 times – ( +4 ) – version 1.1
This method allows to log InnoDB monitor output when deadlock error occured. This way we will have much more useful data to find and fix deadlock.
tags: database

Relational Query - Lazy Loadnig and Eager Loading in Yii 2.0

Created 9 months ago by softarkTutorials0 comments – viewed 8,030 times – ( +4 ) – version 2.0
It's well known that there are Lazy Loading approach and Eager Loading approach in the relational query. But it's very important to know how the Eager Loading approach works in Yii 2. It has changed drastically from that of Yii 1.1, and there are common misunderstandings about it in the community.