Closed (duplicate)
Project:
Location
Version:
6.x-3.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
15 Apr 2010 at 12:32 UTC
Updated:
15 Apr 2010 at 14:59 UTC
Hi,
it was hard to track the issue I was pointing out here, but now I think it's caused by node location module.
It adds a close DIV before what is stored in $content variable in node rendering, and this breaks the page layout.
If I disable the node location module, that div disappears.
To reproduce:
</div>just before what is contained in $content variable in $node
<div class="content">
<?php print $content; ?>
</div>
What you get in the rendered HTML is a redundant closed div before the content, like:
<div class="content">
</div>
Lorem ipsum dolor....
</div>
If you uncheck the 2 check-boxes at point 3, the DIV disappears
--
GP
Comments
Comment #1
yesct commentedis this related to #769094: locations.tpl.php bug
?
Comment #2
gp.mazzola commentedYes, I think it is related.
In fact that closing DIV in the locations.tpl.php template is outside the if statement.
Thank you
--
GP
Comment #3
eporama commentedThis is a duplicate of #769094: locations.tpl.php bug which is patched and RTBC
The two checkboxes that toggle whether or not the locations show at all in teaser and full view would remove the problem since you're not showing locations when they're unchecked. It also causes nesting problems when you do have multiple locations.