Wiki

Sorted by viewsX
Displaying 341-350 of 786 result(s).

How to avoid rendering entire page on AJAX call for CGridView and CListView

Created 4 years ago by VINAY Kr. SHARMAHow-tos6 comments – viewed 25,087 times – ( +5 / -1 ) – version 1.1
CGridView and CListView are great widget to populate records and also provides features like ajax update, column sort, search, drop-down filter, ajax content load and many more...

How to create CJui Tabs : Render partial, Ajax tabs, color tabs

Created 4 years ago by InterboyHow-tos1 comment – viewed 24,994 times – ( +5 / -1 ) – version 1.1
Hey guys, today we will show you how to make a Yii CJuitabs as example. Some feature cases such as Static tabs, render partial tabs, Ajax tabs, color tabs... You can see our code, there are simple 3 steps to make it work.

Integrating Wordpress and Yii,Working Out The Details.

Created 5 years ago by drumaddictHow-tos4 comments – viewed 24,602 times – ( +8 / -1 ) – 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

A simple go back button widget

Created 5 years ago by CTalaHow-tos7 comments – viewed 24,541 times – ( +8 / -4 ) – version 1.1
We all know that widgets are really useful. We can use the almost everywhere we want, and we can use the same code a lot of times ( Almost OOP ).

CSqlDataProvider in CGridView

Created 3 years ago by Kostas Apazidis (KonApaz)Tutorials8 comments – viewed 24,528 times – ( +8 / -1 ) – version 1.1
In this wiki I will show how could use a CSqlDataProvider in CGridView with specific features

Secure password hashing with bCrypt

Created 5 years ago by waitforitHow-tos3 comments – viewed 24,488 times – ( +9 / -1 ) – version 1.1
In this article I will show you how to implement a secure password hashing mechanism in your Yii projects using a bCrypt class.

Avoiding duplicate script download when using Ajax calls to render different Views

Created 6 years ago by Antonio RamirezTips6 comments – viewed 24,422 times – ( +13 / -2 ) – version 1.1
I had to partially render two types of views, depending on user selection. Wanted to display a GRID or a LIST style with an event that AJAX'ed new contents and update a layer with them.
tags: tutorial, AJAX, views

YiiBackboneBoilerplate - Project Setup for your Yii+BackboneJS applications

Created 5 years ago by Antonio RamirezOthers5 comments – viewed 24,394 times – ( +14 / -1 ) – version 1.1
YiiBackboneBoilerplate
tags: directory, config

Checking for "expired" sessions/logins on the client side

Created 4 years ago by le_topHow-tos0 comments – viewed 24,323 times – ( +6 / -1 ) – version 1.1
Getting "Expired token" errors ? Here is a solution to avoid invalid CSRF on POST or ajax requests, or user identity changes.

Enforcing "You must agree" requirements in forms

Created 6 years ago by Steve FriedlHow-tos3 comments – viewed 24,264 times – ( +29 / -1 ) – version 1.1
Checkboxes have two possible values, true and false, but some applications require that the user select one particular value before proceeding. Examples might be:
tags: validation