Wiki

Sorted by ratingX
Displaying 141-150 of 774 result(s).

Yii 2 list of path aliases available with default basic and advanced app.

Created 2 years ago by Kartik VTips2 comments – viewed 60,418 times – ( +51 / -5 ) – version 2.0
If you are coming over from Yii 1.x to Yii 2, and already read this guide, you may note that namespaces are very important in Yii 2 to identify classes. But do you know the list of seeded path aliases that come shipped with a basic or advanced app? Here is my attempt to list them.

Understanding series articles

Created 4 years ago by GOshaTips0 comments – viewed 9,215 times – ( +16 ) – version 1.1
Here are all wiki articles from "Understanding" series by Yii wiki contributors:

Simple authorization system

Created 4 years ago by GustavoHow-tos1 comment – viewed 33,029 times – ( +16 ) – version 1.1
How to create a simple (non-RBAC) authorization system

1:n relations sometimes require CDbCriteria.together

Created 4 years ago by fsbTips5 comments – viewed 35,479 times – ( +16 ) – version 1.1
There are situations in which Active Record will generate nonsense queries from what a nieve Yii user might think is reasonable code. One such situation is a CActiveDataProvider using CDbCriteria to get data from parent and 1:n child table with a condition on the child table.

Write & use a custom Component in Yii2.0

Created about a year ago by sirin kHow-tos4 comments – viewed 43,322 times – ( +16 ) – version 2.0
This is a simple example in Yii2.0 to understand how you can write a custom component and use it inside your app.(basic template)

How to hide /frontend/web in url addresses on apache

Created about a year ago by raminiousHow-tos14 comments – viewed 65,218 times – ( +16 ) – version 2.0
There is an issue on Yii2 to redirecting / urls to /frontend/web. In other words we need a way to hidden /frontend/web from addresses. We will do this without changing Apache configuration and creating virtual host or setting document root (It's good for share hostings that we have not access to apache.conf)

How to upload image(photo), and path entry in database with update functionality

Created 4 years ago by kiran sharmaTips22 comments – viewed 151,218 times – ( +37 / -3 ) – version 1.1
I saw many posts that community newbie is confuse in image/photo upload with random name. so I post this topic covering all useful things regarding to image/photo upload(not covering image attribute related functionality)

Using search engine and user friendly URLs

Created 6 years ago by qiangTutorials7 comments – viewed 72,942 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

FORM with GET method causes repeated stacking of URL Parameters

Created 2 years ago by Kartik VTips2 comments – viewed 18,796 times – ( +42 / -4 ) – version all
You are using an ActiveForm in yii (both v1.x or 2), with a GET method like below:

CGridView: Display the full record (actionView) in a CJuiDialog

Created 4 years ago by JobloTips7 comments – viewed 41,440 times – ( +15 ) – version 1.1
If you show a model (with a lot of attributes) partially in a CGridView, it can be helpful when the user can take a quick look at the full record with all attributes without displaying the view as a page and afterwards returning back to the gridview.