I've created a new module called "blockdescription", which you can find on http://www.listmania.nl/drupal-module-blockdescription
There you can also see the screenshots for it.
There you can also see the screenshots for it.
What it does in short is add a textarea to the blocks detail page and displays them on the block overview page.
Ofcourse, this is not a lifechanger module, but it has helped our company with a project with lots of blocks.
I would like to have an CVS account so I can share it with the Drupal community.
| Comment | File | Size | Author |
|---|---|---|---|
| #10 | blockdescription.zip | 2.17 KB | nvanhove |
| #9 | blockdescription.zip | 2.23 KB | nvanhove |
| #8 | blockdescription.zip | 2.23 KB | nvanhove |
| #4 | blockdescription.zip | 2.03 KB | nvanhove |
| #1 | blockdescription.zip | 2 KB | nvanhove |
Comments
Comment #1
nvanhove commentedComment #2
dawehner/**
* Implemenation of hook_foo().
*/
to each hook you implement.
Comment #3
avpadernoSee the Drupal coding standards to understand how a module code should be written.
Comment #4
nvanhove commentedI've adjusted the points given by dereine and used the Coder module to fix some minor coding standard issues.
Comment #5
nvanhove commentedComment #6
ajk commentedShould be
(and elsewhere) otherwise Postgres database users won't use your module
Comment #7
ajk commentedt() ?
Why are you embedding html where themers can't get at it?
element_child()?
Lastly, I'm pretty sure blocks are keyed by module/theme/delta where as you only use module/delta. Did you intend for your descriptions to cover all themes?
Comment #8
nvanhove commentedGood points.
I've adjusted all items and adjusted the module to be keyed by theme/module/delta.
Comment #9
nvanhove commentedWhoops, I uploaded the wrong file..
Comment #10
nvanhove commentedI've removed the module keying theme/module/delta from #7. It appears that blocks are not entirely keyed that way. For example, the title is also reused in all themes.
Please review my module :)
Comment #11
avpadernoComment #14
avpaderno