Closed (fixed)
Project:
Nodeblock
Version:
7.x-1.x-dev
Component:
User interface
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
20 May 2013 at 21:26 UTC
Updated:
7 Jun 2013 at 13:30 UTC
Jump to comment: Most recent file
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.