Closed (outdated)
Project:
Drupal core
Version:
7.x-dev
Component:
Bartik theme
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
11 Jul 2010 at 04:56 UTC
Updated:
25 Aug 2012 at 09:14 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
bleen commentedComment #2
Jeff Burnz commented#1: bartik-process-node.patch queued for re-testing.
Comment #3
aspilicious commentedis bartik_process_node a PREprocess function?
Comment #4
Jeff Burnz commentedno, its a process function, it runs after the preprocess phase.
Comment #5
aspilicious commented"Such adjustments should really be done in a preprocess function,"
So this needs work as it has to be done in a preprocess function..
Correct?
Comment #6
Jeff Burnz commentednot necessarily.
Comment #7
Jeff Burnz commentedThe code in this is wrong:
Should be...
I'm not sure why we need to set a new variable here, I have rerolled this to fix the issues.
Comment #8
Jeff Burnz commentedWeird, my patch didnt get attached, lets try that again...
Comment #9
bleen commentedComment #10
bleen commentedstatus
Comment #11
sunThanks for taking the time to report this issue.
However, marking as duplicate of #754760: "Add new comment" appears directly above comment form / "post comments" does not work without "access comments" permission. You can follow up on that issue to track its status instead. If any information from this issue is missing in the other issue, please make sure you provide it over there.
Comment #14
jensimmons commentedLoL, sun — YOU are the one who reported this issue, and didn't realize it's a dup. :P
Comment #15
sunYes. And Bartik should not contain any logic like this at all. (as copypasted in the OP of this issue from the original issue)
Therefore, Comment module needs to be fixed instead, and the existing code in Bartik needs to be removed.
Thus, duplicate of aforementioned issue.
Comment #17
sunRe-opening, since we forgot to fix this in #754760: "Add new comment" appears directly above comment form / "post comments" does not work without "access comments" permission
Comment #18
EvanDonovan commentedLooks like a nice simplification. Will try to apply to a 7.x install soon, unless someone beats me to it :)
Comment #19
sunActually, I think we need to keep these old/current lines, since the renderable array contains additional #properties...
Powered by Dreditor.
Comment #20
geerlingguy commentedCan we update the title and re-summarize the issue? It seems the patch doesn't do what the title says, and the progression of this issue is a little confusing to me.
Comment #23
Jeff Burnz commentedWhat sun is saying is that its fixed in the other patch, but they forgot to remove the cruft from Bartik as part of that patch, and that we need to keep the conditional the way it was because $links can contain additional properties, so needs to be like this (sorry I can't roll a patch right at the moment and am breezing through all bartiks issues):
Add a condition for teaser if we still want to do that (hide it on teasers), personally I don't like arbitrarily hiding this on teasers, not in our default theme at least.