Wiki

Articles in category "tutorials", sorted by ratingX
Displaying 61-70 of 250 result(s).

CListView AJAX filtering

Created 5 years ago by DragaTutorials17 comments – viewed 61,156 times – ( +17 ) – version 1.1
This tutorial shows how to filter CListView items by AJAX, and it's compatible with disabled JavaScript users In my case this has been done to filter users list

Using search engine and user friendly URLs

Created 6 years ago by qiangTutorials7 comments – viewed 73,639 times – ( +23 / -1 ) – version 1.1
The Definitive Guide introduces the fundamentals of managing URLs in a Yii application. In this tutorial, we introduce a practical technique that can quickly turn your application into using search-engine-friendly URLs.
tags: SEO, URL

Secure password hash storage and a Yii helper extension

Created 4 years ago by fsbTutorials5 comments – viewed 30,484 times – ( +15 ) – version 1.1
Obsolete

Manage (Target) Language in Multilingual Applications + A Language Selector Widget (i18n)

Created 4 years ago by c@cbaTutorials10 comments – viewed 34,610 times – ( +15 ) – version 1.1
In case of a multilingual application, one might consider it a reasonable approach to store the preferred language of the user in a session variable, and after that, every time a page is requested, to check this session variable and render the page in the indicated language. This tutorial shows a Yii-way of doing this. We implement an event handler for the onBeginRequest event; as the name of the event suggests, this event handler will be called at the beginning of each request, so its a good place to check whether a language is provided (via post, session or cookie) and set the application language accordingly. We also implement a simple Language-Selector Widget, which can render the language options as ajax-links or as a drop-down list.

Creating a database-driven hierarchical Structure combined with CMenu and superfish

Created 6 years ago by thyseusTutorials9 comments – viewed 47,586 times – ( +15 ) – version 1.1
Note: Please also take a look at the newer EMenu extension. This works even better that the deprecated CDropDownMenu!
tags: menu

Update/delete model with CJuiDialog (works in CGridView)

Created 5 years ago by ifdatticTutorials6 comments – viewed 65,376 times – ( +15 ) – version 1.1
This is based on this article.

Filter & Sort by Summary Data in GridView Yii 2.0

Created 2 years ago by Kartik VTutorials7 comments – viewed 34,383 times – ( +40 / -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.

Eclipse PDT - code-hints, references and other goodies

Created 7 years ago by mindehTutorials2 comments – viewed 29,445 times – ( +14 ) – version 1.1
Since PHP is dynamically typed language, the way IDE may help you is limited.
tags: IDE

How to use ldap in UserIdentity for authentication

Created 6 years ago by BeerSercTutorials15 comments – viewed 48,475 times – ( +14 ) – version 1.1
Yii does not have an LDAP class itself, but its very easy to implement LDAP in the stock UserIdentity class.

Module based login

Created 5 years ago by suriyansureshTutorials6 comments – viewed 55,599 times – ( +14 ) – version 1.1
If you want to add module based login to a site without using RBAC, please follow these guidelines.