After getting lot's of error and don't know how to perform multiple images api in yii2 finally I get it today
After getting lot's of error and don't know how to perform multiple images api in yii2 finally I get it today
Simple Ajax popup view with Ajax link
Assume we have many categories and many posts.
I found a better solution.
This is a tutorial for how to auto set model values without any code.
Inspired by it I extended the CButtonColumn class like this:
First, you have to have create database table for default language and allowed languages.
CREATE TABLE IF NOT EXISTS `tbl_languages` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`name` varchar(20) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
`lang` varchar(2) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
`flagpath` varchar(40) CHARACTER SET utf8 COLLATE utf8_unicode_...
This page is created to supply short directions and general tips for managing a Yii application in Codelobster PHP Edition.
Imagine adds most common image functions and also acts as a wrapper to Imagine image manipulation library.
This wiki explains how to add calculated fields into your Yii Framework 2.0 gridview with filtering and sorting.
One of the common requests I see in the forum is how to implement RBAC. While you can implement Yii 2's built-in RBAC, that might be too much for developers who are just starting with Yii 2 or have simpler needs. Sometimes you are looking for a fast solution and just want two flavors, user and admin. And even if you will eventually need more, you can use these methods as a starting point for devel...
p.s. latest version of this tutorial is always available unter the docs/ folder of the User Management Module.
We will use Symfony 2 components for writing tests for Yii project, it's gonna be fun :).
During development, it's often very handy to have SQL logging and profiling.
$this->render('index', array(
'dataProvider' => $dataProvider,
));
`
In this article you will find Yii framework extensions enabling you to add various charts/print out buttons etc. to your webapp.
Usually when we use AutoComplete in a project, We need to show "title" or "name" in the list, while when the form is posted, we need some sort of integer ID referring to the selected value. Out of the Box, CJuiAutoComplete widget doesn't provides different display text and post values.
You have to extend the widget class and configure it for user login widget