As it stands right now, it is not possible to change the block configuration for the slate theme. There's two problems:
- There's no menu item to go to admin/build/block/list/slate.
- Slate is not loaded when you go to admin/build/block/list/slate – so no theme is used.
I've created a patch addressing these two issues.
| Comment | File | Size | Author |
|---|---|---|---|
| #9 | admin_theme-block-page.patch | 1.38 KB | mcrittenden |
| 2009-07-10-admin_theme-block-page.patch | 1.37 KB | mikl |
Comments
Comment #1
miklComment #2
Jackinloadup commented@mikl Thanks!
I can verify this patch solved the issue where the slate theme would not load on its block page.
Two things id like to note:
1) I am using 6.x-1.0-beta2 (current latest release) and the slate link shows up before patching, for me, in the list of themes on the blocks page. So i dont know if this patch could interfere with what was already there. Doesnt seem to through light testing though. ^_^
2) The Slate theme only has two usable regions? content & footer... I think we should make it possible to also have blocks in the left sidebar below the current nav. thoughts?
Comment #3
mikl#2: As per number 1, it does appear out of the box on some sites, but not on others. This theme-in-a-module stuff causes some weird behaviour. Number 2 is related to #515838: Incorrect list of block regions for Slate theme, but I guess you already noticed that.
Comment #4
BravoGolf commentedI'm having the same issue but am not sure what to do with the patch linked above?
Comment #5
BravoGolf commentedApologies for my last post, I figured it out. Applied patch and it works beautifully :)
Comment #6
scottrigbyHi miki,
I received these errors when enabling a block in Slate theme (after patch):
* warning: Invalid argument supplied for foreach() in MYSITE/includes/menu.inc on line 258.
* warning: array_merge() [function.array-merge]: Argument #1 is not an array in MYSITE/includes/menu.inc on line 323.
Would more info be helpful?
Comment #7
Viybel commentedI get this error too.
Comment #8
emptyvoid commentedHello,
I get the error described in #6
I am running on beta 3 with Drupal 6.14..
To fix the error just change this line
'page arguments' => 'slate',
to
'page arguments' => array('slate'),
Comment #9
mcrittenden commentedUpdated patch with the fix from #8
Comment #10
miklFixed with the new Rubik-theme (installed separately in 6.x-2.x).