Wiki

Sorted by ratingX
Displaying 381-390 of 786 result(s).

How to "masquerade" a non-required form element as 'required' one (in the view only)

Created 5 years ago by BoazHow-tos2 comments – viewed 15,966 times – ( +7 / -2 ) – version 1.1
In a nutshell, the task at hand is to mark (or render) a model attribute in the typical "_form.php" view file with the 'required' red asterisk while this attribute is not marked as required in the model's rule() method. If you're interested only in the solution, jump ahead to the 'solution' section below.

Yii registry, how to use it, does it exist at all?

Created 6 years ago by dckurushinHow-tos2 comments – viewed 25,492 times – ( +7 / -2 ) – version 1.1
From time to time people ask about registry...

Yii2 Report Grid

Created 4 months ago by Chris BackhouseTips0 comments – viewed 5,992 times – ( +3 ) – version 2.0
There are some very advanced grids in the Yii2 community, specifically Kartik's amazing gridview extensions but they all designed for interactive screen use.
tags: GridView, report

How to avoid rendering entire page on AJAX call for CGridView and CListView

Created 4 years ago by VINAY Kr. SHARMAHow-tos6 comments – viewed 25,245 times – ( +5 / -1 ) – version 1.1
CGridView and CListView are great widget to populate records and also provides features like ajax update, column sort, search, drop-down filter, ajax content load and many more...

using editors of yiibooster - fix issues - configuration

Created 4 years ago by Kostas Apazidis (KonApaz)How-tos0 comments – viewed 8,126 times – ( +5 / -1 ) – version 1.1
if you have use the yiibooster extension, you have definitely used the amazing redactor, html5 and ckEditor editors.

how to make a dynamic progress bar to show the percentage or status

Created 4 years ago by hehbhehbHow-tos1 comment – viewed 31,082 times – ( +5 / -1 ) – version 1.1
Yii have a CJuiProgressBar, but it is static. If we want a dynamic progress bar to show the percentage or status, we have to do more things. I make it successfully and am glad to share it with you.

CGridView Date Range Without Cookies or Session (External Filtering)

Created 4 years ago by ezekielnoobHow-tos6 comments – viewed 14,240 times – ( +5 / -1 ) – version 1.1
Here's a tutorial on how to create a CGridView with external date filters the trick is to create hidden columns within the CGridView Filters something like in the example below:

How to create yii2 extension and push to github and register into packagist to allow end user install from composer

Created 2 years ago by Scott_HuangHow-tos1 comment – viewed 15,358 times – ( +5 / -1 ) – version 2.0
1. Create Extension in yii2.

Beginner / Intro Tutorials (please add to / update this list)

Created 8 years ago by Ivo RoperTutorials1 comment – viewed 42,300 times – ( +5 / -1 ) – version 1.1
This is a central location to collect links to "Getting Started" documentation beyond the blog demo and Creating First Yii Application. Please help the community by adding general, introductory links and descriptions to this page.

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

Created 4 years ago by InterboyHow-tos1 comment – viewed 25,180 times – ( +5 / -1 ) – 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.