Wiki

Sorted by date (updated)X
Displaying 51-60 of 691 result(s).

View a related field in CGridView

Updated 2 months ago by Rafael J TorresTips1 comment – viewed 1,541 times – ( +5 ) – version 1.1
Generally we need to show one or more fields from a model that is related to another model used in CGridView. For our case we will use two related models, which explain how to use model "A" fields in a CGridView that used model "B".

How to display data from two tables in TbGridView using DataProvider?

Updated 2 months ago by Rohit SutharTutorials4 comments – viewed 2,180 times – ( +5 / -1 ) – version 1.1
In this wiki I will show how to display data from two tables in Bootstrap TbGridView using dataProvider.

I18n / localised routes in Yii

Updated 2 months ago by ElecenHow-tos1 comment – viewed 1,290 times – ( +3 / -1 ) – version 1.1
So, you need localised urls made simple that follow the Yii framework guidelines?
tags: i18n, Routing

Profiling user requests

Updated 2 months ago by M0kaTutorials3 comments – viewed 1,183 times – ( +1 ) – version 1.1
How to profile user requests so you can determine which actions need an enhancements and optimizations? This wiki going to show you a step by step how to do it.

Nested inline active fields inside Bootstrap horizontal forms

Updated 2 months ago by Kartik VHow-tos1 comment – viewed 3,212 times – ( +28 ) – version 2.0
Are you using the Bootstrap 3 form styles with Yii 2 Active Forms? Have you faced problems in displaying complex layouts which needs you to display multiple inline form fields in a single row, within bootstrap horizontal forms. Then read on.

Where to implement knowledge about the addresses of the controller?

Updated 3 months ago by Petr.GrishinTutorials0 comments – viewed 1,347 times – ( +1 ) – version 1.1
Knowledge is necessary to determine the address of the controller in a single layer system. This allows you to quickly search and painlessly produce refactoring controllers and their addresses.

Configuring different sessions for backend and frontend in Yii advanced app

Updated 3 months ago by Kartik VHow-tos0 comments – viewed 2,503 times – ( +29 ) – version 2.0
After you have setup your Yii2 advanced application, you now have setup your user authentication for both frontend and backend. However, if you have first logged into frontend, and try to access backend from the same client machine, you see no login screen, but find yourself automatically logged in.

Make the authentication more securely

Updated 3 months ago by KonApazTutorials0 comments – viewed 1,868 times – ( +1 ) – version 1.1
Suppose a hacker has an account of your website He could set the PHPSESSID to empty After of that He login in your system The PHPSESSID remains blank and user has already logged with this session

How to create a Widget - Recent Comments widget

Updated 3 months ago by Nisanth thulasiHow-tos2 comments – viewed 2,877 times – ( +2 ) – version all
Here's a simple way to create a Recent comments showing widget to be used in your templates. The idea is just to highlighting your blog's new comments.

Authenticating against phpass hashes with Yii

Updated 3 months ago by Da:SourcererHow-tos18 comments – viewed 22,788 times – ( +26 ) – version 1.1
Note: This guide is outdated as of Yii v1.1.14 which introduced the CPasswordHelper class. Please use that instead.