Your Portal Version: 1.0.5
Your phpBB Type: Premodded phpBB
MODs installed: Yes
Your knowledge: Advanced Knowledge
What have you done before the problem was there?
What have you already tryed to solve the problem?
I can solve the problem by copying the include of the left column to the same place as the include of the right column in portal_body.html, but I have to edit out the definition of the left column all together and enable the left column in the ACP for the blocks within portal_left.html to show on the right.
(BTW: it says tryed to the left here, it should really say tried)
Description and Message
There must be a better way to remove all blocks from the left column and add them to the right than having to edit out the left column in portal_body.html and enable the left column in the ACP.
Or am I mistaken?
All blocks on the right
Forum rules
Before creating a new support thread, please take a look in the board3 Portal FAQ and use the search!
Many questions have already been answered.
Before creating a new support thread, please take a look in the board3 Portal FAQ and use the search!
Many questions have already been answered.
-
- Dev
- Posts: 2504
- Joined: 17. July 2008 21:08
- phpBB.de User: marc1706
- phpBB.com User: Marc
- Location: Clausthal-Zellerfeld / München
- Contact:
Re: All blocks on the right
If you want to move a block from the left column to the right column, you'll also have to move the block include in portal.php.
Re: All blocks on the right
Aha, now I see. I'll try that.Marc wrote:If you want to move a block from the left column to the right column, you'll also have to move the block include in portal.php.
Re: All blocks on the right
Hmm, now I ended up with all blocks from the left twice in the right column.jbygden wrote:Aha, now I see. I'll try that.Marc wrote:If you want to move a block from the left column to the right column, you'll also have to move the block include in portal.php.
Why are the left/right includes in 2 places? Wouldn't it be enough in either portal.php or portal_body.html?
-
- Dev
- Posts: 2504
- Joined: 17. July 2008 21:08
- phpBB.de User: marc1706
- phpBB.com User: Marc
- Location: Clausthal-Zellerfeld / München
- Contact:
Re: All blocks on the right
No. We need the PHP files to execute the necessary code. The HTML files just display the results of the PHP Code.
I don't get why you have the blocks of the left column twice in the right column. That would mean you included those files twice in portal_right.html.
I don't get why you have the blocks of the left column twice in the right column. That would mean you included those files twice in portal_right.html.
Re: All blocks on the right
I don't know either, but I probably made a typo or included once too many times or something. I started over with fresh, unedited, files and now it seems to work the way I want.Marc wrote:No. We need the PHP files to execute the necessary code. The HTML files just display the results of the PHP Code.
I don't get why you have the blocks of the left column twice in the right column. That would mean you included those files twice in portal_right.html.
Thanks for pointing out that I needed to edit portal.php as well.
BTW, did you see the comment in my original post about tryed vs tried? On the same note, it says that 1.0.4 is the current version as subtopic on both support forums.
Thanks for a great mod though.
-
- Dev
- Posts: 2504
- Joined: 17. July 2008 21:08
- phpBB.de User: marc1706
- phpBB.com User: Marc
- Location: Clausthal-Zellerfeld / München
- Contact:
Re: All blocks on the right
Oh, never noticed that. Thanks.