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
Adding a Second Portal
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.
Adding a Second Portal
http://www.vivaf1.com - motorsport portal
Re: Adding a Second Portal
You mean just a second portal page?
Re: Adding a Second Portal
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.
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.
Re: Adding a Second Portal
Big thanks... seems pretty straightforward.
http://www.vivaf1.com - motorsport portal
Re: Adding a Second Portal
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");
open whatever.php FIND
page_header($user->lang['PORTAL']);
change to
page_header("whatever");
http://www.vivaf1.com - motorsport portal
Re: Adding a Second Portal
ha, I was just noticing that today. thanks and no prob!
Re: Adding a Second Portal
Been too busy to check here Mav; my apologies, but yes the answer is pretty straightforward.
Pete: thx 4 giving the answer.
Cheers, Mitch
Pete: thx 4 giving the answer.
Cheers, Mitch