Wiki

Articles in category "how-tos", sorted by date (updated)X
Displaying 81-90 of 329 result(s).

Save uploaded file with any filename characters

Updated 9 months ago by Kostas Apazidis (KonApaz)How-tos3 comments – viewed 3,039 times – ( +1 ) – version 1.1
First of all this is a very common problem, for more details see this post http://www.yiiframework.com/forum/index.php/topic/52052-upload-file-with-any-charset/

Find geolocation info of client through another API

Updated 9 months ago by Kostas Apazidis (KonApaz)How-tos0 comments – viewed 1,702 times – ( +1 ) – version 1.1
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)

Yii2 and Pdf files with Mpdf

Updated 9 months ago by CTalaHow-tos1 comment – viewed 4,474 times – ( +4 ) – version 2.0
I am still new to composer and packagist, so I want to share how I am creating the pdf files because for me was not as simple as it should be.

Displaying uploaded file from DB for update with FileInput widget

Updated 9 months ago by Kartik VHow-tos0 comments – viewed 7,968 times – ( +33 / -5 ) – version 2.0
This is for folks who are using \kartik\widgets\FileInput to upload files from your client. How do you display an image for update after you have uploaded it to the server using the widget?

using editors of yiibooster - fix issues - configuration

Updated 9 months ago by Nur RochimHow-tos0 comments – viewed 5,610 times – ( +5 ) – version 1.1
if you have use the yiibooster extension, you have definitely used the amazing redactor, html5 and ckEditor editors.

Logging to Heroku's logs from Yii

Updated 9 months ago by aarondfrancisHow-tos0 comments – viewed 3,841 times – ( +2 ) – version 1.1
In order to get your Yii logs into Heroku's logs, you have to work a little bit of magic. You'll need to modify the boot.sh script and add the following two lines:
tags: heroku, Logging

Using the yii2-datecontrol extension along with yii2-detail-view widget

Updated 9 months ago by Kartik VHow-tos0 comments – viewed 3,012 times – ( +30 ) – version 2.0
The yii2-datecontrol extension allows you to control separate date formats for display and saving for form inputs.

Render a form in a Modal Popup using ajax

Updated 9 months ago by thiagoc7How-tos11 comments – viewed 27,643 times – ( +8 ) – version 2.0
Nowdays is very common webapps use this feature. With Yii2 this is very easy.
tags: yii2, AJAX, modal

Check online users / set specific user offline

Updated 9 months ago by Kostas Apazidis (KonApaz)How-tos2 comments – viewed 3,367 times – ( +4 ) – version 1.1
How to check the online users or how to logout a specific user from your admin panel? This wiki shows how to do that

Update specific cgridview html row after AJAX request

Updated 9 months ago by Kostas Apazidis (KonApaz)How-tos3 comments – viewed 6,453 times – ( +2 ) – version 1.1
After of model update (successfull or not) throught CGridView (check the below link) you probably need to updates the specific row html in cgridview (not entire cgridview)