Wiki

Sorted by date (updated)X
Displaying 161-170 of 751 result(s).

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

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

CGridView. Add custom class to table rows preserving original „odd“ and „even“

Updated about a year ago by yugeneHow-tos2 comments – viewed 26,372 times – ( +8 ) – version 1.1
Lets say we have such a CGridView widget showing a list of users for administrator. Users have status „active“ or „disabled“. Grid widget puts class „odd“ or „even“ to rows and we want to preserve this. So we want to add a class „disabled“ to rows with disabled users.

Email template functionality with manage content from database

Updated about a year ago by yugeneTutorials5 comments – viewed 18,867 times – ( +5 / -3 ) – version 1.1
I hadn't specify whole flow as I assume you know yii crud flow well, and Quick understand of my specified admin flow.. :)
tags: email, template

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

Updated about a year ago by Rohit SutharTutorials4 comments – viewed 7,134 times – ( +6 / -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 about a year ago by ElecenHow-tos3 comments – viewed 2,710 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 about a year ago by M0kaTutorials3 comments – viewed 2,047 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 about a year ago by Kartik VHow-tos2 comments – viewed 14,712 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?

Updated about a year ago by Petr.GrishinTutorials0 comments – viewed 2,227 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 about a year ago by Kartik VHow-tos1 comment – viewed 9,286 times – ( +44 ) – 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 about a year ago by Kostas Apazidis (KonApaz)Tutorials1 comment – viewed 3,743 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