All blocks on the right

Current Version: 1.0.6
Released: 09.01.10
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.
Locked

Topic author
jbygden
Active Member
Posts: 4
Joined: 14. November 2009 14:13
phpBB.com User: jbygden

All blocks on the right

Post by jbygden »

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?
User avatar

Marc
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

Post by Marc »

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.

Topic author
jbygden
Active Member
Posts: 4
Joined: 14. November 2009 14:13
phpBB.com User: jbygden

Re: All blocks on the right

Post by jbygden »

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.
Aha, now I see. I'll try that.

Topic author
jbygden
Active Member
Posts: 4
Joined: 14. November 2009 14:13
phpBB.com User: jbygden

Re: All blocks on the right

Post by jbygden »

jbygden wrote:
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.
Aha, now I see. I'll try that.
Hmm, now I ended up with all blocks from the left twice in the right column.

Why are the left/right includes in 2 places? Wouldn't it be enough in either portal.php or portal_body.html?
User avatar

Marc
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

Post by Marc »

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.

Topic author
jbygden
Active Member
Posts: 4
Joined: 14. November 2009 14:13
phpBB.com User: jbygden

Re: All blocks on the right

Post by jbygden »

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.
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.

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.
User avatar

Marc
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

Post by Marc »

Oh, never noticed that. Thanks.
Locked

Return to “board3 Portal 1.0.x - English Support”