Closed (fixed)
Project:
Views (for Drupal 7)
Version:
6.x-2.0-rc1
Component:
block displays
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
9 Sep 2008 at 01:43 UTC
Updated:
24 Sep 2008 at 22:25 UTC
It seems the Header and Footer HTML are being added BEFORE the results... and not with the results inside these two elements.
I have had a look around, but don't know where I should go.
Example:
With the help of a million photos, our grey matter will remember this tour for a long time. After many travels – home (“Aus”) is still best
Neville & Jean Newman
Thanks as always.
Jonny
Comments
Comment #1
fighella commentedLets try that again:
Comment #2
merlinofchaos commentedThe header and footer are being placed by views-view.tpl.php. For your reference, I'll duplicate the code here:
You'll see that $hader and $footer are placed far away from each other.
In your code, I note that the footer does not appear to be surrounded by the view-footer markup, while the header is. This suggests to me that there is something incorrectly configured in your view.
Comment #3
fighella commentedThanks merlin,
I looked into this. It seems the template is fine... but this means when I am putting the "footerHTML" content into the field... it is placing it in the "
<?php print $header; ?>"I have tried to reinstall the module... I will keep going.
Comment #4
merlinofchaos commentedI have never seen the footer end up in $header. Can you please paste an export of the view (and put it between php tags)?
Comment #5
fighella commentedhi merlin,
I have no idea how it happened. but it definately happened..
anyhow since I re-installed the views module, it kept same values all in the "$header" but I went back in and resaved the headerthml and footerhtml and it seemed to do the trick...
I have no idea how it ended up like that... if it happens again I will re-open.
But it seemed after re-installing it, it went away. It could have just been a coincidence... but I definately did see an issue.
I think I can close this. Not sure if it was a bug or just me?! (probably just me)
Thanks for the help as always.
Comment #6
merlinofchaos commentedVery strange. Marking fixed since you have it working.
Comment #7
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.