Wiki

Sorted by date (updated)X
Displaying 431-440 of 786 result(s).

Send mail using YiiMail extension

Updated 4 years ago by RKATutorials10 comments – viewed 75,458 times – ( +9 / -1 ) – version 1.1
Let me show a simpe example to send mail using YiiMail extension in 5 steps. It also includes any template view if required along with the content.
tags: YiiMail

CGridView: Render customized/complex datacolumns

Updated 4 years ago by JobloTips13 comments – viewed 153,797 times – ( +74 / -1 ) – version 1.1
If you have to display a overview of related data in a table, you can use the CListView, create your view with table/tr/td tags and implement db-queries in the view to display detaildata of the current (master-)record.
tags: CGridView

CJuiTabs Content

Updated 4 years ago by mbalaTips3 comments – viewed 15,601 times – ( +6 / -1 ) – version 1.1
When I used CJuiTabs I did something. They are
tags: CJuiTabs

Creating Yii applications with composer

Updated 4 years ago by SleepWalkerTutorials3 comments – viewed 86,206 times – ( +31 / -1 ) – version 1.1
Creating Yii applications with composer

Open Dialog from ajax content

Updated 4 years ago by TouzasHow-tos1 comment – viewed 17,292 times – ( +4 / -2 ) – version 1.1
This tutorial will show you how to create Ajax dialog. It's very simple code.

Fixing extensions without modifying their code

Updated 4 years ago by schmunkTips3 comments – viewed 10,733 times – ( +6 / -1 ) – version 1.1
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.

Custom Login Error Messages

Updated 4 years ago by whoopassTutorials1 comment – viewed 39,139 times – ( +11 / -1 ) – version 1.1
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 4 years ago by le_topTips6 comments – viewed 17,572 times – ( +3 / -1 ) – version 1.1
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.

The directory structure of the Yii project site

Updated 4 years ago by Yang HeOthers42 comments – viewed 181,677 times – ( +87 / -1 ) – version 1.1
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

Patching PHP code (used as a library) without changing the original code!

Updated 4 years ago by le_topTips0 comments – viewed 7,175 times – ( +5 / -1 ) – version 1.1
The article Fixing extensions without modifying their code reminded me of another patching technique that I used. My conviction and a hard look on the web had led me to an article Redefine PHP class methods or class giving me a head start to do what I wanted: patching third party code without touching the original to allow easy upgrades.
tags: patch, patching