Wiki

Sorted by viewsX
Displaying 351-360 of 784 result(s).

Send asset folder path to a javascript of a widget

Created 5 years ago by sensorarioTips4 comments – viewed 23,091 times – ( +4 / -1 ) – 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:

CSqlDataProvider in CGridView

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

Simple Share Widget for Facebook, twitter and google+

Created 5 years ago by softarkHow-tos4 comments – viewed 23,042 times – ( +10 / -1 ) – 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.

A Multi-Tenant Strategy using Yii and MySQL

Created 3 years ago by JFReyesHow-tos9 comments – viewed 23,027 times – ( +10 / -1 ) – version 1.1
This article describes an implementation of multi-tenancy using Yii and MySQL.

How to render a view in Fancybox using ajax

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

Using CJuiDialog to display flash Messages in Dialogues

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

Yii 2.0: Write & use a custom Component in Yii2.0 (Advanced Template)

Created 2 years ago by Deepak PradhanHow-tos1 comment – viewed 22,504 times – ( -1 ) – version 2.0
This is an extension to Yii 2.0: Write & use a custom Component in Yii2.0 for Advanced Template

Cron Jobs in Yii

Created 4 years ago by aarondfrancisHow-tos1 comment – viewed 22,385 times – ( +4 / -1 ) – version 1.1
I've gotten Yii running cron jobs, and wanted to explain briefly how I did it.

Functional Testing in Yii using Goutte and PHPUnit

Created 5 years ago by puteraTutorials2 comments – viewed 22,301 times – ( +7 / -1 ) – version 1.1
Functional Testing in Yii using Goutte and PHPUnit

defaultScope

Created 4 years ago by Gerhard LiebenbergHow-tos4 comments – viewed 22,216 times – ( +5 / -2 ) – version 1.1
This example includes a composite condition as well as an empty condition - as if you bypass or disable defaultScope without using resetScope().