I have created a custom block with a PHP snippet and I would like to insert this block at the bottom of a Node body.

1) I am not sure how to determine the "module" and "delta" info for a block
2) Once I determine this, would it be any different for a custom block.

Thanks for your help!

Comments

mlsamuelson’s picture

Status: Active » Fixed

tmg_studio,

You can determine the "module" and "delta" by going to the /admin/build/block page for administering blocks. In the list of blocks, you'll see a "configure" link for each row. If you hover your mouse over the configure link, and look in the status bar a the bottom of your browser, you'll see a URL similar to the following: http://localhost/admin/build/block/configure/user/0. In that URL, the "user" is the module, and the "0" is the delta. In this instance we're looking at the user login block. If you look at the navigation block, you'll see something like http://localhost/admin/build/block/configure/user/1. Modules can define more than one block, thus the delta is simply a numbering scheme.

In the case of user created blocks, the "block" module will be the owning module. The trick of hovering over the configure links works for these blocks, too.

mlsamuelson

Anonymous’s picture

Status: Fixed » Closed (fixed)