I've started work on the port to D7.
I'll switch the head version in CVS to be the work-in-progress on the D7 port.
| Comment | File | Size | Author |
|---|---|---|---|
| #9 | nodeblock-688858-2.patch | 12.21 KB | tom_o_t |
| #6 | nodeblock-688858.patch | 12.1 KB | tom_o_t |
| #1 | nodeblock.d7.tgz | 3.28 KB | tekante |
Comments
Comment #1
tekante commentedThe head revision doesn't appear to contain any D7 work. Attached is a port that is working for me using D7 beta 1. No translation related functionality has been tested so I have no idea if that functionality has been maintained but it should allow the basics of defining a type as providing a block, listing it on the block admin page and returning the block content rendered with an updated default template.
Comment #2
tom_o_t commentedThanks @tekante - I ran out of time before making any real work.
I or one of the other maintainers will try to take a look at this as soon as possible.
Comment #3
JimmyAx commentedsubscribe
Comment #4
pcambrasuscribe
Comment #5
tom_o_t commentedI'm going to take a look at this patch and any work needed for the port today at the #D7CX sprint in NYC. @JimmyAx or @pcambra or anyone else - did you get a chance to test the patch? I'll be in #drupal-contribute in IRC between now and 1pm Eastern time.
Comment #6
tom_o_t commentedHere's @tekante's port as a patch.
From a quick initial test, nothing breaks when enabling the module, I'll dig in further now.
Comment #7
tom_o_t commentedGetting the following error after enabling this module, setting up one new content type, but not having any content types available as blocks, and creating a new 'article' node.
Comment #8
tom_o_t commentedFixed #7.
Now getting some taxonomy errors when displaying a node as a block with some tags. I have half an hour left, so I may just do an alpha release for others to build on.
Comment #9
tom_o_t commentedUpdated patch with minor tweak for #7.
This patch has issues with displaying content in a "normal" (non-block) display, e.g. listed on the homepage, the logic that determines when the title is being displayed is wrong. I've not tracked down the taxonomy issue yet either. I'll go ahead and make an alpha release for 7 anyway.
Comment #10
tom_o_t commentedAlpha release has been done, should show up in a few minutes.
I've not tested any of the translation stuff yet, if someone could do that and report back that would be a huge help.
Comment #11
irakli commented@tom_o_t,
by "alpha release" did you mean dev release? The only release on the project page is the dev release, for D7.
Thanks
Comment #12
tom_o_t commented@irakli - yes, I ended up doing just a dev release.
Comment #13
irakli commentedCool. Thanks, works well so far.
Comment #14
skilip commentednode_view() in D7 has been changed. The following line in nodeblock_block_view() :
Should be changed into:
Comment #15
michaellander commented