Wiki

Sorted by viewsX
Displaying 331-340 of 774 result(s).

Add Beautiful Radio/Checkbox Buttons To Grid

Created 2 years ago by waterloomattHow-tos1 comment – viewed 21,974 times – ( +10 / -2 ) – version 1.1
This is a tutorial on how to create slick looking status buttons to update a model's status via a grid. Note** This tutorial uses Yii Bootstrap for styling.

Hyphenation of routes in URL management

Created 3 years ago by qiangHow-tos6 comments – viewed 21,906 times – ( +19 ) – version 1.1
In this article, we introduce an approach that allows automatic hyphenation of the route part in URLs.
tags: URL

Enforcing "You must agree" requirements in forms

Created 5 years ago by Steve FriedlHow-tos3 comments – viewed 21,872 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 Change Password with use of old and repeat password using bootstrap TbActiveForm

Created 2 years ago by Rohit SutharTutorials6 comments – viewed 21,846 times – ( +5 / -1 ) – version 1.1
In this wiki I will show how could use a TbActiveForm for changing the old password with help of old, new and repeat password features.

Simple Share Widget for Facebook, twitter and google+

Created 4 years ago by softarkHow-tos4 comments – viewed 21,637 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.

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

Created 2 years ago by InterboyHow-tos1 comment – viewed 21,617 times – ( +5 ) – 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.

Send asset folder path to a javascript of a widget

Created 4 years ago by sensorarioTips4 comments – viewed 21,580 times – ( +4 ) – version 1.1
When you develop a widget, you could need one image that is in the assets folder, you can use it simply within a css. You can load a css or javascript script doing this:

Using CJuiDialog to display flash Messages in Dialogues

Created 5 years ago by thyseusTutorials2 comments – viewed 21,375 times – ( +11 ) – version 1.1
In order to nicely display flash Messages, create view like this called views/site/dialog.php :

Integrating Wordpress and Yii,Working Out The Details.

Created 3 years ago by drumaddictHow-tos4 comments – viewed 21,375 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

A simple go back button widget

Created 3 years ago by CTalaHow-tos7 comments – viewed 21,371 times – ( +8 / -3 ) – 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 ).