Wiki

Sorted by date (updated)X
Displaying 51-60 of 467 result(s).

CJuiTabs Content

Updated 2 months ago by mbalaTips2 comments – viewed 5,061 times – ( +5 )
When I used CJuiTabs I did something. They are
tags: CJuiTabs

Creating Yii applications with composer

Updated 2 months ago by SleepWalkerTutorials0 comments – viewed 12,161 times – ( +19 )
Creating Yii applications with composer

Yii for beginners

Updated 2 months ago by rackyczTutorials11 comments – viewed 105,458 times – ( +74 )
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.

Open Dialog from ajax content

Updated 2 months ago by TouzasHow-tos1 comment – viewed 3,980 times – ( +3 / -1 )
This tutorial will show you how to create Ajax dialog. It's very simple code.

Fixing extensions without modifying their code

Updated 2 months ago by schmunkTips3 comments – viewed 2,099 times – ( +5 )
If you're working a lot with extensions you often stumble upon problems, when you want to include them into your custom web application, like hardcoded or absolute path aliases or classes extended from core application components, which implement addiditonal features.

Adding a date range search for CGridView the easy way

Updated 2 months ago by mikewalenTips2 comments – viewed 3,571 times – ( +5 )
After a lot of research, everything I found on adding date range searching to a CGridView advanced search form seemed to involve adding two new public variables (e.g. $date_from, $date_to), 'safe' rules for the new variables, and a rather chunky if/elseif/else check in the search() method. This probably isn't a hassle for most, but because many of the tables in my database contain two or three and sometimes four date columns (e.g. date_created, date_modified, date_deleted etc.), it meant I was having to add up to eight public variables, the corresponding safe rules, and modifying the search() criteria for each date attribute. So, I set about creating a better way and I thought I'd share my work with the community.

Custom Login Error Messages

Updated 2 months ago by whoopassTutorials0 comments – viewed 5,439 times – ( +7 )
The Yii Framework is very powerful and it provides a lot of functionality right from the pre-built webapp. One of the nice things that is already established for you as a developer is the Login authentication. While the default configuration simply sets it up to run against an array of hard coded usernames and passwords, the Yii Blog Tutorial provides a how to in connecting that login authentication method to a database so you can run your logins against the registered users. Talk about sweet deal.

Adding a link to a CDataColumn

Updated 2 months ago by le_topTips3 comments – viewed 2,616 times – ( +2 )
Backoffice Grid Views often list information like Posts for a blog while showing at the same time linked information like the User who wrote that post. For more efficiency, it is appropriate that the User is displayed as a link to the User detail page.

Drills : Search by a HAS_MANY relation

Updated 2 months ago by softarkTutorials9 comments – viewed 7,524 times – ( +20 )
Sometimes we get lost trying to search by a HAS_MANY relation using CActiveRecord or CActiveDataProvider. This article is a series of drills that try to describe the practical techniques of searching by a HAS_MANY relation.

The directory structure of the Yii project site

Updated 2 months ago by Yang HeOthers28 comments – viewed 66,146 times – ( +74 )
In this article, we describe the directory structure used by yiiframework.com - the official Yii framework website. While this structure may look overly complicated for small projects or may not be optimal in some sense, we believe it is appropriate for medium or large projects in a team development environment. In fact, we have successfully used the similar structure in some other big projects.
tags: directory, config