Posted by Rob Loach on June 11, 2009 at 6:47pm
| Project: | Node clone |
| Version: | 7.x-1.x-dev |
| Component: | User interface |
| Category: | feature request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | needs review |
Issue Summary
Add a block that holds the cloned node form. This is what will be used on http://drupalbin.com for having the "Fix for ___" form below the actual node. See the attached patch and screenshot.
Thanks. Great module.
| Attachment | Size |
|---|---|
| clone_block.patch | 2.45 KB |
| Node Clone Form Screenshot | 80.48 KB |
Comments
#1
It would seem this block only makes sens to exist if one is using the pre-populate mode.
Also, seems like this is never going to be a block you want somewhere other than immediately above or below the node?
E.g. one could use hook_nodeapi($op='alter') or $op=view to place the form at the bottom of the body?
#2
You want it to be a block because you want the ability to stick it into any region you want. I've had a two-column page layout before, had the content in the left-hand column, and then the form on the right-hand column.
Leveraging the block system gives the user the ability to define where they want it to appear. Whether that is below the content, or in an entirely separate region is up to them.