Wiki

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

YiiBackboneBoilerplate - Project Setup for your Yii+BackboneJS applications

Created 5 years ago by Antonio RamirezOthers5 comments – viewed 24,990 times – ( +14 / -1 ) – version 1.1
YiiBackboneBoilerplate
tags: directory, config

YII2: Create console commands inside a module or extension

Created 2 years ago by MetaCrawlerTutorials5 comments – viewed 24,947 times – ( +4 / -1 ) – version 2.0
Here is a small guide how to get console commands running inside modules & extensions. For this guide I used a fresh yii2 basic application template.
tags: yii2, tutorial, config

Avoiding duplicate script download when using Ajax calls to render different Views

Created 6 years ago by Antonio RamirezTips6 comments – viewed 24,920 times – ( +13 / -2 ) – version 1.1
I had to partially render two types of views, depending on user selection. Wanted to display a GRID or a LIST style with an event that AJAX'ed new contents and update a layer with them.
tags: tutorial, AJAX, views

Enforcing "You must agree" requirements in forms

Created 7 years ago by Steve FriedlHow-tos3 comments – viewed 24,825 times – ( +29 / -1 ) – version 1.1
Checkboxes have two possible values, true and false, but some applications require that the user select one particular value before proceeding. Examples might be:
tags: validation

Activate captcha after unsuccessful login attempts

Created 4 years ago by Kostas Apazidis (KonApaz)How-tos22 comments – viewed 24,766 times – ( +13 / -3 ) – version 1.1
Like gmail, if you have tree or more unsuccessful login attemps a captcha appears

CPhpAuthManager - how it works, and when to use it

Created 6 years ago by dckurushinHow-tos5 comments – viewed 24,740 times – ( +1 / -5 ) – version 1.1
Before reading this article, you should first learn this How to setup RBAC with a php file

Debugging CActiveRecord failed save() attempts

Created 4 years ago by BoazTips0 comments – viewed 24,650 times – ( +5 / -1 ) – version 1.1
When you're filling up a form of a CActiveRecord (using CActiveForm for example), usually you'll construct your code so that in case of validation error you'll get back the form with the error displayed back to you, typically when CActiveForm.errorSummary() is used. This is how its done by Gii.

Troubleshooting Rights Extension

Created 6 years ago by junxiongTips6 comments – viewed 24,641 times – ( +8 / -1 ) – version 1.1
Rights is one of user interface for Yii's Role Base Access Control extension. It is one of most downloaded extensions in Yii's Web.

Send asset folder path to a javascript of a widget

Created 6 years ago by sensorarioTips4 comments – viewed 24,598 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:

Cron Jobs in Yii

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