This has been working before (in 1.x).
I have a theme and in my theme folder I have folder called layouts. I have placed my panel layouts in there.
In my theme .info file I have the following line plugins[panels][layouts] = Layouts.
I also have a subtheme for the above theme in a multisite setup. When I go to admin/config/content/panelizer/node/contentpage/layout I get these errors:
Notice: Undefined variable: options in panels_choose_layout() (line 115 of /home/www/web/sites/all/modules/contrib/panels/includes/display-layout.inc).
Warning: Invalid argument supplied for foreach() in panels_choose_layout() (line 115 of /home/www/web/sites/all/modules/contrib/panels/includes/display-layout.inc).And no layouts are visible (nothing you can do on this page).
Update on this:
I tried it locally and it worked there, so maybe some kind of file permissions thingy? I'll have to check more tomorrow unless you have heard about this before.
Comments
Comment #1
merlinofchaos commentedPanelizer just uses layouts that Panels gives it, so this couldn't be an issue with Panelizer. Moving this to Panels.
Comment #2
merlinofchaos commentedOk, that makes it look like something is actually killing all layouts.
First, check something simple like mini panels to make sure your layouts are showing up there, but it should be pretty much the same list no matter where you go.
Second, make sure your theme is enabled.
Third: That line you quoted looks wrong. It shouldn't have a . and the layout folder name is going to be case sensitive, so unless your folder is really named 'Layouts' and not 'layouts' it's going to break.
Fourth: Be sure to do the drupal cache clear all.
Comment #3
Letharion commentedComment #4
jisuo commentedThat . was actually just part of my sentence. :)
Also the capital L was the issue here. Locally = Windows, server = Linux. Enough said! This tells me I really should go to bed earlier instead of banging my head in frustration...
Thanks a lot, you're a champ!
Comment #5
Letharion commentedComment #6.0
(not verified) commentedupdated text