Wiki

Sorted by ratingX
Displaying 51-60 of 784 result(s).

Yii Related Sites

Created 6 years ago by jacmoeOthers4 comments – viewed 51,993 times – ( +34 / -1 ) – version 1.1
This is a list of blogs, off-site tutorials and other resources about Yii.

Extension Development (beginner)

Created 3 years ago by sefburhanTutorials2 comments – viewed 20,003 times – ( +34 / -1 ) – version 1.1
To extend the functionality of you web application relative to your requirements you are supposed to use existing yii core libraries or use external libraries. There are some steps to ensure security, uniqueness, modularity, performance and to avoid rework in future.

Drills : Search by a HAS_MANY relation in Yii 1.1

Created 4 years ago by softarkTutorials13 comments – viewed 48,473 times – ( +34 / -1 ) – version 1.1
Sometimes we get lost trying to search by a HAS_MANY relation using CActiveRecord or CActiveDataProvider in Yii 1.1. This article is a series of drills that try to describe the practical techniques of searching by a HAS_MANY relation.

How to upload a file using a model

Created 8 years ago by qiangTutorials6 comments – viewed 437,857 times – ( +86 / -7 ) – version 1.1
First declare an attribute to store the file name in the model class (either a form model or an active record model). Also declare a file validation rule for this attribute to ensure a file is uploaded with specific extension name.
tags: File upload

Cookie management in Yii

Created 6 years ago by TrejderHow-tos5 comments – viewed 139,745 times – ( +43 / -2 ) – version 1.1
Cookie management in Yii is easy, but may not be so obvious for the beginners to this framework, so I wrote this simple article to clear some doubts out.

Tags manipulation using Select2 in single field

Created 3 years ago by sefburhanTutorials0 comments – viewed 6,070 times – ( +33 / -1 ) – version 1.1
Sometime its very important to perform many actions/operation with limited time frame for friendly use, select2 provides a lot of such functionality , I just extend it tags functionality to provide a quick use for developer to save time, as I spent much time on it.

How to automate timestamps in ActiveRecord models

Created 8 years ago by dalipTutorials9 comments – viewed 148,701 times – ( +32 / -1 ) – version 1.1
There are many ways to automate the setting of timestamps in yii ActiveRecord models. Three are presented here:

SEO-conform Multilingual URLs + Language Selector Widget (i18n)

Created 5 years ago by c@cbaTutorials37 comments – viewed 59,018 times – ( +32 / -1 ) – version 1.1
You have a multilingual application, and you want the URL of a page to be different for different languages, to account for SEO. The URL for the contact page for example should look like http://something.com/en/contact in english, and http://something.com/de/contact in german. This tutorial describes how to make it happen. Note that currently selected language is always a part of the URL, and thus available to the application through $_GET. You don't have to use sessions variables to keep track of the language if you don't want to.

Searching and Sorting by Count of Related Items in CGridView

Created 5 years ago by softarkHow-tos14 comments – viewed 45,278 times – ( +32 / -1 ) – version 1.1
Let's say we have two models and relation between them:

Single sign on across multiple subdomains

Created 6 years ago by ianarĂ©How-tos10 comments – viewed 45,214 times – ( +32 / -1 ) – version 1.1
This had me stumped for a while so I figured it would be nice to share here to avoid others the grief.