Showing 21-40 of 292 items.

Changing Controllers Name

Created 15 years ago by Trejder Trejder, updated 13 years ago by Trejder Trejder. 0 comments

This very short how-to presents steps required to change controller name. It is oriented for less experienced users, which are starting their journey with Yii, to avoid common newbie pitfalls.

4 0
2
Viewed: 31 756 times
Version: 1.1
Category: How-tos

Email by YiiMailer, Call Outlook, IMAP

Created 12 years ago by Scott_Huang Scott_Huang, updated 12 years ago by CeBe CeBe. 0 comments

In Yii community we have lots of extention can send emails, such as YiiMailer and Swift and so on, or even IMAPI, thanks for team contribution. However, sometimes, in the intranet enviroment, the program cannot run successfully since SMTP /IMAP port been banded. So you need to seek other ways. The most simple way is call outlook as COM.

0 0
6
Viewed: 26 972 times
Version: 1.1
Category: How-tos

Attaching multiple event handlers to onBeginRequest

Created 12 years ago by Boaz Boaz, updated 12 years ago by CeBe CeBe. 0 comments

There came the need to perform two operations, always, on 'application boot' time. Example? My real world example involved some geo-location logic (that's the first operation) and syncing of some session details so KcFinder can be in sync with the user in context - each user with his own session container (the second).

1 0
2
Viewed: 19 238 times
Version: 1.1
Category: How-tos

Find geolocation info of client through another API

Created 12 years ago by Kostas Apazidis (KonApaz) Kostas Apazidis (KonApaz), updated 12 years ago by Kostas Apazidis (KonApaz) Kostas Apazidis (KonApaz). 0 comments

This wiki shows how to get the geolocation info of the client using another server API It could be write also as extension but there are a lots of APIs that change the below code So, I wrote the below code that works for one of them (using www.geoplugin.net)

1 0
2
Viewed: 11 957 times
Version: 1.1
Category: How-tos