Your Portal Version: 1.0.4
Your phpBB Type: Standard phpBB3
MODs installed: Yes
Your knowledge: Basic Knowledge
Boardlink: http://localhost
What have you done before the problem was there?
What have you already tryed to solve the problem?
changed <!-- DEFINE $S_POSTBODY_TOP = 1 --> to <!-- DEFINE $S_POSTBODY_TOP = 0 --> in _block_config.HML
Description and Message
i have problem with center blocks. there is no distance between center blocks and right/left blocks. i took a picture :
http://www.good-life.ir/Capture.JPG
problem with center blocks
Re: problem with center blocks
i just found out that it is a language direction problem!
in ltr direction it works fine but in rtl i have this problem!
so what i have to do to fix it?
in ltr direction it works fine but in rtl i have this problem!
so what i have to do to fix it?
-
- Dev
- Posts: 2504
- Joined: 17. July 2008 21:08
- phpBB.de User: marc1706
- phpBB.com User: Marc
- Location: Clausthal-Zellerfeld / München
- Contact:
Re: problem with center blocks
Well, it is kind of hard to help you without being able to take a look at the board.
If you have Firefox installed, I'd recommend you the add-on Firebug. With that you can take a look at your site and maybe you can find out what is causing this.
Oh, and it would also be helpful to know what phpBB Version you are using. As far as I know, the phpBB Team fixed something with rtl in phpBB 3.0.6.
If you have Firefox installed, I'd recommend you the add-on Firebug. With that you can take a look at your site and maybe you can find out what is causing this.
Oh, and it would also be helpful to know what phpBB Version you are using. As far as I know, the phpBB Team fixed something with rtl in phpBB 3.0.6.
Re: problem with center blocks
this may help : http://good-life.ir/portal.php?style=19
the phpbb version in good-life.ir is 3.0.5 and in localhost is 3.0.6 but i still have the same problem in both versions
the phpbb version in good-life.ir is 3.0.5 and in localhost is 3.0.6 but i still have the same problem in both versions
Re: problem with center blocks
OK.. it is a Problem with portal_body.html
you can try this:
find:
in this line find:
change it to
this is for the left side. the right side has "padding-left" but need to be "padding-right"
It will only work with rtl...
you can try this:
find:
Code: Select all
<td width="<!-- IF $S_COLUMNS_WIDTH_OVERRIDE -->{$PORTAL_LEFT_COLUMN_OVERRIDE}<!-- ELSE -->{PORTAL_LEFT_COLUMN}<!-- ENDIF -->px" valign="top" style="padding-right:{$BLOCK_DISTANCE};">
Code: Select all
style="padding-right:
Code: Select all
style="padding-left:
It will only work with rtl...
kein Support per PN / Messenger
no Support via PM / Messenger
no Support via PM / Messenger
-
- Dev
- Posts: 2504
- Joined: 17. July 2008 21:08
- phpBB.de User: marc1706
- phpBB.com User: Marc
- Location: Clausthal-Zellerfeld / München
- Contact:
Re: problem with center blocks
This is what you need to do with the right column (which is the left column in rtl):
Inline find:
Replace it with:
Code: Select all
<td valign="top" style="width: <!-- IF $S_COLUMNS_WIDTH_OVERRIDE -->{$PORTAL_RIGHT_COLUMN_OVERRIDE}<!-- ELSE -->{PORTAL_RIGHT_COLUMN}<!-- ENDIF -->px; padding-left:{$BLOCK_DISTANCE};">
Code: Select all
padding-left
Code: Select all
padding-right
Re: problem with center blocks
problem solved
tank you
tank you