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.

Comments

mikl’s picture

Status: Active » Needs review
Jackinloadup’s picture

@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?

mikl’s picture

#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.

BravoGolf’s picture

I'm having the same issue but am not sure what to do with the patch linked above?

BravoGolf’s picture

Status: Needs review » Reviewed & tested by the community

Apologies for my last post, I figured it out. Applied patch and it works beautifully :)

scottrigby’s picture

Hi 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?

Viybel’s picture

I get this error too.

emptyvoid’s picture

Hello,

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'),

mcrittenden’s picture

StatusFileSize
new1.38 KB

Updated patch with the fix from #8

mikl’s picture

Status: Reviewed & tested by the community » Fixed

Fixed with the new Rubik-theme (installed separately in 6.x-2.x).

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.