show an specific block in a Custom Page

araujo.guntin - May 23, 2009 - 15:08

Hi...

I've created a book block with the Advanced Book Blocks module. How could I show this block in a Custom Page?

Thanks,
Araujo

.

dbeall - May 23, 2009 - 16:24

There is a configure link to the right of the block in the blocks list page.
pop that open and go towards the bottom,, choose a mode (radio button).
Then add the "path" for the page in the text box.
And u have to set the position of the block too..
hope this helps..

thanks, but perhaps I was not

araujo.guntin - May 24, 2009 - 01:49

thanks, but perhaps I was not clear.

I'm looking for a snippets to show the block in an page.

Is there a function which gets the block by the name and draw it in a specific part of my custom page.

Something like this:

<? echo show_block('myblock'); ?>

Thanks,

 
 

Drupal is a registered trademark of Dries Buytaert.