Wiki

Sorted by viewsX
Displaying 461-470 of 716 result(s).

Understanding series articles

Created 3 years ago by GOshaTips0 comments – viewed 7,995 times – ( +16 ) – version 1.1
Here are all wiki articles from "Understanding" series by Yii wiki contributors:

An important tip when you are using CArrayDataProvider.

Created 2 years ago by sirin kTips0 comments – viewed 7,993 times – ( +8 / -1 ) – version 1.1
Yii ‘s CArrayDataProvider is very helpful to display model relation data's directly on it.But it is truely a confusing one because by default it will assume a table field named “id” as primary key for its pagination purpose and what if you dont have field named “id” as primary key on your table? so its truely confusing and if you tried to display without an “id” field on ur table you will get an error like “yourmodel.id is not defined”.

How to display Dependent drop-down value using ajax call with dynamically

Created 4 months ago by Ankit ModiTutorials4 comments – viewed 7,933 times – ( +1 / -2 ) – version all
Hi Friends, In this tutorial I write a code display dependent drop-down value using ajax call.

Display Status image on CGridView column

Created about a year ago by Ankit ModiTutorials1 comment – viewed 7,894 times – ( +1 / -1 ) – version all
How to display status image on admin gridview.

Using recaptchlib in your projects

Created 4 years ago by Antonio RamirezHow-tos2 comments – viewed 7,894 times – ( +5 ) – version 1.1
It is good when someone writes extensions for us but trust, sometimes we forget about other approaches that, if we know the library, we shouldn't forget.

How to use GridView with AJAX

Created 7 months ago by Antonio RamirezHow-tos1 comment – viewed 7,886 times – ( +7 ) – version 2.0
With the adoption of PJax on Yii2 things  have change quite a bit with GridView when it comes to work with them in AJAX mode. It will probably be confusing at the beginning, but then you will soon realize how powerful the new approach is.
tags: yii2, pjax, widget

How to make use of a fragment cache

Created 5 years ago by dalipTutorials0 comments – viewed 7,872 times – ( +1 ) – version 1.1
According to the manual http://jp.php.net/manual/en/memcache.installation.php;
tags: cache, memcache

CGridView keep focus on the control after filtering

Created 2 years ago by jayalaHow-tos2 comments – viewed 7,858 times – ( +6 ) – version 1.1
You can find the reason why I wrote this article here.
tags: CGridView, filter

Implementing a Flat User Access System

Created about a year ago by TrejderHow-tos1 comment – viewed 7,847 times – ( +9 ) – version 1.1
This article shows a quick and easy way to implement flat user access control system. Flat means, that user access is controlled by level only, which is solution exactly opposite to complex RBAC access systems.

Simple Web APIs for your Yii App

Created 10 months ago by shivHow-tos3 comments – viewed 7,824 times – ( +2 / -2 ) – version 1.1
Its very common now-a-days to have Mobile app for web apps. For Mobile apps we need web APIs to fetch data or even post/update on web. We found a very simple method to make such interface. Mobile App can call plain get or post request and receive data back in JSON format. JSON is relatively easy for mobile app to handle while plain standard GET/POST request for easy for Web server to handle. This mixed approach saves lot of time on server side. We not really need to handle actual REST requests and still be able to exchange data between web and mobiles or ajax java-scripts or even node.js.
tags: API, JSON