eraptor Because everybody needs a Raptor!

  1. Requirements
  2. Usage
  3. DEMO

WE'VE ALL BEEN HERE BEFORE ...

You're sitting at your desk, coding up a 500 page site, knee-deep in Extreme Cheddar Doritos sipping on a liter of Code Red Mountain Dew when you realize...this page would be:

SO MUCH MORE AWESOME WITH A VELOCIRAPTOR!

ERaptor

... and now with this cool extension you can easily add a Raptor to your Yii powered site. The extension implements the Raptorize jQuery plugin, but not a 100% compatible! Please, see the usage below:

Requirements

It should work with the 1.1 branch, but only tested on 1.1.7

Usage

// unzip it under your extensions folder and call the Raptor in your layout- or any other view file
//
// the easiest way, which calls the Raptor on every single page load
$this->widget( 'ext.eraptor.eraptor' );
//
// OR 
// you can specify a date range, 
// ie: if you wanna call the Raptor on April 1st between 8AM and 10AM
$this->widget( 
  'ext.eraptor.eraptor', 
  array( 
    'start' => 'XXXX-04-01 08:00', 
    'end'   => 'XXXX-04-01 10:00'
  ) 
);

DEMO

Click if you wanna see the Raptor LIVE!

10 0
9 followers
396 downloads
Yii Version: 1.1
License: BSD-2-Clause
Category: Others
Tags:
Developed by: imehesz
Created on: May 4, 2011
Last updated: 13 years ago

Downloads

show all