Editing Layout Breaks Page
loconut - October 20, 2009 - 20:11
| Project: | Advanced Profile Kit |
| Version: | 6.x-1.0-beta2 |
| Component: | Views |
| Category: | support request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed |
Jump to:
Description
http://mysite.foo/admin/build/pages/edit/user_view
When I try to add in a relationship actions block into the user profile template, it breaks the page and makes everything a single column when I view the profile.

#1
There isn't enough information here for me to be able to help. APK doesn't do anything with layout, so it sounds like maybe a conflict between Panels and your theme but that's the best guess I have based on this limited information. If you provide a link to the profile, I might be able to see something in Firebug.
Michelle
#2
I reverted my edits to the profile view so it wouldn't be broken on the site, but it seems changing anything in the view and hitting save causes the view to render incorrectly. I'm using Ad_Novus Fluid as a theme.
If you'd like full admin access to my site, I'd trust you with it but would want to send a temporary password over email for you.
#3
This isn't something I need admin access for, I just want to hit it with firebug. CSS layout is a serious weak area for me, but I might be able to see something. You should be using a dev site for this, so is there a problem with leaving it broken for a short while? Also, try switching the theme to Garland and see if the problem still exists. My bet is it has something to do with your theme but it's hard to tell without seeing it.
Michelle
#4
First off, your contribution to the Drupal community is amazing with the three modules you've made--it has definitely made the difference in the site I'm working on and I hugely appreciate it.
I'm having a similar problem to loconut, although it seems it is with certain profiles (including mine). I'm a bit of a noob, but it seems if someone edits their profile and adds info, it messes up the formatting somehow. It all looks fine in Chrome, but Firefox shows a little bit of misformatting, and IE 7 and 8 really get confused.
I used FIrebug and it looks like it somehow makes the footer take over the entire content region of the page, although I can't tell how from the code. It looks like everything is still in its proper div. I'm using gniffetti, a subtheme of marinelli, but I switched to Garland and it also messed up that theme. I had some blocks on the right and the profiles in question pushed all the right blocks down. For one profile the right block went to the very bottom of the page, and for another it moved it into the bottom of the content section.
Two profiles that "break" in two different ways:
http://streetsmartbrazil.com/users/carl-spanoghe
http://streetsmartbrazil.com/users/luciana-lage
One profile that hasn't been edited yet (at the time of writing this) and the page remains intact
http://streetsmartbrazil.com/users/jerry-m
I also notice the formatting gets a bit sketch in IE in some forums (the left sidebar and the content get squished together), so maybe this is to do with the common denominator, author pane? Example:
http://streetsmartbrazil.com/forum/20091105/sf-tropicalia-exhibit-what-w...
If you want admin privileges to my site to set your profile to see the site in Garland, just say the word.
Thanks,
#5
I don't see anything wrong with the layout on any of those links. Did you fix it already? I'm traveling so only checking the internet sporadically.
Michelle
#6
Hmm, looks like I had fixed it a bit. It was still broken in IE (note the Primary Links formatting on those pages and the sidebar and content get glued together). I re-broke it by adding back the "Replies" pane in the profile page. Now you'll see the formatting is broken differently in the two pages particularly in IE, but also in Firefox to some extent (hopefully that helps with Firebug):
http://streetsmartbrazil.com/users/carl-spanoghe - the background image of block at the bottom of the content ("if you want to speak portuguese . . .") is now behind the top of the content and the adsense and copyright blocks from the footer are now inside the main page area instead of underneath (compare with home page). This also happens in firefox though the primary links still look good in that browser
http://streetsmartbrazil.com/users/luciana-lage - in IE border/background that that should cover the whole main page area now just goes around the header. The footer information partially displays and is off to the right.
I'll leave that pane in so you can see when you get a chance--have a good trip :)
Thanks,
Carl
EDIT: going to admin/settings/performance and enabling CSS optimization fixed the issue with the primary links and the right sidebar touching the content issue. That's definitely a step to try if your CSS gets messed up in IE since IE can only handle 30 stylesheets max, and most modules add a sylesheet. The issues with the footer and content-bottom zones in profiles still remains though
#7
I have no idea how, but I checked when I wrote the last post and the formatting was messed up as described. I went back today and it seems it is all somehow magically fixed. Maybe there was something in the cache, as I am using caching in the admin/settings/performance? I guess we'll never know :) Thanks Michelle for taking a look, and thanks again for the great modules!
#8
Huh, weird. Well, glad it's working for you. You got it fixed before I had a chance to get back to this issue.
Michelle
#9
Automatically closed -- issue fixed for 2 weeks with no activity.