The layout of content under the Author profile in an article node is messed up

Events happening in the community are now at Drupal community events on www.drupal.org.
pkcho's picture

I've come across an issue with my layout being broken for anonymous users. I have included a few screenshots, hopefully this might help someone see what's wrong.

The Problem
For anonymous users the layout of the content beneath the Author's Profile (related links, related You Tube videos) and the content in the right-sidebar (Ad blocks, recommended content, etc...) is all messed up (see screenshot 2).

When the user logs in, the layout problems go away (see screenshot 1). The related links, the related You Tube videos and the right-sidebar blocks all go to where they belong.

The frustrating thing is that this issue does not happen with every article. There are articles that layout correctly, even when the user is logged out (see screenshot 4). I'm trying to find the distinguishing factor that seems to cause the layout to break, but I can't seem to figure it out.

When I check the CSS with Firebug when I'm logged out, the problematic article page shows me that the "related-terms", "related-links" end up outside of the Center div (see screenshot 3). But, this is not the case when I'm logged in.

Anyone have a clue what's going on?

Thank you.

AttachmentSize
Screen shot 1.png144.6 KB
Screen shot 2.png108.06 KB
Screen shot 3.png190.8 KB
Screen shot 4.png206.57 KB

Comments

I don't see any screenshot.

stattler's picture

I don't see any screenshot. Can you attach them, please. Thanks.

They must've got lost when I previewed the post...

pkcho's picture

Thanks for the heads up.

I figured it out.

pkcho's picture

Turns out that Paging is messing up the layout for the anonymous user.

After going back and taking a careful look, the common denominator were pages with a pager at the bottom. When I turned off paging, it worked. When I tweaked it and turned off Ajax, it still worked, so i left it at that.

I also saw this issue come up in the issue queue for the paging module.

Hope this helps someone.

I appreciate this

stattler's picture

I appreciate this follow-up.

What theme are you using? Just curious :)

I've modified the OP theme

pkcho's picture

When I have time, I will need to go back and properly make it a sub-theme, but in the meantime, I'm just trying to get all the bugs worked out.

I'm almost done with this project, so hopefully, I'll be able to post a link to let all of you see it.

It's definitely been a learning process. : )

OpenPublish

Group organizers

Group categories

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds: