Yii 1.1: yii-blueprint-grid

create a toggle button to show or hide Blueprint’s built-in grid
6 followers

This widget create a toggle button to show or hide Blueprint’s built-in grid in debug mode. It's a utility to support the design of a Yii website.

Requirements

Yii 1.1.7 or above...

Usage

  • install and explore the code of the demo application
  • or put in a view code blocks like the following...
<?php $this->widget('ext.blueprintgrid.JBlueprintGrid'); ?>

Blueprint in the Yii PHP Framework

Resources

Total 3 comments

#7530 report it
russellfeeed at 2012/03/28 04:31am
Sorry....

just after the

<body>

tag

  1. Drop blueprintgrid folder into protected/extensions... so you'll end up with protected/extensions/blueprintgrid/... with all the files inside

  2. put <?php $this->widget('ext.blueprintgrid.JBlueprintGrid'); ?> in layouts/main.php just after the body tag

  3. A small X or O will appear in the top right hand corner allowing you too show or hide the grid

no changes needed to config/main.php

#7524 report it
Temir at 2012/03/28 02:46am
question to prev comment

"put <?php $this->widget('ext.blueprintgrid.JBlueprintGrid'); ?> in layouts/main.php just after the " just after the what?

#7312 report it
russellfeeed at 2012/03/13 11:16am
How to...

To save others a little bit of time...

  1. Drop blueprintgrid folder into protected/extensions... so you'll end up with protected/extensions/blueprintgrid/... with all the files inside
  2. put <?php $this->widget('ext.blueprintgrid.JBlueprintGrid'); ?> in layouts/main.php just after the
  3. A small X or O will appear in the top right hand corner allowing you too show or hide the grid

no changes needed to config/main.php

Leave a comment

Please to leave your comment.

Create extension