|
|
|
Cb Profile has a huge space...
|
|
Date: 2008/02/01 17:18
|
By: japanlinked
|
Status: User
|
|
|
Karma: 0  
|
|
Fresh Joomlapolitan  | Posts: 4 |   | |
|
My CB Profiles have a huge space between the left/middle/right and the main tabs. There is almost a full page of scrolling between them. I think most users won't even know there are tabs way down there. How can I resolve this?
Site can be seen here: http://www.japanlinked.com/j/
|
|
The administrator has disabled public write access. |
|
|
|
|
Re:Cb Profile has a huge space...
|
|
Date: 2008/02/25 23:51
|
By: RCheesley
|
Status:
|
|
|
Karma: 0  
|
|
Fresh Joomlapolitan  | Posts: 5 |   | |
|
There are a huge number of queries about this - simply telling people to get their coder to fix it isn't too helpful IMO.
I had a similar problem with this on the docman component which was resolved by removing a few clr div tags from three files - could this be similar in CB?
It would be useful, for example, to know if this is related to one template, or all templates.
I too am having the same problem and have read through at least 20 odd posts asking for advice on the subject. I'll let you know how I get on 
Ruth
|
|
The administrator has disabled public write access. |
|
|
|
|
Re:Cb Profile has a huge space...
|
|
Date: 2008/02/26 01:10
|
By: japanlinked
|
Status: User
|
|
|
Karma: 0  
|
|
Fresh Joomlapolitan  | Posts: 4 |   | |
|
I have found a solution to the problem this might not work on all templates but it works for bentobox.
Find this:
<?php mosMainbody(); ?>
in your template html file. Then put it in a table.
<table width=100%> <!-- This is my space hack --> <tr> <td> <?php mosMainbody(); ?> </td> </tr> </table>
Let me know if it worked for you. Good Luck Now on to problem 376 My CB users need to be manually snyc'd @@
|
|
The administrator has disabled public write access. |
|
|
|
Re:Cb Profile has a huge space...
|
|
Date: 2008/02/26 03:57
|
By: beat
|
Status: Admin
|
|
|
Karma: 231  
|
|
Admin  | Posts: 3630 |   | |
|
Yes, that can work. 
Another fix is to replace it instead of table with this:
| Code: | <div style="float:left;width:100%;margin:0px;padding:0px;">
<?php mosMainbody(); ?>
</div>
|
Attention to template designers:
Please keep in mind that components can do "clear:both;" divs, and that if your template floats, you should have something like the above (also a floating div surrounding the component/content area.
The effect of that is that clear divs inside components will not clear down to your left column (as they clear all HTML code above them in source up to a different flow, such as table or floating div.
Hope that helps your template designer to fix their template.
We implemented a workaround in upcoming CB 1.2 as well. But other table-less components will still break with such templates. So you still need to fix your template if it does the above. Beat - Developer on Community Builder core Team - If you like CB and this forum, you will love Nick's CB 1.1 reference manual ! : Click here to Get it now  - Would like to help us move faster ? Get it, and/or help us spend more time coding by helping others in this forum, many thanks
|
|
The administrator has disabled public write access. |
|
|
|
|
Re:Cb Profile has a huge space...
|
|
Date: 2008/03/07 11:28
|
By: motiejuz
|
Status: User
|
|
|
Karma: 0  
|
|
Fresh Joomlapolitan  | Posts: 1 |   | |
|
hi,
i am pretty new in this and having same problem.
in what file should i change the line ?
|
|
The administrator has disabled public write access. |
|
|