Wiki

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

Add Beautiful Radio/Checkbox Buttons To Grid

Created 3 years ago by waterloomattHow-tos1 comment – viewed 22,468 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 22,450 times – ( +19 ) – version 1.1
In this article, we introduce an approach that allows automatic hyphenation of the route part in URLs.
tags: URL

How to render a view in Fancybox using ajax

Created 4 years ago by rix.rix.How-tos1 comment – viewed 22,230 times – ( +7 ) – version 1.1
Sometimes you want to render a view in Fancybox.
tags: fancybox, ajax, views

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

Created 2 years ago by InterboyHow-tos1 comment – viewed 22,200 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.

Enforcing "You must agree" requirements in forms

Created 5 years ago by Steve FriedlHow-tos3 comments – viewed 22,197 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

Configuring different sessions for backend and frontend in Yii advanced app

Created 2 years ago by Kartik VHow-tos2 comments – viewed 22,060 times – ( +46 ) – version 2.0
After you have setup your Yii2 advanced application, you now have setup your user authentication for both frontend and backend. However, if you have first logged into frontend, and try to access backend from the same client machine, you see no login screen, but find yourself automatically logged in.

Simple Share Widget for Facebook, twitter and google+

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

Send asset folder path to a javascript of a widget

Created 5 years ago by sensorarioTips4 comments – viewed 21,911 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:

How-To: Create Token Authenticated Web Services

Created 2 years ago by hemcHow-tos1 comment – viewed 21,888 times – ( +8 ) – version 1.1
This article is about implementing authentication to Yii based web services.

A simple go back button widget

Created 3 years ago by CTalaHow-tos7 comments – viewed 21,861 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 ).