Displaying 1-10 of 785 result(s).

Show raw SQL query

Created about a month ago by dariooFAQs0 comments – viewed 3,268 times – ( +1 ) – version 2.0
Here's a quick tip to dump the SQL for query.

Working with relational removals by yii2

Created 2 months ago by AndroideLPTutorials0 comments – viewed 3,060 times – version 2.0
This tutorial shows you how to safely and safely remove relationships between relationships and multiple lines.

Yii2's RBAC with three roles (admin, editor, author)

Created 2 months ago by rashmaniHow-tos0 comments – viewed 4,314 times – ( -1 ) – version 2.0
One of my project needed roles. Needed permissions and authorizations were not complex enough to require additional plugins or extensions, I only wanted to deal with Yii. So, let's see how I did, one may find useful insights too for his/her case.

Interactive mode command-line command for Yii1

Created 3 months ago by TrejderHow-tos0 comments – viewed 3,186 times – version 1.1
For one of my projects I needed an interactive console command in Yii 1, i.e. the one that is gathering all information from user in an interactive mode (a serie of questions and answers displayed directly in the console), ignoring command-line arguments at all.

REST API and null values in XML

Created 3 months ago by marko60Tips0 comments – viewed 4,218 times – version 2.0
I have been working on a REST API using the excellent tools provided by Yii2. My problem was that I have to differentiate between empty values and null values. In other words, <elem></elem> is different from null as it represents an empty string. Also, although some use <elem/> to represent a null value it should still be interpreted as an empty string. In other cases, the absence of the element is taken to represent a null value, but this may create problem with some parsers.
tags: REST, XML, null

Optimize Scenarios for yii2

Created 3 months ago by AndroideLPTutorials0 comments – viewed 4,945 times – version 2.0
Working with scenarios, with models that can receive many modifications in their rules or structures as development evolves, can create disruptions in the rescue process.

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

Created 3 months ago by Amjad KhanTutorials1 comment – viewed 5,489 times – ( +4 ) – version 2.0
Following is the table structure

How to customize your grid columns visible and order by user themselves

Created 4 months ago by Scott_HuangHow-tos0 comments – viewed 3,388 times – ( +1 ) – version 1.1
Cusomized your grid columns by user themselves, allow user to hide/show columns or re-order the columns sequences.

How to make bootstrap tabs remain active/selected after navigating to different web pages.

Created 4 months ago by emraldTutorials4 comments – viewed 3,567 times – version 2.0
Bootstrap tabs gets unselected/inactive when user navigates to other page and comes back. How to make bootstrap tabs remain active/selected after navigating to different web pages.

Installation guide: Yii-2 advanced template with RBAC system

Created 6 months ago by Sherin JoseTutorials1 comment – viewed 18,549 times – ( +12 / -2 ) – version 2.0
Welcome, all of you !
tags: install, yii2, rbac