is_numeric
28 Nov 2009, 12:58 PM
Any one know Drupal or more specifically Panels
I am trying to create my own custom panel but its not showing in the layout option screen
I have cloned a current layout and renamed all files appropriately
In Here...
mysite\sites\all\modules\panels\plugins\layouts\mylayout
my inc file is as follows....
function miniclub_minipanel_panels_layouts() {
$items['minisite'] = array(
'title' => t('Minisite Panel'),
'icon' => 'minisite.png',
'theme' => 'miniclub',
'css' => 'minisite.css',
'panels' => array(
'top' => t('Top'),
'left1' => t('Left side'),
'middle1' => t('Middle column'),
'right1' => t('Right side'),
'middle' => t('Middle'),
'left2' => t('Left side'),
'middle2' => t('Middle column'),
'right2' => t('Right side'),
'bottom' => t('Bottom'),
),
);
return $items;
}
Help!
I am trying to create my own custom panel but its not showing in the layout option screen
I have cloned a current layout and renamed all files appropriately
In Here...
mysite\sites\all\modules\panels\plugins\layouts\mylayout
my inc file is as follows....
function miniclub_minipanel_panels_layouts() {
$items['minisite'] = array(
'title' => t('Minisite Panel'),
'icon' => 'minisite.png',
'theme' => 'miniclub',
'css' => 'minisite.css',
'panels' => array(
'top' => t('Top'),
'left1' => t('Left side'),
'middle1' => t('Middle column'),
'right1' => t('Right side'),
'middle' => t('Middle'),
'left2' => t('Left side'),
'middle2' => t('Middle column'),
'right2' => t('Right side'),
'bottom' => t('Bottom'),
),
);
return $items;
}
Help!