Wiki

Displaying 111-120 of 785 result(s).

Forcing login for all pages using CBehavior

Created 3 years ago by Rohit SutharTutorials3 comments – viewed 10,293 times – ( +5 / -7 ) – version 1.1
In this wiki I will show how could forcing login for all pages and users must be logged in to access almost all of the site’s content.

Expert's model generation with Gii

Created 3 years ago by le_topTips0 comments – viewed 8,954 times – ( +3 / -1 ) – version 1.1
Efficient coding with Yii implies efficient use of the code generator. This article shares the personalised Gii templates that were built starting from the standard templates proposed by AweGen.

Search scenario (CGridView, etc.): avoid default values from database as search condition.

Created 3 years ago by le_topTips1 comment – viewed 6,059 times – ( +1 / -1 ) – version 1.1
Yii has a neat "trick" that will assign default values to new CActiveRecords. When performing a search() though, this is pretty annoying as they automatically apply as filter values.

Manage Email Template content from database

Created 3 years ago by Ankit ModiTutorials2 comments – viewed 8,180 times – ( -5 ) – version all
Hi Friends,

How to show a Captcha in CForm?

Created 3 years ago by Rohit SutharHow-tos0 comments – viewed 9,102 times – ( +5 / -3 ) – version 1.1
In this wiki I will show how could use a Captcha in yii CForm. The easy way to show captcha image is create a form using CHtml method & CActiveForm, but CForm also should be able to show a captcha.
tags: captcha, CForm, widget

How to show Image view after upload and delete view image using eajaxupload extension

Created 3 years ago by Ankit ModiHow-tos0 comments – viewed 12,214 times – ( -2 ) – version all
Hi Friends, In this tutorial you can use the eajaxupload-extension ,

How to sum (Update) of all input button price value using jquery

Created 3 years ago by Ankit ModiHow-tos0 comments – viewed 8,377 times – ( +1 / -1 ) – version all
Hi Friends, In this tutorial, how to update the sum of all the button data-price value using jquery, Just Follow three step and it's work easily.I hope It may be some helpful to others.

How to create the custom Drop-down using CHtml::dropDownList

Created 3 years ago by Ankit ModiHow-tos1 comment – viewed 16,626 times – ( -1 ) – version all
Hi Friends, This tutorial may be help us create the custom drop-down menu using CHtml::dropDownList

Tutorial about How to Integrate Yii2 with fantastic theme AdminLTE

Created 3 years ago by ThePr0f3550rHow-tos9 comments – viewed 90,144 times – ( +16 / -2 ) – version 2.0
Yii2 comes with a charming twitter bootstrap version 3. But if it is less, then you can integrate with web templates that you like. One example is wonderfull template "adminLTE"
tags: yii2, theme, adminLTE

Using updateAll and deleteAll with scopes

Created 3 years ago by le_topHow-tos4 comments – viewed 29,105 times – ( +5 / -1 ) – version 1.1
Using CActiveRecord->updateAll() and CActiveRecord->deleteAll() with scopes and criteria requires some tricks that are explained in this article. While findAll() , find() and some other methods use scopes automatically, updateAll() and deleteAll() do not.