Closed (fixed)
Project:
Panels
Version:
6.x-3.0
Component:
Drag and Drop display editing
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
26 Sep 2009 at 05:19 UTC
Updated:
26 Sep 2009 at 05:28 UTC
I'm trying to create a custom layout following the tutorial here: http://drupal.org/node/495654
I'm getting some errors when trying to add content.
Here's the error message:
* warning: theme_render_template(./sites/all/themes/rnp/home_layout/home-layout.tpl.php) [function.theme-render-template]: failed to open stream: No such file or directory in d:\inetpub\rnp\beta\includes\theme.inc on line 1020.
* warning: theme_render_template(./sites/all/themes/rnp/home_layout/home-layout.tpl.php) [function.theme-render-template]: failed to open stream: No such file or directory in d:\inetpub\rnp\beta\includes\theme.inc on line 1020.
* warning: theme_render_template(./sites/all/themes/rnp/home_layout/home-layout.tpl.php) [function.theme-render-template]: failed to open stream: No such file or directory in d:\inetpub\rnp\beta\includes\theme.inc on line 1020.
* warning: theme_render_template() [function.include]: Failed opening './sites/all/themes/rnp/home_layout/home-layout.tpl.php' for inclusion (include_path='.;c:\php4\pear') in d:\inetpub\rnp\beta\includes\theme.inc on line 1020.
and here's the code in home_layout.inc:
function rnp_home_layout_panels_layouts() {
$items['home_layout'] = array(
'title' => t('Home Layout'),
'icon' => 'home_layout.png',
'theme' => 'home_layout',
'css' => 'home_layout.css',
'panels' => array(
'top' => t('Top'),
),
);
return $items;
}
My files are in /sites/all/themes/rnp/home_layout.
Any help would be greatly appreciated.
Comments
Comment #1
rcharamella commentedComment #2
merlinofchaos commentedSupport requests aren't critical.
Obviously the file
./sites/all/themes/rnp/home_layout/home-layout.tpl.phpdoesn't exist. Note that Drupal's templates use dashes and not underscores, so if you made home_layout.tpl.php that'll be a problem.Comment #3
rcharamella commentedChanging the Administrative theme to the same theme with the custom layout solved the problem.