Wiki

Sorted by commentsX
Displaying 61-70 of 766 result(s).

Drills : Search by a HAS_MANY relation in Yii 1.1

Created 3 years ago by softarkTutorials13 comments – viewed 40,223 times – ( +32 ) – 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 hide /frontend/web in url addresses on apache

Created about a year ago by raminiousHow-tos13 comments – viewed 53,214 times – ( +14 ) – 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)

Yii for beginners

Created 4 years ago by rackyczTutorials13 comments – viewed 270,162 times – ( +97 ) – version 1.1
Hi. This is first article with my Yii tutorial. I had to split it into more articles as there's limited length of texts on Wiki. So once you understand basics, you can read next article here: Yii for beginners 2.

CGridView: Update/create records in a CJuiDialog

Created 4 years ago by JobloTips12 comments – viewed 44,615 times – ( +14 ) – version 1.1
My article Display the full record in a CJuiDialog uses ajax to view a record in dialog on clicking the 'view-icon'.

Understanding Scenarios

Created 4 years ago by Luke JurgsTutorials12 comments – viewed 106,878 times – ( +30 ) – version 1.1
Scenarios are an extremely useful tool for separating validation tasks on any class you use derived from CModel. In this tutorial we will use CActiveRecord.

Yii User and Rights Implementation

Created 2 years ago by Rajith RHow-tos12 comments – viewed 24,012 times – ( +7 / -7 ) – version 1.1
implementing some features of yii user and rights.

How to work with flash messages

Created 6 years ago by pfthTutorials12 comments – viewed 224,368 times – ( +59 ) – version 1.1
Set your messages in a controller:

Setting and maintaining the language in Application (i18n)

Created 6 years ago by olafureTutorials12 comments – viewed 94,220 times – ( +23 ) – version 1.1
As seen in this post, Yii doesn't enforce how language is set and maintained within the session.
tags: i18n, translation

Increasing AR performance in connections with Oracle

Created 5 years ago by TrejderHow-tos12 comments – viewed 21,546 times – ( +2 ) – version 1.1
Please, note. This article is entirely based on a work done by me colleague developer, who hasn't got account on this webpage and also hasn't got time for writing this article. I'm writing it for him. I will try to forward him any comments that may appear, but can't assure if/when he'll be able to answer. I'm far, far less experienced in Oracle therefore I won't probably be able to help myself.

Understanding "Assets"

Created 4 years ago by Steve FriedlTutorials12 comments – viewed 142,284 times – ( +57 ) – version 1.1
Many newcomers to Yii ask about the assets/ directory found under the webroot, and this article means to explain why it's there and how to work with it.