Wiki

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

How to use Smarty renderer in Yii

Created 3 years ago by dongbetaHow-tos2 comments – viewed 16,731 times – ( +4 ) – version 1.1
At first, create a class named SmartyRenderer under application/components or any directory you want.
tags: smarty, renderer

Integrating Wordpress and Yii,Working Out The Details.

Created 2 years ago by drumaddictHow-tos4 comments – viewed 16,592 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

Enforcing "You must agree" requirements in forms

Created 3 years ago by Steve FriedlHow-tos3 comments – viewed 16,567 times – ( +29 ) – 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

Yii CGridView add custom button

Created about a year ago by Arockia JohnsonHow-tos1 comment – viewed 16,373 times – ( +6 ) – version 1.1
Hi buddies !, This tutorial shows about how to add a custom button with your own icon for your CGridView of Yii framework

PayPal Integration And IPN (Instant Payment Notification)

Created about a year ago by yasenHow-tos3 comments – viewed 16,269 times – ( +9 ) – version 1.1
Had to implement PayPal payments for a client and would like to share part of my code with you. Because the tutorial will become too long, I'll leave some code to be done by you, e.g. creating models, controllers and db tables for products, orders.

custom sql query results to CDetailView

Created about a year ago by KonApazHow-tos2 comments – viewed 16,065 times – ( +3 )
This is a bried guide about displaying of custom sql query results.

Open bootstrap modal and load content via Ajax

Created 6 months ago by JbalTeroHow-tos1 comment – viewed 16,017 times – ( +2 ) – version 1.1
My goal here is to Open bootstrap modal and load ANY content using ajax response.

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

Created about a year ago by VINAY Kr. SHARMAHow-tos5 comments – viewed 15,817 times – ( +5 )
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 make a dynamic progress bar to show the percentage or status

Created about a year ago by hehbhehbHow-tos1 comment – viewed 15,625 times – ( +5 ) – version 1.1
Yii have a CJuiProgressBar, but it is static. If we want a dynamic progress bar to show the percentage or status, we have to do more things. I make it successfully and am glad to share it with you.

Simple Share Widget for Facebook, twitter and google+

Created 2 years ago by softarkHow-tos4 comments – viewed 15,472 times – ( +10 ) – version 1.1
This widget will show a Facebook "like" button and "comments" box together with "tweet" button and "google plusone" button on your page.