Wiki

Sorted by commentsX
Displaying 361-370 of 467 result(s).

Email function at Contact page

Created 2 months ago by sarthakTutorials1 comment – viewed 2,199 times – ( +1 / -3 )
***note : only for linux users.
tags: email, contact, ssmtp

Integrating HybridAuth directly into Yii without an extension

Created 2 months ago by biz devHow-tos1 comment – viewed 3,683 times – ( +6 )
This article tries to explain the steps required in integrating the HybridAuth into Yii directly, without using an extension.

Open Dialog from ajax content

Created 2 months ago by TouzasHow-tos1 comment – viewed 3,983 times – ( +3 / -1 )
This tutorial will show you how to create Ajax dialog. It's very simple code.

Using a CDbDataReader (sql query result) in a zii widget (such as CGridView or CListView)

Created about a year ago by Revelis Luc BonninHow-tos1 comment – viewed 12,830 times – ( +9 / -1 )
If in your application you have to proceed to a complex SQL query that is not associated to a model, you will use CDbDataReader like it is described in the Yii documentation. An example could be

How to use a component before every action of a controller

Created about a month ago by transistorTips1 comment – viewed 2,600 times – ( +1 )
I guess this is a tip on how to execute some code before every action in a controller, because I will tell you how I did it and maybe you can use the idea in your project.

Display a nice exception message on ajax requests

Created about a year ago by Maurizio DombaTips1 comment – viewed 15,084 times – ( +11 )
When an exception is thrown in our code like
tags: error, exception

Profiling using XDebug

Created 16 days ago by le_topHow-tos1 comment – viewed 1,033 times – ( +2 )
A short explication on how to extract profile information for PHP on your server using XDebug and KCacheGrind or WinCacheGrind.

Configuring CWebLogRoute for DB profiling

Created about a year ago by Igor IvanovicTutorials1 comment – viewed 9,089 times – ( +3 )
/index.php /protected/config/main.php
tags: logger, profiler, db

Disable login page if user is logged in

Created 12 days ago by freezingbananaTutorials1 comment – viewed 2,245 times – ( +2 / -11 )
This is a very simple tutorial that demonstrates how to redirect user back to the returnUrl if he is already logged in.

Force a User to Change Their Password (ChangePasswordFilter)

Created about a year ago by waterloomattTutorials1 comment – viewed 8,603 times – ( +14 )
Sometimes you need to force a user to change their password after x number of days. This article describes how to implement this using a filter, ChangePasswordFilter.