After enabling the module it automatically check "Create a block for this node". If you uncheck the box and then save it won't create the block but it strips the node of its CSS formatting so you have to create a #block-node-xx CSS section with the same formatting as the .node-xx . Also if you check the "Create a block for this node" then save, and then go back and uncheck it still strip the CSS. I got around that by creating a new CSS section for each node.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | nodeblock.pdf | 541.86 KB | dudeonthebayou |
Comments
Comment #1
Johnny vd Laar commentedI don't really understand what you mean. Can you explain if you are having this problem while displaying the node as a block or when displaying the node as a page. Can you also provide the HTML that you are having a problem with?
Comment #2
dudeonthebayou commentedMy problem is not how the block is displayed but how the node that doesn't have nodeblock enabled is displayed after its saved.
I have attached a pdf file with my example.
It appears that even if the nodeblock is not enabled on the node it still converts it to a div insted of keeping it as a article.
Comment #3
Johnny vd Laar commentedI see that your node template uses an article tag. This is not from the default node.tpl.php. Can you explain to me how you got this there? Does this come from another module or from your theme? And how is the file named?
Comment #4
dudeonthebayou commentedI am using the ZEN theme. I am not sure where the Article tag is coming from because I don't use the Article content group. I have two defined content groups that I use.
this is my template.
Comment #5
Johnny vd Laar commentedOk i've found the bug. The preprocess function always runs even when the node isn't shown as a nodeblock.
I've fixed the bug here:
http://drupalcode.org/project/nodeblock.git/commitdiff/20fdf7a6b8c099599...
Dev version should be available in a few hours. Let me know if this solves your problem.
Comment #6
dudeonthebayou commentedYes now it works right. Thank you so much.