Client center

Permalink
I am putting together a small client center for support tickets, info, billing etc, and put it together by using advanced permissions to show different content to different users all on the same page. The problem is that the content boxes hidden to a user create divs that take space, and if the users content is below other hidden content that div space is pushing their content down.

I attached pictures as I cant seem to find words to explain this right.

My first question would be is their a way to counter this so the empty space isn't shown, and my second question would be if anyone has any advice for setting this up with multiple user pages instead, and if there are any tips floating around on having the user pages setup from within the profile page.

2 Attachments

Ekko
 
jordanlev replied on at Permalink Reply
jordanlev
Is this the built-in "profile" system page? Have you customized the HTML of it at all or just the CSS?

If you could post the snippet of HTML/PHP that surrounds that area on the page (or point to line numbers if you have not modified the built-in profile page at all -- and also say what version of c5 you're using), someone might be able to offer some code to address it.
Ekko replied on at Permalink Reply
Ekko
It is the built in profile, and about 2 minutes after I posted this I figured out what was causing it to "add" space. I was using multiple layouts to customize the content for certain users specific to needs, and those layouts are of course adding the divs, and the space. I should have caught this before posting but its been a week since I worked on the site, and forgot I had tried for areas customized to users.

If there is a way to add these multiple layouts, and hide the divs it makes to other users so I could be more specific to user, that would be ideal to make the user experience more streamlined, however I can make do with out it, as it probably amounts to more work than its worth. I realize I could make a page type with all of these areas, but that may not be flexible enough as clients needs change in the long term.