Adding a Second Portal

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
Maverick
Active Member
Posts: 15
Joined: 12. August 2008 13:49

Adding a Second Portal

Post by Maverick »

Your Portal Version: 1.0.0RC3
Your phpBB Type: Standard phpBB3
MODs installed: No
Your knowledge: Basic Knowledge
Boardlink: http://www.pitlanefanatic.com

What have you done before the problem was there?
-

What have you already tryed to solve the problem?
-

Description and Message
I want to add a second portal (I liked the first one so much ;) ) to separate off an area of my board and I was wondering a) if that is possible and b)if it is, could I have some guidance on what would need to be changed to install it in order to avoid it clashing with the existing portal?

Thanks in advance
Maverick
http://www.vivaf1.com - motorsport portal

MichielM
Active Member
Posts: 8
Joined: 14. September 2008 01:17

Re: Adding a Second Portal

Post by MichielM »

You mean just a second portal page?

Topic author
Maverick
Active Member
Posts: 15
Joined: 12. August 2008 13:49

Re: Adding a Second Portal

Post by Maverick »

Yes.
http://www.vivaf1.com - motorsport portal
User avatar

Pete
Active Member
Posts: 17
Joined: 26. August 2008 07:54

Re: Adding a Second Portal

Post by Pete »

Easy. copy portal.php - rename to whatever.php and open and make sure to change the template file.

open whatever.php FIND
$template->set_filenames(array(
'body' => '/portal/portal_body.html'

change to
$template->set_filenames(array(
'body' => '/portal/whatever_body.html'


make a copy of portal_body.html rename it to whatever_body.html. this is in the templates area
( prosilver/template/portal/whatever_body.html )

------
So far i've made 2 pages and all is woring okay. I haven't had to edit in anything else. you may need to add the links in the header or menus, obviously.

Topic author
Maverick
Active Member
Posts: 15
Joined: 12. August 2008 13:49

Re: Adding a Second Portal

Post by Maverick »

Big thanks... seems pretty straightforward. :D
http://www.vivaf1.com - motorsport portal

Topic author
Maverick
Active Member
Posts: 15
Joined: 12. August 2008 13:49

Re: Adding a Second Portal

Post by Maverick »

Thanks again, if this is of use to anyone else they may want to change the page title which is also contained in whatever.php

open whatever.php FIND
page_header($user->lang['PORTAL']);

change to
page_header("whatever");
http://www.vivaf1.com - motorsport portal
User avatar

Pete
Active Member
Posts: 17
Joined: 26. August 2008 07:54

Re: Adding a Second Portal

Post by Pete »

ha, I was just noticing that today. thanks and no prob! :lol:

MichielM
Active Member
Posts: 8
Joined: 14. September 2008 01:17

Re: Adding a Second Portal

Post by MichielM »

Been too busy to check here Mav; my apologies, but yes the answer is pretty straightforward.

Pete: thx 4 giving the answer.

Cheers, Mitch
Locked

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