Wiki

Articles in category "how-tos", sorted by ratingX
Displaying 111-120 of 353 result(s).

Displaying image in a CGridView column.

Created 4 years ago by sirin kHow-tos5 comments – viewed 61,820 times – ( +13 / -1 ) – version 1.1
This is a simple example of how we can display images in CGridviews.Imagine that you have an image field in your table ie either a location field or a blob type field used to store the images.
tags: CGridView, image

Use kartik Growl with Yii2 flash messages

Created 2 years ago by skwordenHow-tos3 comments – viewed 24,729 times – ( +8 ) – version 2.0
This is to show you how to use Yii2 flash messages with Kartik Growl (bootstrap notify wrapper).

Multiple files uploader with CMultiFileUpload

Created 3 years ago by InterboyHow-tos2 comments – viewed 264,388 times – ( +8 ) – version all
Today I will show you how to handle multiple file upload step by step.

How to: use github for download yii, create new app, and store our modules or extensions.

Created 4 years ago by sensorarioHow-tos1 comment – viewed 13,413 times – ( +8 ) – version 1.1
Yesterday I've written a module for myself. Just an experiment. When I was feeling satisfied, I've created a repository on github, and pushed my code. My module and yii are on github. So I'll show you a "new" way to start our yii projects.
tags: github, git

How-To: Create Token Authenticated Web Services

Created 3 years ago by hemcHow-tos1 comment – viewed 23,758 times – ( +8 ) – version 1.1
This article is about implementing authentication to Yii based web services.

Upload files in Yii2 with MongoDb and GridFs

Created 3 years ago by edoardo849How-tos3 comments – viewed 18,036 times – ( +8 ) – version 2.0
Uploading files in a webapp can be extremely tricky and sometimes the quickest way to do it is to store the file directly in the webserver or into a DNS (like Amazon S3) and then to save the link and the metadata inside a table in the DB. The thing is that you'll have to deal with file permissions, server storage, file management and so on (which is perfectly fine, by the way).

Integrating Wordpress and Yii,Working Out The Details.

Created 4 years ago by drumaddictHow-tos4 comments – viewed 22,815 times – ( +8 ) – version 1.1
This article is based on fr0d0z's article Integrating Wordpress and Yii: still another approach, using Yii as the router/controller and provides more details on how to set up this integration.To be more specific,the idea is not to use any main.php layout in Yii's controllers.This gives the advantage that we do not need to modify any Yii code when we switch a theme in WordPress admin panel,provided we have done a very basic setup which I explain below.
tags: wordpress

More security in your applications with Yii and PHPIDS

Created 6 years ago by Rafael GarciaHow-tos1 comment – viewed 14,011 times – ( +8 ) – version 1.1
PHPIDS is a well known project that can be found in php-ids.org.
tags: phpids, security

How to send emails using SMTP

Created 2 years ago by robregonmHow-tos2 comments – viewed 52,132 times – ( +8 ) – version 2.0
Follow @robregonm
tags: yii2, email, mail, mailer, smtp

Update CGridview row separately using ajax request

Created 2 years ago by Kostas Apazidis (KonApaz)How-tos10 comments – viewed 15,210 times – ( +8 ) – version 1.1
There are cases you want to update a record on CGridview directly