Showing 401-420 of 826 items.

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 524 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 613 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 896 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 657 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 677 times
Version: 1.1
Category: Tutorials

Load the Yii-Bootstrap Extension on Specific Actions

Created 13 years ago by chuntley chuntley, updated 13 years ago by chuntley chuntley. 5 comments

A big problem I've hit with the Yii-Bootstrap extension is that all AJAX requests are initializing Bootstrap because of preload. This is a huge waste of resources, especially when using AJAX-based file uploaders that split the file into chunks. Large file uploads using that method could be initializing bootstrap hundreds of times.

7 0
15
Viewed: 30 977 times
Version: 1.1
Category: How-tos