Wiki

Articles in category "tutorials", sorted by ratingX
Displaying 81-90 of 236 result(s).

How to store array/widget configuration to the database with config validation rules

Created 7 months ago by Kartik VTutorials0 comments – viewed 2,495 times – ( +29 / -4 ) – version 2.0
You may have scenarios, where you want to store a specific array configuration to the database. A classic example could be saving Yii widget configuration to the database and then retrieving it at runtime, with dynamic parameters set. This wiki discusses one of the approaches to do this. Let's consider you have something like the NavBar configuration below to store in the db:

Filter & Sort by Summary Data in GridView Yii 2.0

Created 7 months ago by Kartik VTutorials5 comments – viewed 6,738 times – ( +29 / -4 ) – version 2.0
This wiki explains how to add summary data from related models into your Yii Framework 2.0 gridview with filtering and sorting by the summary columns.

Ordering Models by Weight with CJuiSortable

Created 4 years ago by Matt KelliherTutorials2 comments – viewed 10,593 times – ( +10 ) – version 1.1
In this tutorial we will be setting up a content type to be ordered by weight using the JUI Sortable plugin.

How To Customize CMenu Output

Created 4 years ago by AngeloTutorials7 comments – viewed 52,721 times – ( +10 ) – version 1.1
CMenu comes with a lot of great customization options built in but sometimes you need it to do more.
tags: menu

Logout CSRF Protection

Created 3 years ago by Rodrigo CoelhoTutorials1 comment – viewed 13,989 times – ( +10 ) – version 1.1
CSRF is the acronymn for Cross-site request forgery. It is an attack which forces an end user to execute unwanted actions on a web application in which he/she is currently authenticated.

Custom Login Error Messages

Created about a year ago by whoopassTutorials1 comment – viewed 24,661 times – ( +10 ) – version 1.1
The Yii Framework is very powerful and it provides a lot of functionality right from the pre-built webapp. One of the nice things that is already established for you as a developer is the Login authentication. While the default configuration simply sets it up to run against an array of hard coded usernames and passwords, the Yii Blog Tutorial provides a how to in connecting that login authentication method to a database so you can run your logins against the registered users. Talk about sweet deal.

Serve jQuery and jQuery-UI from Google's CDN

Created 3 years ago by YetiTutorials15 comments – viewed 22,539 times – ( +14 / -1 ) – version 1.1
There are good reasons to use Google's Content Delivery Network (CDN) to serve jQuery and jQuery UI on your site:

Collaborative software with git

Created 2 years ago by sensorarioTutorials0 comments – viewed 5,853 times – ( +9 ) – version 1.1
The most difficult thing in a big project, is to manage conflicts with files modified by others users. Git can do this work for us.

Working with radiobutton list

Created 2 years ago by vibhaJadwaniTutorials3 comments – viewed 35,805 times – ( +9 ) – version 1.1
This is a tutorial to work with radioButtonList which will handle enum datatype. Form design and validation both are detailed here.

Auto set model fields values

Created 2 years ago by vibhaJadwaniTutorials3 comments – viewed 15,121 times – ( +9 ) – version 1.1
This is a tutorial for how to auto set model values without any code.