Wiki

Displaying 311-320 of 740 result(s).

Integrating HybridAuth directly into Yii without an extension

Created 2 years ago by biz devHow-tos7 comments – viewed 28,159 times – ( +14 ) – version 1.1
This article tries to explain the steps required in integrating the HybridAuth into Yii directly, without using an extension.

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

Created 2 years ago by le_topTips0 comments – viewed 4,297 times – ( +4 ) – 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

Fixing extensions without modifying their code

Created 2 years ago by schmunkTips3 comments – viewed 6,535 times – ( +6 ) – 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.

Limit a CGridView field to some preset length.

Created 2 years ago by le_topHow-tos1 comment – viewed 9,347 times – ( +13 ) – version 1.1
Sometimes text inside a gridview column is just too long. That's why I figured out a way to make the column smaller while still providing the information.

PHPStorm & NetBeans autocomplete problem

Created 2 years ago by StagelineTips2 comments – viewed 9,329 times – ( +24 ) – version 1.1
The problem: If you type Yii::app()->user<ctrl+space> code completion didn't work. This solve it.

Extending an ActiveRecord model

Created 2 years ago by BogseyHow-tos3 comments – viewed 12,605 times – ( +2 / -3 ) – version 1.1
Introduction

Upload Files to Rackspace Cloud Files CDN

Created 2 years ago by StephenMiracleTutorials0 comments – viewed 8,368 times – ( +2 ) – version 1.1
** I actually made this into an extension for easier use. You can view the extension: http://www.yiiframework.com/extension/rackspaceconnect/

Twitter Bootstrap style Breadcrumbs

Created 2 years ago by junaidatariHow-tos0 comments – viewed 14,618 times – ( +5 / -1 ) – version 1.1
1: Create breadcrumb in your view file.

Assigning dynamic roles to a user Using yii Rights module at the time of user creation and using some special advanced features of yii rights

Created 2 years ago by Rajith RTips20 comments – viewed 32,285 times – ( +11 / -8 ) – version 1.1
After Installing Yii Users and Rights to Newly Created Yii app we have to assign dynamic roles to a user at the time of user creation .

Using Bootstrap with LESS

Created 2 years ago by Chris83How-tos1 comment – viewed 37,243 times – ( +14 ) – version 1.1
I discovered Twitter Bootstrap almost two years ago. After trying it out for a while I fell in love with it. It didn't take long before I realized that it would be great to write an extension that allowed developers to start using Bootstrap in their Yii projects. One night I sat down and started writing what later became my now popular bootstrap extension. Now that the extension is quite widely used in the community I felt that it was time to write about how to use Bootstrap to its full potential. If you use the Bootstrap CSS files you're really missing out on some great features. After reading this article you'll be able to take full advantage of Bootstrap using LESS.