Wiki

Sorted by viewsX
Displaying 321-330 of 782 result(s).

Configuring different sessions for backend and frontend in Yii advanced app

Created 2 years ago by Kartik VHow-tos2 comments – viewed 23,850 times – ( +47 ) – 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.

Configuring CWebLogRoute for DB profiling

Created 5 years ago by Igor IvanovicTutorials1 comment – viewed 23,833 times – ( +3 ) – version 1.1
/index.php /protected/config/main.php
tags: logger, profiler, db

Enabling Gzip

Created 7 years ago by pestaaTutorials6 comments – viewed 23,729 times – ( +6 / -1 ) – version 1.1
Adding HTTP compression to your application could never have been easier!

The MrFisk IRC Bot

Created 4 years ago by rAWTAZOthers0 comments – viewed 23,461 times – ( +6 ) – version 1.1
MrFisk is a sleek little bot hanging out in the official #yii IRC channel on freenode, meant to serve Yii users with documentation lookups and other things. This document intends to provide a summary of what MrFisk can do for you and how to use his fin^H^Heatures.
tags: MrFisk, YiiBot, IRC, bot

Secure password hashing with bCrypt

Created 4 years ago by waitforitHow-tos3 comments – viewed 23,273 times – ( +9 ) – version 1.1
In this article I will show you how to implement a secure password hashing mechanism in your Yii projects using a bCrypt class.

PayPal Integration And IPN (Instant Payment Notification)

Created 3 years ago by yasenHow-tos3 comments – viewed 23,175 times – ( +9 ) – version 1.1
Had to implement PayPal payments for a client and would like to share part of my code with you. Because the tutorial will become too long, I'll leave some code to be done by you, e.g. creating models, controllers and db tables for products, orders.

How to avoid rendering entire page on AJAX call for CGridView and CListView

Created 3 years ago by VINAY Kr. SHARMAHow-tos6 comments – viewed 23,165 times – ( +5 ) – version 1.1
CGridView and CListView are great widget to populate records and also provides features like ajax update, column sort, search, drop-down filter, ajax content load and many more...

Add Beautiful Radio/Checkbox Buttons To Grid

Created 3 years ago by waterloomattHow-tos1 comment – viewed 23,110 times – ( +10 / -2 ) – version 1.1
This is a tutorial on how to create slick looking status buttons to update a model's status via a grid. Note** This tutorial uses Yii Bootstrap for styling.

Avoiding duplicate script download when using Ajax calls to render different Views

Created 5 years ago by Antonio RamirezTips6 comments – viewed 23,059 times – ( +13 / -1 ) – version 1.1
I had to partially render two types of views, depending on user selection. Wanted to display a GRID or a LIST style with an event that AJAX'ed new contents and update a layer with them.
tags: tutorial, AJAX, views

Hyphenation of routes in URL management

Created 4 years ago by qiangHow-tos6 comments – viewed 23,050 times – ( +19 ) – version 1.1
In this article, we introduce an approach that allows automatic hyphenation of the route part in URLs.
tags: URL