Wiki

Displaying 91-100 of 753 result(s).

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

Created about a year ago by Rohit SutharTutorials4 comments – viewed 7,908 times – ( +6 / -1 ) – version 1.1
In this wiki I will show how to display data from two tables in Bootstrap TbGridView using dataProvider.

View a related field in CGridView

Created about a year ago by rafaelt88Tips1 comment – viewed 6,500 times – ( +6 ) – 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 prevent Login from two places?

Created about a year ago by Rohit SutharTutorials0 comments – viewed 5,134 times – ( +5 / -1 ) – version 1.1
In this wiki I will show how to Disallowing login from multi places. User can login or access their account at time, only single place.

I18n / localised routes in Yii

Created about a year ago by ElecenHow-tos3 comments – viewed 2,888 times – ( +3 / -1 ) – version 1.1
So, you need localised urls made simple that follow the Yii framework guidelines?
tags: i18n, Routing

Yii Change Password with use of old and repeat password using bootstrap TbActiveForm

Created about a year ago by Rohit SutharTutorials6 comments – viewed 13,769 times – ( +5 / -1 ) – version 1.1
In this wiki I will show how could use a TbActiveForm for changing the old password with help of old, new and repeat password features.

Nested inline active fields inside Bootstrap horizontal forms

Created about a year ago by Kartik VHow-tos2 comments – viewed 17,056 times – ( +41 ) – 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?

Created about a year ago by Petr.GrishinTutorials0 comments – viewed 2,357 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.

Make the authentication more securely

Created about a year ago by Kostas Apazidis (KonApaz)Tutorials1 comment – viewed 4,025 times – ( +3 ) – 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

Yii 1.1: Cgridview: Use Special Variable $Data In The Options Of A Button (I.e. Evaluate Options Attribute)

Created about a year ago by Louis GacTutorials1 comment – viewed 6,237 times – ( +6 ) – version 1.1
For each column of the CGridView, we can specify customized buttons : Customize Buttons in CGridWiew

How to create a Widget - Recent Comments widget

Created about a year ago by Nisanth thulasiHow-tos3 comments – viewed 14,717 times – ( +8 ) – 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.