Wiki

Articles in category "tutorials", sorted by ratingX
Displaying 91-100 of 254 result(s).

Ordering Models by Weight with CJuiSortable

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

Working with radiobutton list

Created 4 years ago by vibhaJadwaniTutorials3 comments – viewed 56,542 times – ( +10 / -1 ) – version 1.1
This is a tutorial to work with radioButtonList which will handle enum datatype. Form design and validation both are detailed here.

How To Customize CMenu Output

Created 6 years ago by AngeloTutorials7 comments – viewed 62,404 times – ( +10 / -1 ) – 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 6 years ago by Rodrigo CoelhoTutorials1 comment – viewed 18,698 times – ( +10 / -1 ) – 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.

Setting application parameters dynamically in the back-end

Created 5 years ago by PablovpTutorials6 comments – viewed 39,379 times – ( +13 / -2 ) – version 1.1
I was wondering how to set-up the application parameters in the back-end to use them all around the application without the need of using the database and I came up with this solution, I hope it helps somebody else.

Multiple Databases and Multiple Domains

Created 6 years ago by got 2 doodleTutorials2 comments – viewed 40,286 times – ( +15 / -3 ) – version 1.1
Add these lines in /config/main.php
tags: database

Avoiding duplicate script download when using CActiveForm on Ajax calls

Created 5 years ago by Antonio RamirezTutorials2 comments – viewed 19,945 times – ( +12 / -2 ) – version 1.1
Sometimes the active form we wish to use to edit/add a new element on our database is too small and we believe that is much better to use an AJAX'ed dialog/slide form rather than reloading the page to just display one or two fields.

RBAC Super Simple with Admin and User

Created 2 years ago by evercodeTutorials11 comments – viewed 57,293 times – ( +17 / -4 ) – version 2.0
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 developing your own features or move on to Yii 2's RBAC.

Collaborative software with git

Created 5 years ago by sensorarioTutorials0 comments – viewed 8,068 times – ( +9 / -1 ) – 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.

Auto set model fields values

Created 4 years ago by vibhaJadwaniTutorials3 comments – viewed 19,952 times – ( +9 / -1 ) – version 1.1
This is a tutorial for how to auto set model values without any code.