Wiki

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

Add Beautiful Radio/Checkbox Buttons To Grid

Created 4 years ago by waterloomattHow-tos1 comment – viewed 26,928 times – ( +10 / -3 ) – 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.

Date Picker by examples

Created 4 years ago by InterboyHow-tos6 comments – viewed 104,063 times – ( +10 / -3 ) – version 1.1
CJuiDatePicker displays a datepicker. CJuiDatePicker encapsulates the JUI datepicker plugin.

Simple Mail Queue

Created 4 years ago by waterloomattTutorials3 comments – viewed 18,492 times – ( +10 / -3 ) – version 1.1
This tutorial shows how to create a simple mail queue. It is usually run from a cron job but can be run from the command line too.

multiple CActiveDataProviders in one CGridView

Created 4 years ago by Kostas Apazidis (KonApaz)How-tos7 comments – viewed 23,788 times – ( +8 / -2 ) – version 1.1
There is a few cases that you want more of one CActiveDataProvider displayed in one CGrideView How to do that?

Popup AJAX DialogBox without any extension

Created 4 years ago by Kostas Apazidis (KonApaz)How-tos4 comments – viewed 21,703 times – ( +8 / -2 ) – version 1.1
In this wiki I explain how to show a default popup dialogbox (like Gii does) using an existing module.

How to use Expression in default AccessControl to allow only the owner to do some action

Created 4 years ago by whatifHow-tos2 comments – viewed 42,443 times – ( +8 / -2 ) – version 1.1
Hi Everyone

Use application on production/development environment without making changes

Created 6 years ago by ifdatticTips3 comments – viewed 54,644 times – ( +8 / -2 ) – version 1.1
I like programing on my localhost, however it really bugged me to make changes to index.php & config files on my production server. After combining all available wiki articles on this topic and some trial and error this is what I use for my applications so I could just upload it to production server and it will work without any changes.

i18n All-in-one format and timezone conversions for date, time, timestamp and datetime.

Created 4 years ago by Gerhard LiebenbergHow-tos3 comments – viewed 22,691 times – ( +8 / -2 ) – version 1.1
Countries sometimes change their laws pertaining to time zones and daylight saving times. This means that GMT+2 can be a different local time this August compared to last August! It could even be a different date!

An important tip when you are using CArrayDataProvider.

Created 5 years ago by sirin kTips0 comments – viewed 13,676 times – ( +8 / -2 ) – version 1.1
Yii's CArrayDataProvider is very helpful to display model relation data's directly on it.But it is truely a confusing one because by default it will assume a table field named “id” as primary key for its pagination purpose and what if you dont have field named “id” as primary key on your table? so its truely confusing and if you tried to display without an “id” field on ur table you will get an error like “yourmodel.id is not defined”.

Creating a Dependent Dropdown From Scratch in Yii2

Created 3 years ago by ThePr0f3550rHow-tos4 comments – viewed 79,051 times – ( +8 / -2 ) – version 2.0
I have read http://www.yiiframework.com/wiki/24/creating-a-dependent-dropdown/ (Dependen Dropdown Yii1), but I can't implement it in Yii2 because Yii2 does not have built-in AJAX functionality hem.. I searched about it and came across this post