Wiki

Articles in category "how-tos", sorted by ratingX
Displaying 211-220 of 306 result(s).

make chart from custome queries using amcharts widget

Created about a year ago by Narender NegiHow-tos0 comments – viewed 2,768 times – ( +2 )
Use this code in your view,make sure to put EAmChartWidget in your extension folder. here is the url of widget http://www.yiiframework.com/extension/eamchartwidget/

How to handle decimal separators (e.g comma instead of dot) for l18n

Created 2 years ago by jpabloHow-tos2 comments – viewed 11,354 times – ( +2 ) – version 1.1
Yii i18n does not cover decimal format. Some languages like Spanish (I live in Argentina) uses comma ',' instead of dot '.' as decimal separator.

thumbsgen and Kohana Image Library together (extends an extension)

Created 10 months ago by KonApazHow-tos0 comments – viewed 2,690 times – ( +2 )
In this wiki I will show you how to extends an extension and/or how can two or more extensions work together.

Publish yii webapp using Git push

Created 2 years ago by rootbearHow-tos6 comments – viewed 7,090 times – ( +2 ) – version 1.1
I did not invent this instructions, I read it somewhere and re-organized in my way as I was trying and it works for me;
tags: git

Upload image and content using AJAX and Store it in different table

Created 6 months ago by SelvakumarHow-tos1 comment – viewed 16,931 times – ( +2 ) – version 1.1
We all know how to upload the content and images at the same time with refreshing the page. And uploading the images using Ajax we have faced some issues, here i have fixed the issues and both content and photos are uploaded using Ajax. And both content and images are stored in the different tables

Configuring Yii to run on both Windows and OSX

Created 6 months ago by trondHow-tos2 comments – viewed 2,327 times – ( +2 ) – version 1.1
If you develop your Yii project on both Windows and Mac, there can be a problem setting up the configuration unless the configurations for both system are identical. On my machines I have the following configurations:
tags: config

Entire Messages into javascript object

Created 2 years ago by markuxHow-tos0 comments – viewed 4,380 times – ( +2 ) – version 1.1
I needed all messages with their translation into javascript. This is my solution:

MongoDb's embedded documents mapping for ActiveRecord in Yii2

Created 6 months ago by edoardo849How-tos1 comment – viewed 2,860 times – ( +2 ) – version 2.0
You are working with MongoDb and you have embedded documents in your collection that you want to easily map in your Model for CRUD operations.

Attaching multiple event handlers to onBeginRequest

Created 5 months ago by BoazHow-tos0 comments – viewed 2,315 times – ( +2 ) – version 1.1
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).

Using phpseclib with Yii

Created about a year ago by nkdHow-tos8 comments – viewed 6,105 times – ( +2 ) – version 1.1
I installed phpseclib because I needed to do some AES encryption in my project. After all the hassle of installing php lib, I found out that Yii already has a security module (securityManager). I finally decided to keep using phpseclib because it has one big advantage over Yii securityManager module, it does not requite mcrypt to be installed in the phpserver!
tags: security