It works very well without :-)

CommentFileSizeAuthor
#4 views_bonus_no_panels.patch470 bytesdmitrig01

Comments

dale42’s picture

Suspect the problem is the 'requires' => array('panels'), in this function in grid.inc:

<?php
// $Id: grid.inc,v 1.1.2.2 2007/01/19 05:15:30 merlinofchaos Exp $
// $Name: DRUPAL-4-7--1-1 $

function views_bonus_grid_info() {
  $items['grid'] = array(
    'name' => t('Grid View'),
    'description' => t('View type that outputs a LIST view in a simple grid. In your PHP argument code, you can use &lt;?php $view->gridcount = SOME_NUMBER; ?&gt; to change the column count'),
    'requires' => array('panels'),
  );
  return $items;
}

I haven't tested to confirm.

yched’s picture

Exactly. The 'requires' => array('panels'), line can go away.

dmitrig01’s picture

Assigned: Unassigned » dmitrig01
Status: Active » Needs review

Here is a patch

dmitrig01’s picture

StatusFileSize
new470 bytes

whoops

yched’s picture

Status: Needs review » Reviewed & tested by the community
dmitrig01’s picture

comitted

dmitrig01’s picture

Status: Reviewed & tested by the community » Fixed
Anonymous’s picture

Status: Fixed » Closed (fixed)