Block solution

macrocosm - April 16, 2009 - 08:15
Project:Administration Dashboard
Version:6.x-1.x-dev
Component:Miscellaneous
Category:feature request
Priority:normal
Assigned:Unassigned
Status:active
Description

This is quite promising ... the interface is clean and succinct.
I haven't been able to get the blocks to show in it yet though.
Anyone else have that problem?

#1

vertikal.dk - June 5, 2009 - 16:26

It is a very nice module indeed.

But I have the same problem. No matter what block I place in the Dashboard region it doesn't show up anywhere. Adjusting user access to the administration dashboard makes no difference.

It would be a very convenient place to put a block or two with shortcuts to often used admin menu items.

I also added an extra menu item in the Dashboard menu, and even though it did appear, it has no icon. I know I can patch and get an upload function, but maybe a default icon would be an idea?

Martin

#2

vertikal.dk - June 25, 2009 - 13:18
Title:Very nice» Block solution

The problem was that the Dashboard install was trying to modify page.tpl.php to add it's content zone to the code, but wasn't allowed because of write restrictions. Either allow the install script to modify the file or add something like

<?php if ($admin_dashboard) print "<div id=\"region_admin_dashboard\">$admin_dashboard</div>"?>

to the file yourself. I put it after $closure and the last page div in the very end of the file, and this worked fine.

It might be advised that the install procedure checks for write permission and warns the user if the modifications don't succeed.

Martin

 
 

Drupal is a registered trademark of Dries Buytaert.