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!
... 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!
ty
thank you ... ? :)
a must have
With this extension Yii enters in a new dimension ... I'm not sure which one though ;)
I can't wait to hear your next podcast and learn what inspired you to make such a ... humm ... a 'surprising' Extension.
Thanks imehesz :)
re: Raoul
thanks Raoul,
I wish I could take credit for the idea, but it's not mine :) I just wrote the wrapper class for it (and added a "scheduling" feature).
I like to do (try) different things. this time it was a Raptor :)
--iM
wahaha
What a extension... :) You make me refresh my browser multiple times.. :)
If you have any questions, please ask in the forum instead.
Signup or Login in order to comment.