Showing 401-420 of 827 items.

Fixing extensions without modifying their code

Created 13 years ago by schmunk schmunk, updated 13 years ago by schmunk schmunk. 3 comments

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.

6 0
10
Viewed: 21 971 times
Version: 1.1
Category: Tips

Using Bootstrap with LESS

Created 13 years ago by Chris83 Chris83, updated 13 years ago by Chris83 Chris83. 1 comment

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](http://ww...

11 0
14
Viewed: 60 590 times
Version: 1.1
Category: How-tos

Kickstart development with Yii-App

Created 13 years ago by Chris83 Chris83, updated 13 years ago by Chris83 Chris83. 25 comments

I recently created a project called Yii-App on GitHub to kickstart my development of smaller Yii applications. The main goal of the project is to provide a ready-to-use application template that includes my bootstrap extension and many other useful extensions. After reading this article you will be able to use...

14 0
40
Viewed: 45 675 times
Version: 1.1
Category: How-tos

Turn Web HTML Into Newsletter

Created 13 years ago by yasen yasen, updated 13 years ago by yasen yasen. 1 comment

These newsletters have always been hard to create as regular web HTML is not properly read by web email interfaces and email clients. I thought that the simplest solution would be to use a web page that would serve as a web version of the newsletter and turn it somehow into newsletter HTML.

6 0
9
Viewed: 19 949 times
Version: 1.1
Category: How-tos

Handling Bootstrap active tabs in Yii via URL

Created 13 years ago by JamesBarnsley JamesBarnsley, updated 10 years ago by JamesBarnsley JamesBarnsley. 17 comments

I (www.jamesbarnsley.com) found that when using the Yii Bootstrap tabs component you will sometimes want to direct the user to a specific tab and not necessarily the first tab. Yii Bootstrap already provides the "active" variable so you can define whether the tab is the active tab or not in PHP. I generally find though that a PHP solution to...

3 0
7
Viewed: 44 731 times
Version: 1.1
Category: How-tos

ePay Integration - Bulgarian Payment Provider

Created 13 years ago by yasen yasen, updated 13 years ago by yasen yasen. 2 comments

} ` V. The Order model would start with:

class Order extends CActiveRecord
{
	const STATUS_INITIATED = 1;
	const STATUS_CANCELED = 2;
	const STATUS_EXPIRED = 3;
	const STATUS_PAID = 4;
	public $statuses = array(
		self::STATUS_INITIATED => 'Initiated',
		self::STATUS_CANCELED => 'Canceled',
		self::STATUS_EXPIRED => 'Expired',
		self::STATUS_PAID => 'Paid',
	);
// more cod...
6 0
5
Viewed: 14 720 times
Version: 1.1
Category: Tutorials