Ivan Zugec

Drupal Consultant

Setup home box module

Homebox is a module which gives you the ability to create dashboard style pages (netvibes, igoogle) using blocks. The user can move and disable the available blocks.

Installation

This module requires 2 other modules jQuery Update and jQuery UI. Download and copy homebox, jQuery Update and jQuery UI to sites/all/modules.

Enabling the modules are fairly straight forward except for jQuery UI. First download the jQuery UI 1.6 files from http://jquery-ui.googlecode.com/files/jquery.ui-1.6.zip and extract the directory jquery.ui into the jQueryUI module. If should look like "/sites/all/modules/jquery_ui/jquery.ui/".

fig1_1.png

Then enable the modules at Administer >> Site building >> Modules.

Create home box page

To create a page to go Administer >> Site building >> Home box. Enter dashboard and click on Add page.

fig2_1.png

Once you have created a page click on the layout link and specify which block should appear on the dashboard. Important thing to remember is that you will get a page not found (404) if you don't add blocks.

fig4_0.png

Next let's set the right permissions. This module creates a permission for every created page. Go to Administer >> User management >> Permissions and scroll down to homebox module. Tick authenticated user for access homebox dashboard.

fig7_0.png

Now go to your newly created page and you should see some blocks.

fig5_0.png

If you click on Add content you can specify which block should appear. This configuration is saved if the user logs off and logs back on.

fig6_0.png

That's all, this is a great module. If you have any questions leave a comment.

About the author: Ivan Zugec
Ivan Zugec's picture

Ivan is a Sydney Australia based Drupal Developer with over 5 years experience.

Follow:

Comments

ivan's picture

Submitted by ivan on

yes, it's all saved in the database in a "homebox_users" table.

ganesh's picture

Submitted by ganesh on

Fatal error: Call to undefined function jquery_ui_add() in C:\wamp\www\anchorfan\sites\all\modules\homebox-6.x-1.0\homebox\homebox.module on line 175

why i am getting this error. how do i sort this error

ivan's picture

Submitted by ivan on

Have you enabled the jquery UI module?

Anonymous's picture

Submitted by Anonymous on

Hi,
thanks for this great post. I'm using home box too. I have a problem to disable the blocks: When I disable a checkbox of a given block, it disapears on the page. When I relaod the site, the block gets visible again. Even when I logout and login again - it ignores my settings.

Is this a bug? Or did I miss something?

Greetings
Andy

Anonymous's picture

Submitted by Anonymous on

clear your cache when you are logged in as admin, and repeat the step u did before

Add new comment